diff --git a/source b/source index 2529743aa6e..da353fac63d 100644 --- a/source +++ b/source @@ -2639,6 +2639,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
The following feature is defined in Worklets:
- -WorkletGlobalScope
WorkletGlobalScope
's owner documentRemove document from the
owner set of each WorkerGlobalScope
object whose set contains document.
For each workletGlobalScope in + document's worklet global + scopes, terminate + workletGlobalScope.
To discard a browsing
@@ -79661,12 +79655,12 @@ interface BarProp {
Set settings object's id to
- reservedEnvironment's id, settings
- object's target browsing
- context to reservedEnvironment's target browsing context, and
- settings object's active
- service worker to reservedEnvironment's reservedEnvironment's id, target browsing context to
+ reservedEnvironment's target browsing context, and active service worker to
+ reservedEnvironment's active service worker.
To obtain a worklet agent, given an environment settings object +
To obtain a worklet agent, given an environment settings object outside settings, return the result of obtaining a worker/worklet agent given outside settings, false, and false.
@@ -89201,15 +89195,9 @@ document.querySelector("button").addEventListener("click", bound);If global is a WorkletGlobalScope
, then:
If global is a WorkletGlobalScope
, then return true.
If global's owner - document's relevant settings object is a secure context, - then return true.
Return false.
Worklets can only be created in secure contexts.
To fetch a module worker script graph given a url, a fetch client settings object, a destination, a - credentials mode, and a module map settings object, run these steps. The - algorithm will asynchronously complete with either null (on failure) or a module - script (on success).
+ credentials mode, and a module map settings object, fetch a + worklet/module worker script graph given url, fetch client settings + object, destination, credentials mode, and module map settings + object, asynchronously completing with the asynchronous completion result of that + algorithm. + +To fetch a worklet script graph given a url, a fetch client settings + object, a destination, a credentials mode, a module map settings + object, and a module responses map, fetch a worklet/module worker script + graph given url, fetch client settings object, + destination, credentials mode, and module map settings object, + asynchronously completing with the asynchronous completion result of that algorithm. Use the + following custom steps to perform the fetch + given response:
Let options be a script fetch options whose cryptographic nonce is the empty string, integrity metadata is the empty string,
- parser metadata is "not-parser-inserted
", credentials mode is credentials
- mode, and referrer
- policy is the empty string.
Let requestURL be request's url.
Fetch a single module script given url, fetch client settings
- object, destination, options, module map settings object,
- "client
", and with the top-level module fetch flag set. If the
- caller of this algorithm specified custom perform
- the fetch steps, pass those along as well. Wait until the algorithm asynchronously
- completes with result.
If moduleResponsesMap[requestURL] is "fetching
", wait in parallel until that entry's value changes, then
+ queue a task on the networking task source to proceed with running the
+ following steps.
If result is null, asynchronously complete this algorithm with null, and - return.
If moduleResponsesMap[requestURL] exists, then asynchronously complete the perform the fetch steps with + moduleResponsesMap[requestURL].
Let visited set be « url ».
Set moduleResponsesMap[requestURL] to
+ "fetching
".
Fetch the - descendants of and link result given fetch client settings - object, destination, and visited set. When this asynchronously - completes with final result, asynchronously complete this algorithm with final - result.
Fetch request. To process + response for the response response:
+ +Set moduleResponsesMap[requestURL] to + response.
Asynchronously complete the perform the + fetch steps with response.
This diagram illustrates how these algorithms relate to the ones above, as well as to each other:
-