diff --git a/source b/source index cc8ed1e1713..f75402e80b9 100644 --- a/source +++ b/source @@ -2743,6 +2743,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
The following terms are defined in the WHATWG MIME Sniffing standard:
RequestCredentials
enumerationRequestDestination
enumerationfetch()
methodUser agents that support JavaScript must also implement the BigInt proposal.
+ +User agents that support JavaScript must also implement the JavaScript standard library proposal. + The following terms are defined there, and used in this specification:
+Implementations that support scripting must support the CSS Constructable Stylesheet
+ Objects. The following features and terms are defined in the CSS Constructable Stylesheet
+ Objects specifications:
+
+ The A script is one of two possible A script is one of three possible structs. All scripts have: Either a Script Record, for classic
scripts; a Source Text Module Record, for module scripts; or null. In the former two cases, it represents a parsed script;
+ script">module scripts; a Synthetic Module Record for CSS module scripts; or null. In the
+ former two cases, it represents a parsed script; in the third case, a parsed JSON document;
null represents a failure parsing.
+
+
CSSStyleSheet
constructorreplace()
operation of CSSStyleSheet
CanvasRenderingContext2D
object's use of fonts depends on the features
described in the CSS Fonts and Font Loading specifications, including
in particular FontFace
objects and the ApplicationCache : EventTarget {
Definitions
-
@@ -86786,7 +86806,9 @@ interface ApplicationCache : EventTarget {
A CSS module script is another type of script. It has no additional items.
+The active script is determined by the following algorithm:
response's status is not an ok status
The result of extracting a MIME type from - response's header list is not a - JavaScript MIME type
+Let type be the result of extracting a + MIME type from response's header + list.
-For historical reasons, fetching a - classic script does not include MIME type checking. In contrast, module scripts will - fail to load if they are not of a correct MIME type.
-For historical reasons, fetching a + classic script does not include MIME type checking. In contrast, module scripts' + interpretation is driven by their MIME type, and they will fail to load if they are not of + a supported MIME type.
-Let source text be the result of UTF-8 - decoding response's body.
Let module script be null.
Let module script be the result of creating a module script given - source text, module map settings object, response's url, and options.
If type is a JavaScript MIME type, then:
+ +Let source text be the result of UTF-8 + decoding response's body.
Set module script to the result of creating a module script given + source text, module map settings object, response's url, and options.
If the essence of type is text/css
, then:
Set module script to a new CSS module script that this algorithm + will subsequently initialize.
Let text be the result of running consume body on + response with text.
+ +If this throws an exception, catch it, set module script's + parse error to that exception, and + abort these substeps.
+Let sheet be a new CSSStyleSheet
object, as if the constructor
+ is called with no arguments.
Let promise be the result of invoking the replace()
operation with text as an
+ argument.
Upon fulfillment of promise: +
Set module script's record to CreateSyntheticModule + (« "default" », the following steps, module map settings object's + Realm, sheet) with the + following steps given module as an argument:
+Upon rejection of promise with reason, set module + script's parse error to + reason.
+ +Wait until one of the above promise reactions executes before continuing these + steps.
Set moduleMap[url] to module
@@ -121771,6 +121855,9 @@ INSERT INTERFACES HERE