Bug 171415

Summary: Implement the `muted-errors` property of Scripts to avoid onerror/onunhandledrejection for cross-origin scripts
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: joepeck, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Joseph Pecoraro
Reported 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.
Attachments
Joseph Pecoraro
Comment 1 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.
Note You need to log in before you can comment on or make changes to this bug.