Bug 171415 - Implement the `muted-errors` property of Scripts to avoid onerror/onunhandledrejection for cross-origin scripts
Summary: Implement the `muted-errors` property of Scripts to avoid onerror/onunhandled...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-27 20:07 PDT by Joseph Pecoraro
Modified: 2017-04-27 20:09 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2017-04-27 20:07:49 PDT
Implement the `muted-errors` property of Scripts to avoid onerror/onunhandledrejection for cross-origin scripts:
https://html.spec.whatwg.org/multipage/webappapis.html#muted-errors

This flag is set on Cross Origin scripts and used to avoid dispatching error events for them.
Comment 1 Joseph Pecoraro 2017-04-27 20:09:07 PDT
Note in some cases we won't want to mute cross-origin errors from making it to Web Inspector's console, just prevent it from the web exposed handlers.