Commit graph

6,331 commits

Author SHA1 Message Date
roytam1
e7c5600d7d ported from mozilla: Bug 1538622 - StructuredClone serialize and deserialize should treat back reference consistently r=jorendorff (aca6f427e0) 2023-10-23 07:10:46 +08:00
roytam1
a553551082 ported from mozilla: Bug 1476955 - Structured clone algorithm doesn't serialize Array Length contrary to HTML spec, resulting in truncation of trailing sparse arrays like [1,2,3,,] (length=4) to [1,2,3] (length=3); r=sfink (958b3cdb98) 2023-10-22 22:44:55 +08:00
roytam1
8183d7b70c Merge remote-tracking branch 'origin/tracking' into custom 2023-10-21 11:53:44 +08:00
roytam1
ce8751185f Merge remote-tracking branch 'origin/tracking' into custom 2023-10-21 11:22:34 +08:00
Brian Smith
bb656856b6 Issue #2282 - Part 2 - Re-add some timer clamping that got clobber erroneously. 2023-10-21 11:04:56 +08:00
Brian Smith
373fb9ae07 Issue #2282 - Align the Performance Observer navigation and resource with the spec. This now passes the conformance tests. https://bugzilla.mozilla.org/show_bug.cgi?id=1425458 Resource timing entries Workers - part 2 - PerformanceTimingData. https://bugzilla.mozilla.org/show_bug.cgi?id=1462605 PerformanceNavigationTiming.name must be the value of the address of the current document. https://bugzilla.mozilla.org/show_bug.cgi?id=1462883 Update PerformanceTimingData::mReportCrossOriginRedirect in SetPropertiesFromHttpChannel. https://bugzilla.mozilla.org/show_bug.cgi?id=1462879 PerformanceNavigationTiming must be notified correctly - part 1 - notify. 2023-10-21 11:04:41 +08:00
Moonchild
e65b46ba0f Issue #2350 - Part 2: Allow "maximumFractionDigits" option in Intl.NumberFormat to be less than the default minimum fraction digits.
This implements the changes from the "has consensus" PR in TC39
The second pair of `DefaultNumberOption()` calls was inlined, because
only the fallback case is relevant anyway.

