Bug 161248

Summary: Trying to access cross-origin Location properties should throw a SecurityError
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=161270
https://bugs.webkit.org/show_bug.cgi?id=161316
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2016-08-26 09:12:12 PDT
Trying to access cross-origin Location properties should throw a SecurityError: - https://html.spec.whatwg.org/#crossorigingetownpropertyhelper-(-o,-p-) - https://html.spec.whatwg.org/#crossoriginproperties-(-o-) Firefox and Chrome already throw. However, WebKit logs an error message and returns undefined.
Attachments
Patch (161.63 KB, patch)
2016-08-26 09:15 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-08-26 09:15:09 PDT
Chris Dumez
Comment 2 2016-08-26 10:38:50 PDT
Comment on attachment 287110 [details] Patch Clearing flags on attachment: 287110 Committed r205026: <http://trac.webkit.org/changeset/205026>
Chris Dumez
Comment 3 2016-08-26 10:38:54 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.