Brian Smith
f8a174e19f
Issue #2402 - Move WorkerPrivate::SetPrincipal() logic into a WorkerLoadInfo method. https://bugzilla.mozilla.org/show_bug.cgi?id=1333573 Make worker SetPrincipalOnMainThread fallible. https://bugzilla.mozilla.org/show_bug.cgi?id=1338523
2024-01-11 09:45:35 +08:00
Brian Smith
37d4df19a8
Issue #2402 - Factor out code to set WorkerPrivate CSP from headers. https://bugzilla.mozilla.org/show_bug.cgi?id=1337543
2024-01-11 09:44:25 +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
Moonchild
aae5866390
[DOM] Drop mWrappedRunnable early in workers.
...
This should prevent some intermittent crashes.
2023-10-26 10:53:41 +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
Brian Smith
41216b88f6
Issue #1442 - Part 12a - Allow idle worker shutdown to begin for an opt-in WorkerHolder mode. https://bugzilla.mozilla.org/show_bug.cgi?id=1362444 Pre-requisite for Part 13.
2023-10-04 10:00:42 +08:00
Moonchild
2ca5715149
Issue #2323 - Part 3: Exclude chrome workers from worker timer clamping.
2023-10-03 22:04:09 +08:00
Moonchild
1b7df316c4
Issue #2323 - Part 2: Implement timer nesting and clamping for workers.
2023-10-03 22:03:54 +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
FranklinDM
158784cbed
Issue #2197 - Part 2b: Implement StructuredSerializeOptions for Worker
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1502802
2023-04-10 07:25:49 +08:00
FranklinDM
47147d58b0
Issue #2197 - Part 1b: Transferables should be arrays of objects
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1336020
2023-04-10 07:25:20 +08:00
FranklinDM
438cdbd913
Issue #2197 - Part 1a: postMessages should have transferable as [] by default
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1336020
2023-04-10 07:25:03 +08:00
Moonchild
a94d85142d
[DOM] worker cleanup.
2022-03-22 23:13:14 +08:00
Moonchild
13c48d24b0
Issue #1797 - Implement WindowOrWorkerGlobalScope.origin
...
Resolves #1797
2021-08-19 09:45:43 +08:00
Jens Stutte
04fdc6e681
[DOM] Be more explicit about the WorkerPrivate self-reference.
2021-08-12 23:48:13 +08:00
Moonchild
0ced696351
Issue #1053 - Remove Android-specific blocks from system headers and /dom
2021-03-12 08:57:47 +08:00
Moonchild
8630e4f6dc
[DOM] Try to avoid slow shrinking GC during sync calls
2021-01-27 21:03:02 +08:00
Moonchild
8c395520d9
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
wolfbeast
d4b247abb3
Add missing call to WaitForIsDebuggerRegistered
2019-12-07 06:55:12 +08:00
Gaming4JC
624a2f1b61
1283712 - Part 8: Add WorkerErrorBase, WorkerErrorNote, and WorkerErrorReport.
2019-07-22 19:50:22 +08:00
wolfbeast
5a03a408a8
Send worker-runnables destined for the main thread actually to the main thread.
...
A case of "one queue too many" here. Instead of worker runnables being sent to the main thread
where they are supposed to run, they are put in a task queue per-worker. This is devastating
for performance if many workers are running.
2019-02-16 00:14:03 +08:00
janekptacijarabaci
98546534b0
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status
2019-02-16 00:07:43 +08:00
janekptacijarabaci
c1d7159d0f
Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp()
...
https://hg.mozilla.org/mozilla-central/rev/301231f4165a
2019-02-15 23:53:39 +08:00
janekptacijarabaci
12f3d0302c
Bug 1288768 - Better error reporting for network errors in workers
2019-02-15 23:42:46 +08:00
wolfbeast
97a0673483
Remove GCZeal: Base cleanup
...
UXP repo issue #8
2019-02-14 14:37:49 +08:00
roytam1
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00