diff --git a/source b/source index a92a00a0afb..6a7a4cf44ca 100644 --- a/source +++ b/source @@ -90804,6 +90804,12 @@ document.querySelector("button").addEventListener("click", bound);
reportException
( e )Dispatches an error
event at the global object for the
+ given exception 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 reportException(e)
method steps are to
+ report the exception e.
The ErrorEvent
interface is defined as follows:
[Exposed=(Window,Worker)]
@@ -93839,6 +93849,8 @@ interface mixin WindowOrWorkerGlobalScope {
readonly attribute boolean isSecureContext;
readonly attribute boolean crossOriginIsolated;
+ undefined reportException(any e);
+
// base64 utility methods
DOMString btoa(DOMString data);
ByteString atob(DOMString data);