Commit graph

5,777 commits

Author SHA1 Message Date
Brian Smith
470af6ba50 Issue #2282 - Performance observer safety checks. Both fixes from later revisions, without the Dispatch API changes. 2023-09-20 09:28:26 +08:00
Brian Smith
7392901a9b Issue #2026 Follow-up: Fill in missing BigInt64 cases in js::IsTypedArrayConstructor(). Hopefully fixes RSA errors on ProtonMail. 2023-09-20 09:28:07 +08:00
Moonchild
20b69d7ddc Issue #2309 - Cherry-pick upstream libwebp fix.
Backport of: https://chromium.googlesource.com/webm/libwebp.git/+/2af26267cdfcb63a88e5c74a85927a12d6ca1d76

Resolves #2309
2023-09-14 10:23:13 +08:00
Matheus Marinho
9e7d1492e6 Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
2023-09-14 10:22:47 +08:00
Moonchild
57020c1f59 [DOM] Follow-up: fix refcounting in FilePickerParent. 2023-09-08 08:00:30 +08:00
Moonchild
56c53b3b8f [gfx] Check if we have a valid texture before trying to delete it. 2023-08-31 22:43:18 +08:00
Moonchild
0359d8a9e7 [DOM] Make IORunnable::mFilePickerParent into a RefPtr. 2023-08-31 22:42:46 +08:00
Moonchild
613cd8f4cb [network] Hold a strong ref to mChannel in OpenConn 2023-08-31 22:42:16 +08:00
Moonchild
850464c616 [DOM] Deny web notifications if principal can't resolve. 2023-08-31 22:41:46 +08:00
Moonchild
058e936f62 [network] Add locking around access to WebSocketChannel::mPMCECompressor 2023-08-31 22:41:14 +08:00
Moonchild
d33ab5822f [XPCOM] Add xll files to the executables list. 2023-08-31 22:40:45 +08:00
Moonchild
f4cc47c049 Issue #2293 - Add preferences to disable CSS animation/transition props.
This resolves #2293
2023-08-31 22:40:10 +08:00
Martok
6ff7b5269e Issue #2298 - Support '#x in obj' ergonomic brand check syntax 2023-08-31 22:39:41 +08:00
Martok
b0d9f0e2ed Issue #2298 - Carry private-ness of names through ParseNodeHandler 2023-08-31 22:38:30 +08:00
Matheus Marinho
8ea70e0eac Bug 1274518 - Add IPDL preprocessing support
Co-authored-by: Kai-Zhen Li <seinlin.maung@gmail.com>
2023-08-31 22:38:07 +08:00
Matheus Marinho
395ee09367 Add --enable-irc and --enable-inspector to old.configure 2023-08-24 13:39:54 +08:00
athenian200
62f3da2156 Issue #2290 - Hunspell must be built into libxul on SunOS. 2023-08-24 13:39:38 +08:00
Brian Smith
549f402d4d Issue #2266 - Part 2 - Add Leak and Undefined Behavior Sanitizer support. Also fix building on FreeBSD and Linux, from the previous commit. 2023-08-17 09:13:57 +08:00
Brian Smith
0f78df0e2c Issue #2266 - Part 1 - Allow MSVC and potentially GCC to use Address Sanitizer on Windows. Check for WINNT instead of CLANG-CL, except for the Blacklist that isn't supported by MSVC. Neither CLANG-CL nor MSVC require -fsanitize=address on the link phase. 2023-08-17 09:13:42 +08:00
Brian Smith
9f80f52d0a Issue #2255 - Disable untested code path in Stopwatch.(h|cpp). https://bugzilla.mozilla.org/show_bug.cgi?id=1325299 Multiprocessor support in Windows returned bogus times causing debug asserts. This may or may not be related to the issue but found it trying to debug it. 2023-08-17 09:13:23 +08:00
Brian Smith
013f130eef No Issue - Fix building WebRTC/Basilisk with --enable-debug A bogus MOZ_ASSERT was added at some point, this should make it work. 2023-08-17 09:10:38 +08:00
Moonchild
a02ef4f1d7 Issue #2284 - Adjust some in-content CSS to account for flex definite-sizing change.
As of this change, flex items in a vertical flex container will sometimes
be considered to have "indefinite" sizes, i.e. percent sizes in them will
no longer resolve.
To work around this, they need to provide a definite flex-basis (e.g. as
part of the "flex" shorthand property) if we want percent sizes to
resolve (instead of being treated as "auto") inside of them.
2023-08-17 09:10:19 +08:00
Moonchild
4b1c9976be Issue #2284 - Update reftest for behaviour change.
I've verified this against Edge-latest.
2023-08-17 09:10:02 +08:00
Moonchild
5235861f6e Issue #2284 - Add exception for flex/grid items resolving percentages against parent.
This folds in BZ bugs 1578586 and 1092007 part 2.
2023-08-17 09:09:43 +08:00
Martok
dc5702a0f2 Issue #2172 - add null zone sanity checks 2023-08-10 22:14:10 +08:00
Martok
8893997378 Issue #2172 - ensure pointers in RegExpShared are updated after GC compacting 2023-08-10 22:13:56 +08:00
Martok
cd1920af58 Issue #2172 - add missing RegExpShared TraceKind declaration 2023-08-10 22:13:21 +08:00
Basilisk-Dev
b27c5cf236 [Basilisk] [SSUAO] Dictionaries really do not like the Goanna slice...
Reported by VistaLover on MSFN
2023-08-08 10:07:31 +08:00
Basilisk-Dev
4a98d682de [Basilisk] [SSUAO] Add dictionary.cambridge.org override 2023-08-08 10:06:55 +08:00
Basilisk-Dev
85a5c58214 [Basilisk] [SSUAO] Update chase.com override 2023-08-08 09:59:55 +08:00
Basilisk-Dev
fafbea8f15 [Pale-Moon] [SSUAO] Fix several dictionaries to not include the Goanna slice. 2023-08-08 09:51:14 +08:00
Basilisk-Dev
ca3e82a227 [Pale-Moon] [SSUAO] Add dictionary.cambridge.org override 2023-08-08 09:50:52 +08:00
Moonchild
4bbb81d78e [Pale-Moon] [SSUAO] Update Chase override 2023-08-08 09:50:11 +08:00
Brian Smith
0e1816aa4c No Issue - Fix building with --enable-js-lto Needed to include jscntxt.h due to de-unified building. 2023-08-08 09:43:24 +08:00
Brian Smith
42b2de6fe9 Issue #2285 - Ensure we don't try to treat non-DOM-Node event targets as such, https://bugzilla.mozilla.org/show_bug.cgi?id=1440809 Fix crash on https://beeper.notion.site 2023-08-08 09:43:09 +08:00
Brian Smith
6464b061c3 Issue #2026 - Follow-up: Support Big(U)Int64Array in crypto.getRandomValues. https://bugzilla.mozilla.org/show_bug.cgi?id=1718932 2023-08-08 09:42:55 +08:00
Brian Smith
dd4c0a44b6 Issue #2282 - - Properly implement Performance Timeline Level 2 w3c spec. https://bugzilla.mozilla.org/show_bug.cgi?id=1539006 Do not throw from PerformanceObserver.observe when none of the entryTypes are known. https://bugzilla.mozilla.org/show_bug.cgi?id=1403027 Implement PerformanceObserver::takeRecords(). https://bugzilla.mozilla.org/show_bug.cgi?id=1436692 "server" is not a valid PerformanceEntry type. https://bugzilla.mozilla.org/show_bug.cgi?id=1463065 Fix a null ptr crash in PerformanceObserver::Observe. https://bugzilla.mozilla.org/show_bug.cgi?id=1631346 2023-08-08 09:42:31 +08:00
Brian Smith
5c3cedb141 Issue #1240 - Follow-up: Add missing JSVAL_TYPE_BIGINT cases in JitFrames.cpp. As pointed out by roytam1 during testing with Discord. 2023-07-29 23:43:04 +08:00
Brian Smith
df03810723 Issue #1240 - Follow-up: Fix incorrect values in Number() constructor. https://bugzilla.mozilla.org/show_bug.cgi?id=1466893 Our code base was using the return value to create the Number object. However with the BigInt changes, it is no longer stored in rval, use args[0]. 2023-07-29 23:42:50 +08:00
Brian Smith
b7e487bdf1 Issue #2026 - Part 4 - Fill in missing dense elements case and fix a comment. https://bugzilla.mozilla.org/show_bug.cgi?id=1456569 Skipped this during the initial implementation, not sure when or if this code path is used, but I figure it should be there just in case. Also fix debug builgs by removing an no longer valid MOZ_ASSERT. 2023-07-29 23:42:33 +08:00
Martok
9042881cea Issue #2026 - Part 3c - Add BigInt Devtools support. (new frontend) 2023-07-29 23:42:19 +08:00
Martok
61efc86b21 Issue #2026 - Part 3b - Add BigInt Devtools support. (legacy frontend) 2023-07-29 23:41:42 +08:00
Brian Smith
e861cd3b3a Issue #2026 - Part 3a - Add support for BigInt in devtools. (Server side) https://bugzilla.mozilla.org/show_bug.cgi?id=1527867 2023-07-29 23:39:11 +08:00
Brian Smith
3ce9cf4deb Issue #2026 - Part 2b - Format BigInts representable as int64_t without first converting them to strings. https://bugzilla.mozilla.org/show_bug.cgi?id=1543677 2023-07-29 23:38:56 +08:00
Brian Smith
d972016c23 Issue #2026 - Part 2a - Support BigInt in NumberFormat and toLocaleString. https://bugzilla.mozilla.org/show_bug.cgi?id=1543677 2023-07-29 23:38:30 +08:00
Brian Smith
b64643e410 Issue #2026 - Part 1 - Implement BigInt64 and BigUint64Array. https://bugzilla.mozilla.org/show_bug.cgi?id=1456569 2023-07-29 23:38:09 +08:00
Brian Smith
0fc38724d1 No Issue - Fix intermitted crash on MacOS 14 Sonoma Beta 3. Not sure why this is happening but mIOSurface is nullptr. If we just skip binding, it will be created on the next call to BeginUpdate. 2023-07-25 09:15:54 +08:00
Brian Smith
15115c97fd Issue #1240 - Part 11 - Fix several issue reported on review. Skip over block delimiters when parsing BigInt literals. Update BigInt hashing to account for the possibility of moving GC. https://bugzilla.mozilla.org/show_bug.cgi?id=1531018 Make HashableValue comparison of BigInts infallible. https://bugzilla.mozilla.org/show_bug.cgi?id=1530406 Fix BigInt constructor API CallArgs usage. https://bugzilla.mozilla.org/show_bug.cgi?id=1526279 2023-07-25 09:15:38 +08:00
Brian Smith
2d5ee3c457 Issue #1240 - Part 10 - Implement minimal Ion support for BigInt. https://bugzilla.mozilla.org/show_bug.cgi?id=1507484 Implement IC support for BigInt. https://bugzilla.mozilla.org/show_bug.cgi?id=1522431 2023-07-25 09:15:18 +08:00
Brian Smith
4aa193b16b Issue #1240 - Part 9 - Fix incorrectly parsing decimal BigInt 0n. The decimal parser strips leading 0s, so prevent tokenbuf being empty. 2023-07-25 09:14:59 +08:00