Bug 161460 - Object.defineProperty() should throw cross-origin
Summary: Object.defineProperty() should throw cross-origin
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-08-31 15:06 PDT by Chris Dumez
Modified: 2016-09-02 12:02 PDT (History)
7 users (show)

See Also:


Attachments
Patch (17.29 KB, patch)
2016-08-31 16:44 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (17.25 KB, patch)
2016-08-31 17:03 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (17.33 KB, patch)
2016-09-01 10:34 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (17.32 KB, patch)
2016-09-02 11:25 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-31 15:06:33 PDT
Object.defineProperty() should throw cross-origin to match Firefox and Chrome.

The specification is in the process of being updated to match the behavior of browsers.
Comment 1 Chris Dumez 2016-08-31 16:44:35 PDT
Created attachment 287566 [details]
Patch
Comment 2 Chris Dumez 2016-08-31 17:03:12 PDT
Created attachment 287570 [details]
Patch
Comment 3 Chris Dumez 2016-09-01 10:34:46 PDT
Created attachment 287631 [details]
Patch
Comment 4 Chris Dumez 2016-09-02 11:25:50 PDT
Created attachment 287787 [details]
Patch
Comment 5 Geoffrey Garen 2016-09-02 11:39:28 PDT
Comment on attachment 287787 [details]
Patch

r=me
Comment 6 WebKit Commit Bot 2016-09-02 12:02:17 PDT
Comment on attachment 287787 [details]
Patch

Clearing flags on attachment: 287787

Committed r205358: <http://trac.webkit.org/changeset/205358>
Comment 7 WebKit Commit Bot 2016-09-02 12:02:21 PDT
All reviewed patches have been landed.  Closing bug.