diff --git a/source b/source index 3c6ff1817c2..f51796be95a 100644 --- a/source +++ b/source @@ -91040,6 +91040,12 @@ document.querySelector("button").addEventListener("click", bound);
reportError
( e )Dispatches an error
event at the global object for the
+ given value e, in the same fashion as an unhandled exception.
In various scenarios, the user agent can report an exception by firing an error
event at the Window
. If this event is not canceled,
then the error is considered not handled, and can be reported to the developer console.
The reportError(e)
method steps are to
+ report the exception e.
The ErrorEvent
interface is defined as follows:
[Exposed=(Window,Worker)]
@@ -94075,6 +94085,8 @@ interface mixin WindowOrWorkerGlobalScope {
readonly attribute boolean isSecureContext;
readonly attribute boolean crossOriginIsolated;
+ undefined reportError(any e);
+
// base64 utility methods
DOMString btoa(DOMString data);
ByteString atob(DOMString data);