roytam1
bf90272692
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-29 12:26:22 +08:00
Martok
0590764f1f
Issue #2686 - Don't rely on return value of ExecutionContext::Compile when the context may forbid running scripts
...
This is relevant if scripting is terminated due to execution timeout but there are setTimeout/Interval callbacks pending
or if scripting is disabled altogether.
2025-01-29 12:23:50 +08:00
roytam1
789327be17
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-23 09:39:37 +08:00
FranklinDM
41eb02d1e1
No issue - Turn worker runnable assertion into something harmless in debug builds
...
It's annoying.
2025-01-23 09:37:42 +08:00
roytam1
f67e22d3f0
Issue #2678 - addendum to rev 139e7a7a
2025-01-20 21:31:50 +08:00
roytam1
904406a497
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-20 21:13:46 +08:00
Moonchild
139e7a7ac6
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-20 21:12:18 +08:00
Moonchild
85f8f23a23
Issue #2678 - Make QIing to a few often-used CCed classes faster.
...
QIing to CC interfaces is a hot path for a few widely-used classes.
Presumably there are many of these objects being created and destroyed.
By making these classes check first for the CC interfaces directly, rather
than going up the inheritance chain, the resulting overhead is reduced.
2025-01-20 21:09:23 +08:00
Moonchild
c37e68d59f
Issue #2678 - Use a new macro for CC isupports in some locations.
...
There are many more places that could be converted to use these new macros.
If anyone feels so inclined... ;)
2025-01-20 21:08:55 +08:00
Moonchild
33a120eb9f
Issue #2678 - Clean up some uses of the table-to-map segue.
2025-01-20 21:08:25 +08:00
Moonchild
0121aefb61
Issue #2678 - Remove now-unnecessary ClearExternalRefsForWrapperRelease.
...
All DOMProxyHandler::ClearExternalRefsForWrapperRelease now does is clear
a backpointer to the expando, and that's handled during reflector
finalization already, making it redundant.
2025-01-20 21:07:31 +08:00
Moonchild
c9c941f321
Issue #2678 - Stop using EnsureExpandoObject in codegen code when we just want to preserver the wrapper for a DOM proxy.
2025-01-20 21:07:17 +08:00
Moonchild
45bb4cb8b4
Issue #2678 - Switch DOMProxyHandler::EnsureExpandoObject to using normal wrapper preservation instead of RegisterDOMExpandoObject.
2025-01-20 21:06:46 +08:00
Moonchild
14c84e22a9
Issue #2676 - Implement AbortSignal.timeout()
...
This is a stub implementation because of the considerable abuse risk and
bad web code risk causing DoS, e.g. when using bad timeout values and
callbacks on the AbortSignal (e.g. recursive).
Considering the abort-ability of these signals otherwise there is never
a guarantee to websites that these signals will be triggered anyway, so
it should be considered an optional signal - meaning we can safely just
ignore the timeout, which allows us to avoid a ton of complexity and
potential sec/privacy issues.
Primary use in the wild seems to be detailed profiling/ad metrics anyway;
we don't really want to encourage that!
2025-01-20 21:06:19 +08:00
Moonchild
9fa4b6fd5d
Issue #2676 - Implement AbortSignal.abort()
2025-01-20 21:06:05 +08:00
Moonchild
949e3f0ac6
Issue #2676 - Don't keep AbortController alive for AbortSignal
2025-01-20 21:05:47 +08:00
roytam1
44f397bea2
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-10 22:32:18 +08:00
Moonchild
5ea8de0262
[DOM] Convert cleanup of FlushCurrentWord() to a ScopeExit task.
...
Ensures consistent cleanup even if early exit due to OOM.
2025-01-10 22:31:52 +08:00
Moonchild
e60e1266e9
[DOM] Slightly extend lifetime of data in Structured Clone operations.
2025-01-10 22:30:58 +08:00
Moonchild
8f52da3288
Issue #2673 - Part 2b: Improve ADTS format sniffer's performance.
...
Also avoids false positives.
2025-01-10 22:29:13 +08:00
Moonchild
e25b285ca7
Issue #2673 - Part 2: Add ADTS format sniffer.
2025-01-10 22:28:30 +08:00
Moonchild
0c2130e615
Issue #2673 - Part 1: Minor ADTSDemuxer cleanup.
2025-01-10 22:28:10 +08:00
roytam1
990b92ae63
Merge remote-tracking branch 'origin/tracking' into custom
2024-12-20 13:43:35 +08:00
Martok
d9dbae4aa9
No issue - Follow-up: fix compilation
2024-12-20 13:42:47 +08:00
Moonchild
1bdfca3920
No issue - Cloned <audio>/<video> elements should respect muted attribute.
2024-12-20 13:42:32 +08:00
roytam1
c6517989ab
Merge remote-tracking branch 'origin/tracking' into custom
2024-11-29 21:00:51 +08:00
Moonchild
24f3a981b6
Issue #2255 - Follow-up: Check if we actually have a non-null global object.
...
This should avoid the intermittent crashes that are still being reported
on this issue that end up crashing because of a proxied object that can't
be unwrapped after being passed around.
2024-11-29 20:53:06 +08:00
roytam1
310c05b97a
Merge remote-tracking branch 'origin/tracking' into custom
2024-11-21 21:09:29 +08:00
Moonchild
ff89fee91d
Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup.
2024-11-21 21:09:05 +08:00
Moonchild
75d698133f
Issue #2654 - Remove pre-allocated process manager.
...
Resolves #2654
2024-11-21 21:05:30 +08:00
Moonchild
04b285b848
Issue #2653 - Part 5: Simplify and clean up some quota code
...
Since we no longer need a complex check, we can remove some indirection.
2024-11-21 21:03:17 +08:00
Moonchild
53cab0f8ce
Issue #2653 - Part 4: Remove isApp from quota manager and its clients
2024-11-21 21:02:50 +08:00
Moonchild
7f086f216c
Issue #2653 - Part 3: Remove support for packaged apps from asmjscache
2024-11-21 21:02:19 +08:00
Moonchild
0e6fa95840
Issue #2653 - Part 2: Update tests
2024-11-21 21:01:54 +08:00
Moonchild
7b6e3a2d4a
Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
...
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-21 21:01:27 +08:00
Moonchild
a6c54d0736
No issue - Stop WebGL context forcing spew in non-debug builds.
2024-11-21 20:58:01 +08:00
roytam1
4397f384a7
Merge remote-tracking branch 'origin/tracking' into custom
2024-10-31 21:48:26 +08:00
Karl Tomlinson
9ba1057e54
Bug 1920800 - Remove oldImages from check for flushed old principal handle
...
The logic should be equivalent when frame IDs on aImages are contiguously
increasing from IDs on previously set frames.
There are currently no callers passing empty aImages, but the logic in this
case would now be as described in the documentation of
UpdatePrincipalHandleForFrameID():
> We will notify mElement that aPrincipalHandle has been applied when all
> FrameIDs prior to aFrameID have been flushed out.
2024-10-31 21:47:54 +08:00
roytam1
7df6fa1c80
Merge remote-tracking branch 'origin/tracking' into custom
2024-10-24 07:39:14 +08:00
Moonchild
7d978ccd71
Issue #2641 - Update Fetch to adhere to the updated spec (pass refpolicy)
...
Resolves #2641
2024-10-24 07:37:31 +08:00
Moonchild
f6f046930d
Issue #2641 - Speculative load changes for referrerpolicy
2024-10-24 07:37:15 +08:00
roytam1
73f3390cf8
Merge remote-tracking branch 'origin/tracking' into custom
2024-10-03 14:35:59 +08:00
Moonchild
b848a924bc
[GMP] Factor out more detailed CheckDimensions function for CreateFrame.
2024-10-03 14:35:40 +08:00
roytam1
97fb5d7f9b
ported from mozilla: Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. (763507de3e)
2024-10-03 07:35:53 +08:00
roytam1
ed16ab739e
ported from mozilla: Bug 1460920 - Part 2 : Support referrerpolicy attribute in script HTMLScriptElement r=hsivonen (3309aa6d27)
2024-10-01 11:59:37 +08:00
roytam1
d0c0a7d8d2
ported from mozilla: Bug 1384493 - LoadStyleLink and LoadInlineStyle should use correct referrer policy. r=heycam (53e3c926ff)
2024-10-01 11:18:09 +08:00
roytam1
687f52e183
Merge remote-tracking branch 'origin/tracking' into custom
2024-10-01 10:28:33 +08:00
Boris Zbarsky
32498a0694
Bug 1493449 - Change the default credentials mode for module scripts from 'omit' to 'same-origin'
...
Resolves #2642
2024-10-01 10:27:55 +08:00
Moonchild
ea2268b5e8
Bug 1900191 - Use nestegg advertised default duration if it exists.
2024-10-01 10:27:39 +08:00
Moonchild
8cb68d8ea8
Bug 1878510 - Follow-up: Explicitly pass values through variadic functions
...
While MSVC has no issue with this and understands values should be passed,
clang doesn't like it and aborts.
2024-10-01 10:27:24 +08:00