Commit Graph

581 Commits

Author SHA1 Message Date
Stanca Serban
b42c5eaa6a Backed out 6 changesets (bug 1313937, bug 1843066, bug 1843002) for causing build bustages in ScriptLoadRequest.h. CLOSED TREE
Backed out changeset 84c2d1c04aa2 (bug 1313937)
Backed out changeset 7cab9a1ea25f (bug 1313937)
Backed out changeset affc7d1f130d (bug 1313937)
Backed out changeset e13aacfe7944 (bug 1843066)
Backed out changeset 21a9bee8f772 (bug 1843002)
Backed out changeset d381b6365111 (bug 1843002)
2023-07-21 17:41:04 +03:00
Tom Schuster
320e8d0d9d Bug 1843002 - Add parser-metadata to ScriptFetchOptions. r=allstarschh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D183366
2023-07-21 12:31:23 +00:00
Tom Schuster
91054529c2 Bug 1843002 - Add nonce to ScriptFetchOptions. r=allstarschh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D183365
2023-07-21 12:31:22 +00:00
Natalia Csoregi
1f4dc5c852 Backed out 6 changesets (bug 1842798) for causing failures on js/src/tests/test262/language/*. CLOSED TREE
Backed out changeset 38669a2ddad9 (bug 1842798)
Backed out changeset 5dad4aeacd53 (bug 1842798)
Backed out changeset 23d10eb8f853 (bug 1842798)
Backed out changeset 946e4dfe5452 (bug 1842798)
Backed out changeset 1b89736a463f (bug 1842798)
Backed out changeset b2e6bdd781ac (bug 1842798)
2023-07-17 20:52:18 +03:00
Jon Coppeard
7037982495 Bug 1842798 - Part 3: Remove unused event target from ModuleLoaderBase r=smaug
This was previously used by MozPromise but is no longer required.

Differential Revision: https://phabricator.services.mozilla.com/D183586
2023-07-17 12:44:19 +00:00
Jon Coppeard
dd9d0a3ed7 Bug 1842798 - Part 2: Remove use of MozPromise to wait for module imports to load r=smaug
This replaces the use of a promise to wait for all imports of a module to load
with a counter of reminaing imports in the parent and a pointer to the parent
that is waiting in the child. The parent request is updated immediately rather
than by dispatching a runnable.

Differential Revision: https://phabricator.services.mozilla.com/D183273
2023-07-17 12:44:18 +00:00
Yoshi Cheng-Hao Huang
d2a1e07ea9 Bug 1833503 - Add ref to ScriptLoaderRunnable. r=dom-worker-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D181214
2023-06-19 20:26:52 +00:00
Yoshi Cheng-Hao Huang
b62ed704ef Bug 1822699 - Use credentials="same origin" for dynamic import scripts in a classic worker script. r=jonco
HostLoadImportedModule,
https://html.spec.whatwg.org/multipage/webappapis.html#hostloadimportedmodule

<spec>
6. If referrer is a Script Record or a Module Record, then:
   3. Set fetchOptions to the descendant script fetch options for
      referencingScript's fetch options.
</spec>

And the referencingScript can be either:
  - a classic worker script.
  - a module worker script.

For the classic worker script, its fetch options are defined in
'fetch a classic worker script'
https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-classic-worker-script
See the algorithm processResponseConsumeBody

  <spec>
  5. Let script be the result of creating a classic script using
     source text, script settings object, response's URL, and the
     default classic script fetch options.
  </spec>

  Default classic script fetch options
  https://html.spec.whatwg.org/multipage/webappapis.html#default-classic-script-fetch-options

  <spec>
  The default classic script fetch options are a script fetch options
  whose ... credentials mode is "same-origin", ....
  </spec>

For the module worker script, its fetch options are defined in
'fetch a worklet/module worker script graph'

https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-worklet/module-worker-script-graph

<spec>
1. Let options be a script fetch options whose ... credentials mode is
   _credentials mode_ ...
</spec>

where _credentials mode_ is provided when a worklet or a module worker
is created.

Differential Revision: https://phabricator.services.mozilla.com/D180088
2023-06-07 07:54:56 +00:00
Eden Chuang
b1c66d53bf Bug 1800659 - P2 remove nsICancelableRunnable inheriting form WorkerRunnable. r=asuth
This patch is only remove the inheriting, but keeping Cancel() implmentation.
The Cancel() is needed in some special cases, such as Worker enters Canceling when WorkerScope is not created.

Depends on D176915

Differential Revision: https://phabricator.services.mozilla.com/D173850
2023-06-06 06:36:50 +00:00
Yoshi Cheng-Hao Huang
d237483ff5 Bug 1831585 - Update request's referrerPolicy if it's empty. r=jonco
For the top-level worker module script,
its referrer policy is empty by default,
https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-worklet/module-worker-script-graph

<spec>
Step 1. Let options be a script fetch options whose ...<ommitted> referrer policy is the empty string <omitted>....
</spec>

After the top-level worker module script is fetched, worker will update
the referrer policy according to the HTTP response header.

https://html.spec.whatwg.org/multipage/workers.html#run-a-worker
<spec>
Step 14.3.2. Initialize worker global scope's policy container given worker global scope, response, and inside settings.
</spec>

https://html.spec.whatwg.org/multipage/browsers.html#initialize-worker-policy-container
<spec>
Step 2. Otherwise, set workerGlobalScope's policy container to the result of creating a policy container from a fetch response given response and environment.
</spec>

https://html.spec.whatwg.org/multipage/browsers.html#creating-a-policy-container-from-a-fetch-response
<spec>
Step 5. Set result's referrer policy to the result of parsing the `Referrer-Policy` header given response. [REFERRERPOLICY]
</spec>

At this moment, the referrer policy of the WorkerGlobalScope's policy container has been updated.

Now when the worker script is doing a dynamic import.

https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-import-calls
<spec>
Step 1. Let referrer be GetActiveScriptOrModule().
..
Step 8. Perform HostLoadImportedModule(referrer, specifierString, empty, promiseCapability).
</spec>

https://html.spec.whatwg.org/multipage/webappapis.html#hostloadimportedmodule
<spec>
Step 6. If referrer is a Script Record or a Module Record, then:
  Step 1. Set referencingScript to referrer.[[HostDefined]].
  ...
  Step 3. Set fetchOptions to the descendant script fetch options for referencingScript's fetch options.
</spec>

So the dynamic imported script will inherit the referrer policy from the
worker module script's fetch options, which is the empty script by default.

Then to the fetch part.
According to the fetch spec:
https://fetch.spec.whatwg.org/#concept-main-fetch
<spec>
Step 8. If request’s referrer policy is the empty string, then set request’s referrer policy to request’s policy container’s referrer policy.
</spec>

Our fetch implementation does implement this,
https://searchfox.org/mozilla-central/rev/2d678a843ceab81e43f7ffb83212197dc10e944a/dom/fetch/FetchDriver.cpp#732

However, our worker doesn't use Fetch API so we have to update referrer
policy in worker's ScriptLoader.

Differential Revision: https://phabricator.services.mozilla.com/D178784
2023-05-24 15:10:01 +00:00
Artur Iunusov
4829185a1c Bug 1646034 - Service workers can reveal script base URL due to dynamic import(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D175773
2023-04-22 20:34:49 +00:00
Yoshi Cheng-Hao Huang
e530eb161e Bug 1829001 - Update comments in WorkerScriptLoader. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D175950
2023-04-21 21:05:54 +00:00
Yoshi Cheng-Hao Huang
93a3f24aec Bug 1828130: r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D175912
2023-04-21 08:05:44 +00:00
Yoshi Cheng-Hao Huang
d6ed9d2523 Bug 1824498 - Call shutdown when there isn't any ongoing fetching modules. r=jonco
In the test file, worker_bug1824498.mjs, it imports two module scripts,
"foo" and "bar", both are invalid specifiers.

The ModuleLoadRequest of "foo" will be canceled, which in turn will:
1. Cancel all imports of the parent ModuleLoadRequest (worker_bug1824498.mjs)
2. Cancel the ModuleLoadRequest of "bar".

After the step 1, WorkerModuleLoader::OnModuleLoadComplete will be
called, and will shutdown the script loader.

The shutdown causes two problems:
1. When step 2 is executed, it will reject the mReady promise in
ModuleLoadRequest, however when the MozPromise is dispatched, its event
target has been shutdown so an assertion failure is triggered.

2. Also when the ScriptLoaderRunnable of "bar" is received, it also
triggers the assertion failure of the valid SyncLoopEventTarget.

To fix the problem, we delay the shutdown until there's no ongoing module
requests.

Differential Revision: https://phabricator.services.mozilla.com/D175476
2023-04-20 17:41:47 +00:00
Yulia
812fd2df00 Bug 1824803; r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D174100
2023-04-14 16:26:01 +00:00
Alexandre Poirot
f2621ab406 Bug 1816933 - [devtools] Force loading the debugger worker script as "classic". r=yulia,devtools-reviewers,bomsy,nchevobbe
This prevents loading the debugger script the same way the worker is loaded.
So prevent loading it as ES Module when the worker is using ES Module.

Differential Revision: https://phabricator.services.mozilla.com/D173257
2023-03-28 12:32:58 +00:00
Artur Iunusov
ee6c508eb7 Bug 1819626: Enforce strict MIME type checks for worker-imported scripts, r=smaug
This patch introduces a new pref:
dom.workers.importScripts.enforceStrictMimeType

which is enabled by default on Nightly

see: https://github.com/whatwg/html/issues/8869,
https://github.com/whatwg/html/pull/4001

Differential Revision: https://phabricator.services.mozilla.com/D173149
2023-03-24 17:19:31 +00:00
Emilio Cobos Álvarez
8dabbf6590 Bug 1823686 - Share URLExtraData between SVG attribute mapping and style attribute. r=smaug
I don't think there's ever a way these should differ.

Got some include hell from removing ReferrerInfo.h from Document.h but
hopefully should be straight-forward to review.

Depends on D173154

Differential Revision: https://phabricator.services.mozilla.com/D173155
2023-03-22 14:54:43 +00:00
Yulia
da459f7e4d Bug 1540913 - Part 6-a: Fix BaseURL for importScripts; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D171875
2023-03-14 18:16:32 +00:00
Yulia Startsev
ddbfcc4d9e Bug 1540913 - Part 6: Implement Dynamic import for workers; r=jonco
This is the final change for dynamic imports, and makes the necessary modifications to properly load
them.

Differential Revision: https://phabricator.services.mozilla.com/D169629
2023-03-14 18:16:32 +00:00
Yulia
f2ff7f8dfc Bug 1540913 - Part 5: Track ScriptLoaders on WorkerLoadContext; r=jonco
As mentioned in the previous patch, this patch introduces tracking and shutdown of scriptloaders in
the case that we have multiple scriptloaders involved in module loading.

Differential Revision: https://phabricator.services.mozilla.com/D171686
2023-03-14 18:16:32 +00:00
Yulia
cd357db31b Bug 1540913 - Part 4: Introduce WorkerScriptLoader configuration for dynamic import; r=jonco
Earlier, we introduced GetBaseURI to the module loader. This allows us to get the BaseURI for a
dynamic import even after the importing script/module's ScriptLoader has been cleaned up. However,
we now need to be able to handle the case where we need to run the dynamic import and load it. In
order to do this, we need to create a scriptloader configured for dynamic import. The most important
difference between this scriptloader and the one that is normally used for script loading in workers
is that we *do not have a syncLoopTarget* to which we return. There are a couple of reasons for
this:

* Dynamic import (and modules in general) relies on the event loop to resolve. If we create a
syncLoop here, we will end up pausing execution, and this breaks the StartModuleLoad algorithm. We
will never complete and the result will be that we are in the wrong state when we return here.
* We do not have perfect knowledge of the future, so we cannot keep the existing script loader alive
in the case that it might be used for loading in the future.
* We cannot migrate the ModuleLoader to not use sync loading without significantly changing other
aspects of how loading scripts on workers works. This becomes particularily evident with error
handling
(https://searchfox.org/mozilla-central/rev/00ea1649b59d5f427979e2d6ba42be96f62d6e82/dom/workers/WorkerPrivate.cpp#383-444),
and in addition, for reasons I wasn't able to discern, using the CurrentEventTarget results in hard
to identify errors. When there is time to investigate this fully, the ModuleLoader may move away
from using a syncLoop itself.

For now, all main-script loads (whether they are modules or classic scripts) will use the sync loop,
and all dynamic imports will create a new script loader for their needs that is not using the sync
loop. The book keeping for this is in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D171685
2023-03-14 18:16:31 +00:00
Yulia Startsev
d0a74e9749 Bug 1805676 - Implement modules for shared workers; r=asuth
This patch introduces modules workers to shared workers. This includes the necessary chagnes to pass
the "type: module" to the shared worker. Beyond that, this patch relies on the work landed in
dedicated workers.

Depends on D162743

Differential Revision: https://phabricator.services.mozilla.com/D156103
2023-02-14 09:04:59 +00:00
Marian-Vasile Laza
adb35f0c29 Backed out 4 changesets (bug 1805676) for wpt failures on shared-worker-import-csp.html. CLOSED TREE
Backed out changeset 95d1e02df42c (bug 1805676)
Backed out changeset 79f32abb379d (bug 1805676)
Backed out changeset 2d35363f5937 (bug 1805676)
Backed out changeset b173c8e2beba (bug 1805676)
2023-02-13 21:14:00 +02:00
Yulia Startsev
a093ea05d5 Bug 1805676 - Implement modules for shared workers; r=asuth
This patch introduces modules workers to shared workers. This includes the necessary chagnes to pass
the "type: module" to the shared worker. Beyond that, this patch relies on the work landed in
dedicated workers.

Depends on D162743

Differential Revision: https://phabricator.services.mozilla.com/D156103
2023-02-13 16:09:46 +00:00
Stanca Serban
5561fe074d Backed out 4 changesets (bug 1805676) for causing wpt failures in /workers/modules/shared-worker-import-csp.html. CLOSED TREE
Backed out changeset 3d943ee00682 (bug 1805676)
Backed out changeset 34da8cbd7db2 (bug 1805676)
Backed out changeset 1573d31341db (bug 1805676)
Backed out changeset 212f36c3a9e0 (bug 1805676)
2023-02-13 10:41:28 +02:00
Yulia Startsev
41c83fbac6 Bug 1805676 - Implement modules for shared workers; r=asuth
This patch introduces modules workers to shared workers. This includes the necessary chagnes to pass
the "type: module" to the shared worker. Beyond that, this patch relies on the work landed in
dedicated workers.

Depends on D162743

Differential Revision: https://phabricator.services.mozilla.com/D156103
2023-02-13 07:35:59 +00:00
Yulia Startsev
fa1b00145f Bug 1812628 - put worker modules behind a flag; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D168129
2023-02-01 15:30:15 +00:00
Norisz Fay
fc6fb7717e Backed out 2 changesets (bug 1812628) for causing wpt failures on pointerevent_pointerrawupdate_in_pointerlock.html CLOSED TREE
Backed out changeset da2c075d4524 (bug 1812628)
Backed out changeset cc6317f62e54 (bug 1812628)
2023-02-01 00:09:29 +02:00
Yulia Startsev
5db6e5add3 Bug 1812628 - put worker modules behind a flag; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D168129
2023-01-31 15:24:03 +00:00
Yulia Startsev
cf3f5d50f2 Bug 1247687 - Implement csp for Module Workers; r=evilpie,asuth,rpl,ckerschb
Depends on D155691

Differential Revision: https://phabricator.services.mozilla.com/D156102
2023-01-18 13:46:33 +00:00
Yulia Startsev
95e113b169 Bug 1247687 - Handle cancellation of long running modules; r=jonco
This is a slightly annoying thing that can happen. When we abruptly cancel (such as an infinitely
running script being forcibly terminated) we will be in a state where the EvaluateModule call will
finish _after_ the loader is destroyed. So, instead we track if there has been a forcible
cancelation, and exit early.

Depends on D155690

Differential Revision: https://phabricator.services.mozilla.com/D155568
2023-01-18 13:46:32 +00:00
Yulia Startsev
12b7052c36 Bug 1247687 - Use requestCredentials to set secFlags for modules; r=jonco
This implements the specified request credentials behavior from the spec, and is tested in wpt.

Depends on D155566

Differential Revision: https://phabricator.services.mozilla.com/D155690
2023-01-18 13:46:32 +00:00
Yulia Startsev
e700b4b531 Bug 1247687 - Implement requestCredentials for Module Workers; r=jonco
This weaves credentials through from the private to script creation.

Depends on D155567

Differential Revision: https://phabricator.services.mozilla.com/D155566
2023-01-18 13:46:31 +00:00
Yulia Startsev
b327f3e54f Bug 1247687 - Implement correct referrer for modules; r=jonco
In our implementation, we do not have "client" as a referrer, so we resolve the URI directly as part
of ScriptLoadRequest creation.

Depends on D147327

Differential Revision: https://phabricator.services.mozilla.com/D155567
2023-01-18 13:46:31 +00:00
Yulia Startsev
c5bd8065c1 Bug 1247687 - Implement initial Static Module Loading for Workers; r=jonco
This is the first pass of getting static module loading to work. This roughly implements
https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-worklet/module-worker-script-graph --
without some of the settings objects correctly set.

Th WorkerModuleLoader itself is implementing step 5, with the StartFetch method handling moving the work back to the main thread. The algorithm in step 5 is generic to all modules.

Depends on D147329

Differential Revision: https://phabricator.services.mozilla.com/D147327
2023-01-18 13:46:30 +00:00
Yulia Startsev
cb756dd6ff Bug 1247687 - Disallow ImportScripts from module workers; r=jonco
ImportScripts should be disallowed for module works, which are initialized in the following way:
`new Worker("url", { module:true})`. We set the WorkerType for workers accordingly, and can use that
to detect if import scripts are being incorrectly used.

Depends on D147326

Differential Revision: https://phabricator.services.mozilla.com/D147329
2023-01-18 13:46:30 +00:00
Yulia Startsev
abfe829cb9 Bug 1247687 - Implement InitModuleLoader methods for WorkerScriptLoader and WorkerGlobalScope; r=jonco
This implements a method to initialize the moduleLoader for workers. This will initialize only once, for all worker types (module and classic).

Depends on D147324

Differential Revision: https://phabricator.services.mozilla.com/D147326
2023-01-18 13:46:29 +00:00
Jan Varga
880d89fb76 Bug 1808685 - Don't use SerialEventTargetGuard in workers code for now; r=dom-worker-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D166048
2023-01-06 03:11:16 +00:00
Norisz Fay
afd4d3408b Backed out 15 changesets (bug 1247687) as requested by dev CLOSED TREE
Backed out changeset 81d052cabf84 (bug 1247687)
Backed out changeset d698041e5174 (bug 1247687)
Backed out changeset 2adf67f910e8 (bug 1247687)
Backed out changeset 0bc871906e97 (bug 1247687)
Backed out changeset 1700d5b79273 (bug 1247687)
Backed out changeset 31888ffde37a (bug 1247687)
Backed out changeset 9153182c650d (bug 1247687)
Backed out changeset 45de9ffeec19 (bug 1247687)
Backed out changeset 59207e959b7c (bug 1247687)
Backed out changeset 49f18430c465 (bug 1247687)
Backed out changeset 0ae1fd421d4f (bug 1247687)
Backed out changeset 7770ec4717fd (bug 1247687)
Backed out changeset 68b476066248 (bug 1247687)
Backed out changeset c94a9dc60dff (bug 1247687)
Backed out changeset 0ab366c6eaaf (bug 1247687)
2022-12-21 10:48:15 +02:00
Yulia Startsev
765306663b Bug 1247687 - Implement csp for Module Workers; r=evilpie,asuth,rpl,ckerschb
Depends on D155691

Differential Revision: https://phabricator.services.mozilla.com/D156102
2022-12-20 20:56:15 +00:00
Yulia Startsev
c87a9fe8f0 Bug 1247687 - Handle cancellation of long running modules; r=jonco
This is a slightly annoying thing that can happen. When we abruptly cancel (such as an infinitely
running script being forcibly terminated) we will be in a state where the EvaluateModule call will
finish _after_ the loader is destroyed. So, instead we track if there has been a forcible
cancelation, and exit early.

Depends on D155690

Differential Revision: https://phabricator.services.mozilla.com/D155568
2022-12-20 20:56:14 +00:00
Yulia Startsev
f2cb5a7872 Bug 1247687 - Use requestCredentials to set secFlags for modules; r=jonco
This implements the specified request credentials behavior from the spec, and is tested in wpt.

Depends on D155566

Differential Revision: https://phabricator.services.mozilla.com/D155690
2022-12-20 20:56:14 +00:00
Yulia Startsev
358317b4d0 Bug 1247687 - Implement requestCredentials for Module Workers; r=jonco
This weaves credentials through from the private to script creation.

Depends on D155567

Differential Revision: https://phabricator.services.mozilla.com/D155566
2022-12-20 20:56:13 +00:00
Yulia Startsev
c9c261e739 Bug 1247687 - Implement correct referrer for modules; r=jonco
In our implementation, we do not have "client" as a referrer, so we resolve the URI directly as part
of ScriptLoadRequest creation.

Depends on D147327

Differential Revision: https://phabricator.services.mozilla.com/D155567
2022-12-20 20:56:13 +00:00
Yulia Startsev
001269400f Bug 1247687 - Implement initial Static Module Loading for Workers; r=jonco
This is the first pass of getting static module loading to work. This roughly implements
https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-worklet/module-worker-script-graph --
without some of the settings objects correctly set.

Th WorkerModuleLoader itself is implementing step 5, with the StartFetch method handling moving the work back to the main thread. The algorithm in step 5 is generic to all modules.

Depends on D147329

Differential Revision: https://phabricator.services.mozilla.com/D147327
2022-12-20 20:56:13 +00:00
Yulia Startsev
fe49e40c37 Bug 1247687 - Disallow ImportScripts from module workers; r=jonco
ImportScripts should be disallowed for module works, which are initialized in the following way:
`new Worker("url", { module:true})`. We set the WorkerType for workers accordingly, and can use that
to detect if import scripts are being incorrectly used.

Depends on D147326

Differential Revision: https://phabricator.services.mozilla.com/D147329
2022-12-20 20:56:12 +00:00
Yulia Startsev
1f63ccd529 Bug 1247687 - Implement InitModuleLoader methods for WorkerScriptLoader and WorkerGlobalScope; r=jonco
This implements a method to initialize the moduleLoader for workers. This will initialize only once, for all worker types (module and classic).

Depends on D147324

Differential Revision: https://phabricator.services.mozilla.com/D147326
2022-12-20 20:56:12 +00:00
Csoregi Natalia
b7e7a05b44 Backed out 16 changesets (bug 1247687) for frequent string bundle related crashes with PDF viewer (bug 1806064). a=backout
Backed out changeset 721f612fd09f (bug 1247687)
Backed out changeset c6c5750cf713 (bug 1247687)
Backed out changeset 5d05ab0c7cde (bug 1247687)
Backed out changeset 2429599729cb (bug 1247687)
Backed out changeset 55f13fb4ee3f (bug 1247687)
Backed out changeset 354711cf113a (bug 1247687)
Backed out changeset 40b8abaf1c0b (bug 1247687)
Backed out changeset 0c9650a1ac48 (bug 1247687)
Backed out changeset e7b103c79b1a (bug 1247687)
Backed out changeset 4dbd510fb042 (bug 1247687)
Backed out changeset 9276c7e1ddd9 (bug 1247687)
Backed out changeset 6ee318df6641 (bug 1247687)
Backed out changeset 6c129bd72b61 (bug 1247687)
Backed out changeset 4b0a4fcc6894 (bug 1247687)
Backed out changeset 34680059b9f0 (bug 1247687)
Backed out changeset 85b827971a48 (bug 1247687)
2022-12-17 11:27:32 +02:00
Jan Varga
3462e16703 Bug 1803062 - GetCurrentSerialEventTarget should return the nested event target when a sync loop is running; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D163841
2022-12-15 05:15:31 +00:00