Summary: | Object.getPrototypeOf() should return null cross-origin | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, commit-queue, darin, ggaren, keith_miller, mark.lam, msaboff, rniwa, saam, sam | ||||
Priority: | P2 | Keywords: | WebExposed | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=161396 https://bugs.webkit.org/show_bug.cgi?id=161455 |
||||||
Attachments: |
|
Description
Chris Dumez
2016-08-30 11:16:23 PDT
Created attachment 287413 [details]
Patch
Ping review? Comment on attachment 287413 [details]
Patch
r=me
Not directly related to this patch, but it seems weird that Object.getPrototypeOf() needs to walk the stack. Why can't it just compare the callee's global object to the passed-in object's global object?
Comment on attachment 287413 [details] Patch Clearing flags on attachment: 287413 Committed r205258: <http://trac.webkit.org/changeset/205258> All reviewed patches have been landed. Closing bug. |