Commit graph

6,453 commits

Author SHA1 Message Date
roytam1
d4a80aa2c4 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-09 12:01:14 +08:00
Martok
90eb83819c Issue #2435 - Re-Implement rejected Promises events according to spec
Own implementation; upstream gets several things wrong.
2024-01-09 12:00:53 +08:00
Martok
9126a4836f Issue #2435 - Implement notifying of rejected promises
Based-on: m-c 1362272
2024-01-09 12:00:33 +08:00
Martok
65d72c5682 Issue #2435 - Add onrejectionhandled and onunhandledrejection EventHandler
Based-on: m-c 1362272
2024-01-09 12:00:14 +08:00
Martok
511a9376e3 Issue #2435 - Declare PromiseRejectionEvent WebIDL
Based-on: m-c 1338059
2024-01-09 11:59:55 +08:00
Martok
f059bb0a59 Issue #2240 - Align Microtasks and promises scheduling with spec
Microtasks, resolved Promises and Observers are handled after the sync
task that caused them, in the order they were generated.
Also simplifies reentrancy handling.

Based-on: m-c 1193394
2024-01-09 11:59:32 +08:00
Martok
73b14eae31 Issue #2435 - Make CycleCollectedJSContext.h dependency explicit 2024-01-09 11:59:09 +08:00
roytam1
ab563f9387 Revert "No issue - Allow embedded search module in HYPE_ICEDOVE project"
This reverts commit f3d37946be.
2024-01-07 07:55:05 +08:00
roytam1
fa72b197d9 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-05 10:11:42 +08:00
Martok
c451531d54 Issue #2430 - No longer force tcp send buffer size on HTTP/2 uploads > 128KB
With connection-level and stream-level flow control, it is not needed.
On fast connections with large-ish BWP, this can improve upload speed by > 5x
2024-01-05 10:11:19 +08:00
Martok
3e65ae353a Issue #2430 - Allow network.http.spdy.chunk-size to be larger than 16K
According to https://datatracker.ietf.org/doc/html/rfc7540#section-4.2    The size of a frame payload is limited by the maximum size that a
    receiver advertises in the SETTINGS_MAX_FRAME_SIZE setting. This
    setting can have any value between 2^14 (16,384) and 2^24-1
    (16,777,215) octets, inclusive.
2024-01-05 10:10:50 +08:00
Gaming4JC
f3d37946be No issue - Allow embedded search module in HYPE_ICEDOVE project 2024-01-05 10:10:25 +08:00
Gaming4JC
644b8680b2 Debug: Remove assertion for nsDOMNavigationTiming.
As mentioned in issue #2410, this aggressive assertion can cause an uneeded crash during debug build runs.
2024-01-05 10:10:01 +08:00
Gaming4JC
10a37ae467 Issue #1442 Follow-up: Fix debug assertion in JSFun
Change in d5020b69bd introduced a debug build crash, this fixes the crash by properly porting the changes to an assertion as mentioned in issue #2410.
2024-01-05 10:09:09 +08:00
Moonchild
0bcbbafa73 No issue - Tighten default script time-outs and expose stop_slow_scripts
The timings here are still slightly more lenient than the hard-coded
fallback timings in code (10/20 for content/chrome respectively) but
we definitely should not need very long time-outs by default on Chrome
scripts anymore.

