diff --git a/source b/source index 9aed02e8141..d6d8f784ad1 100644 --- a/source +++ b/source @@ -94269,14 +94269,8 @@ document.querySelector("button").addEventListener("click", bound);
Set script's parse error and error to rethrow to null.
Let result be ParseScript(source, - settings's Realm, - script).
- -Passing script as the last parameter here ensures - result.[[HostDefined]] will be script.
-Let result be the result of parsing a classic script given + source and script.
If result is a list of errors, then: @@ -94296,6 +94290,26 @@ document.querySelector("button").addEventListener("click", bound);
Return script.
To parse a classic script, given a + string source and an optional classic script + script:
+ +Let realm be undefined.
Let hostDefined be empty.
If script is given, then set realm to script's + settings object's Realm + and hostDefined to script.
Return ParseScript(source, + realm, hostDefined).
Fetch uses parsing a classic script as part of + opaque-response blocking.
+To create a JavaScript module script, given a string source, an environment settings object settings, a URL baseURL, and some script