Bug 161397 - [[Delete]] should throw for cross-origin Window / Location objects
Summary: [[Delete]] should throw for cross-origin Window / Location objects
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
Keywords: WebExposed
Depends on:
Reported: 2016-08-30 13:26 PDT by Chris Dumez
Modified: 2016-08-30 15:26 PDT (History)
6 users (show)

See Also:

Patch (10.83 KB, patch)
2016-08-30 14:47 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-08-30 13:26:39 PDT
[[Delete]] should throw for cross-origin Window / Location objects:
- https://github.com/whatwg/html/pull/1728

Firefox and Chrome already throw.
Comment 1 Chris Dumez 2016-08-30 14:47:11 PDT
Created attachment 287433 [details]
Comment 2 Chris Dumez 2016-08-30 14:51:06 PDT
Corresponding spec bug:

This is because the spec would cause us to throw only in strict mode, however, Firefox / Chrome throw in non-strict mode as well.

This is being addressed via:
Comment 3 WebKit Commit Bot 2016-08-30 15:26:31 PDT
Comment on attachment 287433 [details]

Clearing flags on attachment: 287433

Committed r205200: <http://trac.webkit.org/changeset/205200>
Comment 4 WebKit Commit Bot 2016-08-30 15:26:39 PDT
All reviewed patches have been landed.  Closing bug.