Also exposes dom.always_stop_slow_scripts to about:config since we're
making it also UI-configurable in Pale Moon and it just makes sense not
to hide this option.
2024-01-05 10:08:15 +08:00
Moonchild
b47cb0f6a4 Issue #2407 - Rename full-screen-api.ignore-widgets
Renames to full-screen-api.restrict-to-window and clarifies comments for
its intended use.
Resolves #2407.
2024-01-05 10:07:43 +08:00
Matheus Marinho
2e330af8c4 No Issue - Fix syntax in js/src/jsapi-tests/moz.build 2024-01-05 10:07:09 +08:00
Moonchild
dc425fc3e8 Revert "[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget"
This reverts commit 66b07ce6991160e768b5113f8adcd0b47be58791.
2024-01-05 10:06:34 +08:00
roytam1
3039da2cb2 websocket: workaround of mSocketThread use-after-free when application is terminating 2023-12-27 19:18:18 +08:00
roytam1
a907bc3c17 Merge remote-tracking branch 'origin/tracking' into custom 2023-12-21 10:19:16 +08:00
Kershaw Chang
600142110d Bug 1736385 - Make sure thread is alive in CacheIOThread::ThreadFunc 2023-12-21 10:18:53 +08:00
Moonchild
bcbe73119f [dom] Better handling of aborted websocket workers.
Catch the case where we are in worker-shutdown but are still connecting
and make filing and closing connections a bit more robust with a RefPtr.
2023-12-21 10:18:28 +08:00
Barret Rennie
8b5c0a9cd9 [XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget 2023-12-21 10:17:49 +08:00
Moonchild
8fe53f59d0 [layout] Always check against fragment length in nsTextFrame 2023-12-21 10:16:53 +08:00
Moonchild
94a892fcbf Bug 1868901 2023-12-21 10:15:55 +08:00
Jeremy Andrews
4b68ef14db No Issue - Add full-screen-api.ignore-widgets pref to about:config.
This was already in the codebase, but not exposed by default. Mozilla exposed
the pref to fulfill user requests in Firefox 59. Forum users requested the same feaure of pseudo-fullscreen windows. Seems minor enough not to be worth
creating an issue for, since users can already access this by creating a bool
pref.

Ref: BZ 1422535
2023-12-21 10:15:36 +08:00
Moonchild
f1f9dde29e Issue #2405 - Add a pref to disable CSP reporting.
Resolves #2405
2023-12-21 10:15:17 +08:00
roytam1
3dcf458bd0 [SSUAO] follow-up rev 4b5b374f, going down to fx102 for best result for now. 2023-12-18 10:16:25 +08:00
roytam1
4b5b374f48 [Basilisk] [SSUAO] change twitter UAO 2023-12-15 10:31:18 +08:00
roytam1
5a362aa15b Merge remote-tracking branch 'origin/tracking' into custom 2023-12-15 10:29:04 +08:00
Basilisk-Dev
ec4bbcb6f1 [Basilisk] [SSUAO] Update Slack override 2023-12-15 10:26:55 +08:00
Basilisk-Dev
08ac515a80 [Basilisk] No Issue - remove mozscreenshots
We dont use this at all.
2023-12-15 10:14:53 +08:00
Basilisk-Dev
cdb2b0b0d9 [Basilisk] [SSUAO] Update Pale Moon version 2023-12-15 10:13:48 +08:00
Basilisk-Dev
d3731275e1 [Basilisk] [SSUAO] Update Spotify Override
Backport of MoonchildProductions/Pale-Moon commit b9d7c77fea
2023-12-15 10:13:37 +08:00
Basilisk-Dev
ce7af52551 [Basilisk] [SSUAO] Remove Netflix Overrides
Backport of MoonchildProductions/Pale-Moon commit 4c7186ba5d
2023-12-15 10:13:24 +08:00
Basilisk-Dev
c5baecf1fb [Basilisk] Issue #47 - add checkboxes to toggle WebRTC and WASM 2023-12-15 10:07:58 +08:00
Basilisk-Dev
b1ac786668 [Basilisk] Enable performance observer by default 2023-12-15 09:58:17 +08:00
Basilisk-Dev
e6c4802491 [Basilisk] Issue MoonchildProductions/UXP#2053 - Disable DOM Performance API navigation timing by default.
Port of MoonchildProductions/Pale-Moon commit efb55a08c62ca736cff5535bc35236fc2b1cc21d
2023-12-15 09:57:44 +08:00
Moonchild
554172db3c [Pale-Moon] Remove twitter override because they flipped to bork on Gecko compat UA. 2023-12-15 09:50:52 +08:00
Moonchild
637ee512fd [Pale-Moon] Update privacy preferences category.
This makes it a tabbed page with "General" and "Tracking"
* Sec-GPC is moved to "Tracking"
* Adds canvas data poisoning, DOM performance observers and
  DOM navigation timing as options.
2023-12-15 09:50:08 +08:00
Moonchild
7121fc7844 [Pale-Moon] Revert "Issue #1936 - Optionally leave Bookmarks menu open when spawning new tab."
This reverts commit 72d882780643d2f11717525e342febe866b18880.
2023-12-15 09:44:47 +08:00
Moonchild
6461b0708d [Pale-Moon] Use https everywhere in searchplugins. 2023-12-15 09:11:20 +08:00
Moonchild
00d2652fcd [Pale-Moon] [SSUAO] Update spotify override. 2023-12-15 09:10:01 +08:00
Moonchild
4fafcf75e9 [Pale-Moon] [SSUAO] Remove netflix overrides
We should support the UI natively now, and Netflix stopped supporting
Silverlight, so no point in trying to force compat anymore.
2023-12-15 09:09:22 +08:00
Moonchild
f96001ba7c No issue - Allow redirects for requests that require preflight
Spec update, see Bug 1312864
2023-12-15 09:07:32 +08:00
Moonchild
eba87b03fd [DOM] Fix double-free crash in MessagePort.cpp 2023-12-15 09:07:10 +08:00
roytam1
c89d76ac93 editor: pre-C++17 fix 2023-12-06 15:18:33 +08:00
roytam1
774822105f Merge remote-tracking branch 'origin/tracking' into custom 2023-12-06 15:14:19 +08:00
Jeremy Andrews
54874de6d4 Issue #2399 - Fix LDAP on Linux. 2023-12-06 15:13:17 +08:00
Moonchild
dc253ce953 Issue #2362 - Fix click handling according to the spec.
This removes some hackery surrounding preventing content clicks, and in
general handles auxclick as it should, firing that event on secondary
buttons (wheel/right on default setup for right-handed mouse).
2023-12-06 14:50:08 +08:00