Steps 12.d and 12.e from the spec PR were combined into a single
`if`-block. That way it also matches step 12.f more closely.
Also changed the single `if` steps into an `if-else if` chain, because
the steps are mutually exclusive.
2023-10-21 11:04:15 +08:00
Moonchild
be81bae5b7 Issue #2350 - Part 1: Apply "minimumIntegerDigits" to number-formatters with fraction-digits.
Implements the changes to `SetNumberFormatDigitOptions` and
`FormatNumberToString`, except for the support of the new
"compact-rounding" mode.
This also includes a few minor fixes for edge cases (like -0 vs. 0)
2023-10-21 11:03:56 +08:00
Moonchild
735bb78c28 Issue #2350 - Part 0: Add a helper function DefaultNumberOption
This is the abstract operation that converts an option value to a number
value, checking whether it is in the allowed range, and filling in a
fallback value if necessary.
2023-10-21 11:03:34 +08:00
Basilisk-Dev
9f63203a43 Issue #2332 - Hyphenate rtc stats type as per spec
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1322503
2023-10-21 11:03:07 +08:00
roytam1
dd9eca1b39 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-18 11:52:06 +08:00
Basilisk-Dev
4edd2f91b4 [Basilisk] Issue #19 followup - remove DNT from mozscreenshots We technically don't use mozscreenshots at all, but this should still be removed since it is no longer a valid setting 2023-10-18 11:50:56 +08:00
Basilisk-Dev
30e47eb5bc [Basilisk] Issue #19 - Implement GlobalPrivacyControl 2023-10-18 11:49:14 +08:00
roytam1
ecd3cd8676 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-18 11:48:06 +08:00
Moonchild
6cefc52d32 [Basilisk] Issue #2 - Remove Safebrowsing and TrackingProtection from the FE
This resolves #2
2023-10-18 11:29:58 +08:00
Moonchild
591a887bf3 [Pale-Moon] Issue MoonchildProductions/UXP#1721 - Implement GlobalPrivacyControl
Front-end and locale changes for GPC in preferences as well as migration.
Also bumps the back-end pointer to pick up the platform changes necessary.
2023-10-18 10:19:59 +08:00
Moonchild
50ad087351 Issue #1721 - Implement GlobalPrivacyControl
(and get rid of failed DoNotTrack)
2023-10-18 10:17:23 +08:00
roytam1
ca9d8d3960 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-18 10:03:32 +08:00
Moonchild
0315aeee73 Issue #1721 - Follow-up: Properly protect GPC header
Make it a singleton so it cannot be overwritten.
2023-10-18 09:54:42 +08:00
Basilisk-Dev
84ca5fdfc7 PR #2347 - Backport of Mozilla tooltip bugs:
Bug 148624 - only show tooltip when document has focus
Partial Bug 1857513 - Use window activeness rather than document.hasFocus() to display chrome-only tooltips
2023-10-18 09:54:12 +08:00
Brian Smith
46024cd872 Issue #1442 Follow-up: Stop pretending proxies have a JSNative call/construct hook. https://bugzilla.mozilla.org/show_bug.cgi?id=1471924 Part 1 Also remove an erroneous debug assert and guard against future issues. This fixes crashes on vk.com but still does not behave correctly. 2023-10-18 09:48:01 +08:00
roytam1
dabe363572 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-16 09:33:55 +08:00
Moonchild
4ec7fa4f5f Clean up dom\webidl
Fix CRLF line endings in some files.
2023-10-16 09:33:24 +08:00
Moonchild
9cd7fd3bf4 Issue #2340 - Return an array (actually frozen sequence) for {border|content}BoxSize
Resolves #2340
2023-10-16 09:31:05 +08:00
roytam1
f508d00178 ported from mozilla: Bug 1446548 - Treat all GLSL versions >=450 as 450. r=kvark, a=RyanVM (43f0d1060e) 2023-10-15 22:22:41 +08:00
roytam1
d6590573ed Merge remote-tracking branch 'origin/tracking' into custom 2023-10-11 11:56:50 +08:00
Basilisk-Dev
348f761a9b Issue #2332 - Fix CamerasChild helper to return by value instead of out-of-scope reference
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1318132
2023-10-11 11:55:16 +08:00
Basilisk-Dev
763cdb00cb Issue #2332 - Update most tests to skip RTCSessionDescription construction
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 6
2023-10-11 11:54:56 +08:00
Basilisk-Dev
f615587ab7 Issue #2332 - Update most tests to skip RTCIceCandidate construction
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 5
2023-10-11 11:54:40 +08:00
Basilisk-Dev
a1c22cb034 Issue #2332 - Have createOffer/Answer resolve with dictionaries
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 4
2023-10-11 11:54:20 +08:00
Basilisk-Dev
6b713575c9 Issue #2332 - Have set(Local|Remote)Description take dictionaries
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 3
2023-10-11 11:53:59 +08:00
Basilisk-Dev
80a3c49ba2 Issue #2332 - Have addIceCandidate take a dictionary
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 2
2023-10-11 11:53:31 +08:00
Basilisk-Dev
ddf29677d9 Issue #2332 - Update RTCIceCandidate to spec
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 - part 1
2023-10-11 11:53:15 +08:00
Basilisk-Dev
f2dbc4c6ce Issue #2332 - Add deprecation warnings to writable RTCSessionDescription
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1313966
2023-10-11 11:52:59 +08:00
Basilisk-Dev
a87f8cc7f7 Issue #2332 - Use the same path for passing on missed data to video sink, as during normal operation
https://bugzilla.mozilla.org/show_bug.cgi?id=1305949 part 2
2023-10-11 11:52:42 +08:00
Basilisk-Dev
580a231706 Issue #2332 - Use only one listener in MediaPipelineTransmit
https://bugzilla.mozilla.org/show_bug.cgi?id=1305949 part 3
2023-10-11 11:52:24 +08:00
Basilisk-Dev
1ed778419f Issue #2332 - Refactor code that feeds video stream sink when it gets added
https://bugzilla.mozilla.org/show_bug.cgi?id=1305949 part 1
2023-10-11 11:52:00 +08:00
Matheus Marinho
c3767681a9 Correct overzealous GMP checks 2023-10-11 11:51:41 +08:00
roytam1
f3deac5f5f ported from mozilla:
- Bug 148624 - only show tooltip when document has focus. r=emilio (8ae372dc88d1)
- Bug 1857513 - Use window activeness rather than document.hasFocus() to display chrome-only tooltips. r=smaug (4cbf370b4e16)
2023-10-11 11:32:41 +08:00
roytam1
e90473bdda [Basilisk] Revert "Update PDF.js to 2.3.235" as it breaks in e10s 2023-10-06 11:38:43 +08:00
roytam1
d946fc6195 [Basilisk] pdfjs: Services.policies is not available in UXP, comment it out 2023-10-06 11:23:50 +08:00
roytam1
4f9068fe23 [Basilisk] some files in my tree still need preprocessing 2023-10-06 11:23:14 +08:00
roytam1
879ab0d7dc Merge remote-tracking branch 'origin/tracking' into custom 2023-10-06 10:48:24 +08:00
Basilisk-Dev
4c819bd3d5 [Basilisk] Dont preprocess files that dont need preprocessing 2023-10-06 10:42:03 +08:00
Basilisk-Dev
fa1cbb6658 [Basilisk] Issue #67 - stop using appconst in aboutSessionRestore.js 2023-10-06 10:41:07 +08:00
Basilisk-Dev
2169356c67 [Basilisk] Fix issue with updater 2023-10-06 10:40:13 +08:00
Basilisk-Dev
e1e2d7e832 [Basilisk] Issue #67 - begin porting over changes to stop using appconstants 2023-10-06 10:39:06 +08:00
Basilisk-Dev
a03283044e [Basilisk] Report GTK version in about dialog for Linux builds 2023-10-06 10:37:23 +08:00
Basilisk-Dev
04e9b40d4b [Basilisk] Remove some unused crash report strings from localization data 2023-10-06 10:36:12 +08:00
Basilisk-Dev
0ae5036656 [Basilisk] Remove unsubmitted crash reporter from crash handlers 2023-10-06 10:35:17 +08:00