From 2c8eef6d8901be84f41093a6f6758362cb413696 Mon Sep 17 00:00:00 2001
From: Simon Pieters Let location be an absolute URL that corresponds to the
- resource from which script was obtained. Let urlString be the result of applying the URL serializer to the URL record that
+ corresponds to the resource from which script was obtained. The resource containing the script will typically be the file from which the
If script has muted errors, then set message to " Let notHandled be the result of firing an
@@ -88051,7 +88052,7 @@ document.querySelector("button").addEventListener("click", bound);
The Document
was parsed, e.g. for inline script
elements or event
@@ -88043,7 +88044,7 @@ document.querySelector("button").addEventListener("click", bound);
Script error.
", location to the empty string, line and
+ data-x="">Script error.", urlString to the empty string, line and
col to 0, and errorValue to null.ErrorEvent
, with the cancelable
attribute
initialized to true, the message
attribute
initialized to message, the filename
- attribute initialized to location, the urlString, the
lineno
attribute initialized to line, the colno
attribute initialized to col, and the error
attribute initialized to
@@ -88108,8 +88109,8 @@ dictionary ErrorEventInit : EventInit {
value it was initialized to. It represents the error message.filename
attribute must return the
- value it was initialized to. It represents the absolute URL of the script in which
- the error originally occurred.
The lineno
attribute must return the
value it was initialized to. It represents the line number where the error occurred in the