From e26ab8afe29e23b3a4e34dbb588c285dcf68a8dc Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
omit
"same-origin
"not-parser-inserted
", credentials mode is "omit
", and referrer
- policy is the empty string.
Given a request request and a script fetch options options, we define:
@@ -86842,9 +86841,9 @@ interface ApplicationCache : EventTarget {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).
+ destination, 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).Let visited set be « url ».
not-parser-inserted
", credentials mode is credentials
- mode, and referrer
- policy is the empty string.
+ data-x="concept-script-fetch-options-credentials">credentials mode is "same-origin
", and referrer policy is the empty
+ string.
Perform the internal module script graph fetching procedure given url, fetch client settings object, destination, @@ -86940,6 +86940,11 @@ interface ApplicationCache : EventTarget { data-x="concept-request-client">client is fetch client settings object.
If destination is "worker
" or "sharedworker
" and the top-level module fetch flag is set, then set
+ request's mode to "same-origin
".
+
Set up the module script request given request and options.
module
"credentials
- member of options, and inside settings.In both cases, to perform the fetch
@@ -97688,7 +97692,6 @@ interface Worker : EventTarget {
dictionary WorkerOptions {
WorkerType type = "classic";
- RequestCredentials credentials = "omit"; // credentials is only used if type is "module"
DOMString name = "";
};
@@ -97703,9 +97706,8 @@ enum WorkerType { "classic", "module" };
communication channel. options can be used to define the name of that global environment via the name
option, primarily for debugging purposes. It can also ensure this new
- global environment supports JavaScript modules (specify type: "module"
),
- and if that is specified, can also be used to specify how scriptURL is fetched through
- the credentials
option.
+ global environment supports JavaScript modules (specify type: "module"
).
terminate
()name
option. It can also ensure this new global environment supports JavaScript
- modules (specify type: "module"
), and if that is specified, can also be
- used to specify how scriptURL is fetched through the credentials
option.
+ modules (specify type: "module"
).
port
MessagePort
object which can be used to