Moonchild
8101720ca8
Issue #1970 - Part 4: Don't overflow -moz-focus-inner border.
2022-08-04 14:24:41 +08:00
Moonchild
4712b75d5c
Issue #1970 - Part 3: Update reftests.
2022-08-04 14:24:28 +08:00
Moonchild
e54e8f61bb
Issue #1970 - Part 2: Remove the extra padding on buttons
...
Extra padding was created for a prospective -moz-focus-inner ring.
We now just size that ring the same as the content frame, inflated by its CSS
padding.
2022-08-04 14:24:10 +08:00
Moonchild
8de47d99c4
Issue #1970 - Part 1: Remove unused moz-focus-outer code for buttons.
2022-08-04 14:23:41 +08:00
Jeremy Andrews
e3aa3c2963
Issue #1312 - Fix potential crashes in MailNews.
...
These are straightforward, one-line changes with no obvious dependencies. Probably could have been taken a long time ago.
Ref: BZ 1638634, 1606091
2022-07-30 08:43:45 +08:00
Moonchild
10fdf0e1c5
[NSS] Fix uninitialized value in cert_ComputeCertType.
2022-07-30 08:43:45 +08:00
Moonchild
a77cf423c2
[NSS] Avoid potential data race on primary password change.
2022-07-30 08:43:44 +08:00
Moonchild
b9084ea29d
[NSS] protect SFTKSlot needLogin with slotLock.
2022-07-30 08:43:44 +08:00
Moonchild
bf58945866
[DOM] Add extra check for performance API Next Hop protocol
2022-07-30 08:43:44 +08:00
roytam1
5212cbebd3
bump version for ICU update
2022-07-30 08:43:44 +08:00
Job Bautista
faa778ec9d
Issue #1975 - Implement Origin header CSRF mitigation.
...
Backported from Mozilla bug 446344.
2022-07-30 08:43:44 +08:00
Job Bautista
3e6cbc6af3
Issue #1969 - Implement Intl.RelativeTimeFormat.
...
Based on Mozilla bugs 1270140, 1504656, 1483545, and 1504334.
Took note of Mozilla bug 1379222 which changed GetPrototypeFromCallableConstructor
to GetPrototypeFromBuiltinConstructor.
There are many other changes I did myself since the initial implementation by
Mozilla wouldn't work with this codebase.
2022-07-30 08:43:43 +08:00
Job Bautista
c090dd7ce8
Issue #1971 - Part 5: Update Spidermonkey for Unicode 11.
...
I forgot to do this while working on issue #326 .
2022-07-30 08:43:43 +08:00
Job Bautista
196f95dbff
Issue #1971 - Part 4: Generated files for Unicode 11.0.
2022-07-30 08:43:43 +08:00
Job Bautista
9a4a62c8cc
Issue #1971 - Part 3: Update unicharutil perl scripts for Unicode 11 upgrade.
...
ICU 62 (and therefore 63) requires at least Unicode 11.
2022-07-30 08:43:42 +08:00
Job Bautista
1e69214382
Issue #1971 - Part 2: Update ICU source to 63.2.
2022-07-30 08:43:41 +08:00
Job Bautista
8df84683be
Issue #1971 - Part 1: Update build system for ICU 63.2 upgrade.
2022-07-30 08:43:38 +08:00
Jeremy Andrews
dca7d2ff62
Issue #1962 - Follow-up: Fix 32-bit build and remove unused clang-cl codepath.
2022-07-30 08:43:38 +08:00
Job Bautista
2a1f9e3ef3
Issue #1962 - Follow-up: Fix build issues on Windows.
...
Do not pass -Wno-type-limits to MSVC.
Restore MSVC check for x86_vc
2022-07-30 08:43:38 +08:00
Job Bautista
be2516a091
Issue #1962 - Update libtheora.
...
Removed some obsolete patches that were either backports from newer
svn revisions, or a fix for older, non-applicable assemblers.
Update our own README to account for upstream's migration to git.
I didn't remove the bug 703135 patch as it's for MSVC it seems, and
we still use MSVC for Windows.
Also deleted some unneeded upstream code deleted by Mozilla as well.
2022-07-30 08:43:38 +08:00
Job Bautista
1694b1b762
Issue #1967 - Remove moz://a from mochitest
...
While we don't use mochitest AFAIK, we still want a clean removal.
2022-07-30 08:43:37 +08:00
Job Bautista
584cfbd809
Issue #1967 - Remove mozprotocol handler (moz://a easter egg).
2022-07-30 08:43:37 +08:00
Job Bautista
34d0e86b61
Issue #1964 - Update libtremor.
...
Also removed mozilla patches that are already applied upstream.
2022-07-26 22:28:32 +08:00
Moonchild
065e8bc77b
Issue #1805 - Follow-up: Include the same headers for Solaris as well to future-proof gcc versions.
2022-07-26 22:27:50 +08:00
Moonchild
3571cc8de0
Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max.
2022-07-26 22:27:12 +08:00
Moonchild
5ed7e7d56d
Issue #1805 - Improve stack size limits for all targets.
...
This allows us to use a greater rendering depth for exceedingly-deep DOM trees
in layout, better matching what mainstream browsers are capable of. Note that
for 32-bit Windows the stack size MUST be set to larger than the default or Bad
Things Will Happen™ - we use 1.5 MB for this as a carefully-tuned value.
This needs to be capped specifically for JS use because some JavaScript
obfuscators deliberately trigger stack overflows and would lock up the browser
otherwise as long as there's still stack space to abuse. For web compatibility
we therefore limit this to 2MB in JS only (3x for ASAN) while still allowing
a greater depth for the layout engine.
2022-07-26 22:26:38 +08:00
Jeremy Andrews
d50a7a5394
Issue #1956 - Fix symbol visibility issue more elegantly.
...
All it needed was __declspec(dllexport) on the function I was copy/pasting all over the place...
2022-07-15 08:53:16 +08:00
Jeremy Andrews
b6fc7e7ae6
Issue #1956 - Fix AV1 on MSVC2022 32-bit build.
2022-07-15 08:51:23 +08:00
Moonchild
8831656c85
Issue #1959 - Don't apply CSPs to explicit data documents and images.
...
This resolves #1959
2022-07-15 08:50:41 +08:00
athenian200
1022f11503
No Issue - Insert missing typedef for SunOS.
...
We definitely have uint64_t on SunOS. Someone probably just forgot to finish filling out the list...
2022-07-15 08:50:15 +08:00
Moonchild
37d0ffa172
[XPCOM] Crash safely when TArray replacements are OOB.
...
In the unlikely event of TArray element replacement calls are OOB, crash safely
with a debug breakpoint instead of corrupting memory.
2022-07-05 17:25:29 +08:00
Moonchild
c0429c9a0f
[DOM] use the sanitizer to restrict href in svg:use to fragment-only URLs
2022-07-05 17:25:00 +08:00
Moonchild
991e2ffb4b
[network] Clear PAC loader when the load failed
2022-07-05 17:24:31 +08:00
Moonchild
2706ef696d
Update NSS
2022-07-05 17:21:07 +08:00
Moonchild
6066cc36cd
[DOM media] Remove potentially unsafe type accesses when debug logging
2022-07-05 17:20:51 +08:00
Moonchild
7c429f525e
[network] Clean up and update the list of external protocol handlers.
2022-07-05 17:20:22 +08:00
Martok
887e6d0ab3
Issue #1952 - m-c 1440468: Proxied functions can't be passed to Function.prototype.toString.call()
2022-07-03 06:55:36 +08:00
Martok
85af7f6e80
Issue #1952 - m-c 1383775: Clean up function toString/toSource code, remove remnants of source decompiler
2022-07-03 06:55:19 +08:00
Martok
1e753237e5
Issue #1952 - m-c 1380962/2: Remove unnecessary lambda function in FunctionToString
2022-07-03 06:54:52 +08:00
Martok
70eee9b0df
Issue #1952 - m-c 1380962/1: Merge append calls when assembling the source string for native functions
2022-07-03 06:54:38 +08:00
Martok
fc6c505da8
Issue #1952 - m-c 1371593: Avoid repeated string atomizations when retrieving the unresolved name of a bound function
2022-07-03 06:54:25 +08:00
Martok
53d6173cfb
Issue #1952 - m-c 1365387: Optimize FinishBoundFunctionInit by delaying atomizing the function name
2022-07-03 06:54:09 +08:00
Job Bautista
f170360d10
Issue #1949 - Part 2: Disable exceptions in soundtouch's STTypes.h.
...
I don't know how Mozilla was able to build this without defining
ST_NO_EXCEPTION_HANDLING, but looks like we have to do it so that
the compiler doesn't complain about -fno-exceptions
2022-07-02 17:01:15 +08:00
Job Bautista
e98c7b8f67
Issue #1949 - Part 1: Update soundtouch library to 2.3.1.
2022-07-02 17:01:01 +08:00
Job Bautista
b7a771fce6
Issue #1948 - Update nestegg library.
...
I separated out the AVC and AAC support code into a patch file so that
the upstream code can be updated freely without having to re-add AVC
and AAC support again. At least if the upstream changes are not too
extensive...
This should effectively backport Mozilla bug 1539686, which allows the
browser to parse the color information from WebM videos that uses HDR.
2022-07-02 17:00:36 +08:00
Job Bautista
6f97a5012d
Issue #1937 - Follow-up: Remove some unnecessary includes and sources from sources.mozbuild
...
These were used only by the encoder, which has been excluded from the build.
2022-06-29 08:56:08 +08:00
Moonchild
932e9d8fc6
Issue #1937 - Follow-up: Exclude aom_encoder.c/h from our build
...
We don't need an encoder!
2022-06-29 08:55:53 +08:00
Job Bautista
463a502764
Issue #1937 - Follow-up: Add missing sources, and remove unneeded ones in sources.mozbuild
...
This should (hopefully) fix building for Windows.
The ones I removed are not used for decoding, but for encoding, which
we don't need.
2022-06-29 08:55:33 +08:00
Job Bautista
8c7e76360f
Issue #1937 - Follow-up: Add missing sources and includes in sources.mozbuild
2022-06-29 08:55:15 +08:00
Job Bautista
49696a7887
Issue #1937 - Follow-up: Fix sources.mozbuild not having exports
...
Thankfully I already redundantly edited this file myself before to
account for updates in the source, and backed this up to another
location just in case the shell script breaks my build files,
which it did!
2022-06-29 08:55:02 +08:00