diff --git a/source b/source index 272f5c1bada..3f73a2aa0c8 100644 --- a/source +++ b/source @@ -89120,12 +89120,18 @@ interface ApplicationCache : EventTarget { script">module scripts; or null. In the former two cases, it represents a parsed script; null represents a failure parsing.

-
A parse - error
+
A parse error
-

A JavaScript value, which has meaning only if the record is null, indicating that the corresponding script - source text could not be parsed.

+
+

A JavaScript value, which has meaning only if the record is null, indicating that the corresponding script + source text could not be parsed.

+ +

This value is used for internal tracking of immediate parse errors when creating scripts, and is not to be used directly. Instead, consult + the error to rethrow when determining + "what went wrong" for this script.

+
An error to rethrow
@@ -89134,6 +89140,11 @@ interface ApplicationCache : EventTarget {

A JavaScript value representing an error that will prevent evaluation from succeeding. It will be re-thrown by any attempts to run the script.

+

This could be the script's parse + error, but in the case of a module script it could instead be the + parse error from one of its dependencies, or + an error from resolve a module specifier.

+

Since this exception value is provided by the JavaScript specification, we know that it is never null, so we use null to signal that no error has occurred.