[Webkit-unassigned] [Bug 169787] New: Allow setting the prototype of cross-origin objects, as long as they don't change
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 16 14:37:35 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=169787
Bug ID: 169787
Summary: Allow setting the prototype of cross-origin objects,
as long as they don't change
Classification: Unclassified
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Bindings
Assignee: webkit-unassigned at lists.webkit.org
Reporter: d at domenic.me
CC: cdumez at apple.com
A recent spec tweak made WindowProxy and Location consistent with Object.prototype in the ECMAScript spec, in that you are allowed to set their prototype as long as you don't *change* it. Safari Tech Preview implements the spec perfectly before this tweak; sorry to change this from under you.
The following web platform tests should cover the new behavior exhaustively:
- WindowProxy
- http://w3c-test.org/html/browsers/the-windowproxy-exotic-object/windowproxy-prototype-setting-cross-origin-domain.sub.html
- http://w3c-test.org/html/browsers/the-windowproxy-exotic-object/windowproxy-prototype-setting-cross-origin.sub.html
- http://w3c-test.org/html/browsers/the-windowproxy-exotic-object/windowproxy-prototype-setting-goes-cross-origin-domain.sub.html
- http://w3c-test.org/html/browsers/the-windowproxy-exotic-object/windowproxy-prototype-setting-same-origin-domain.sub.html
- http://w3c-test.org/html/browsers/the-windowproxy-exotic-object/windowproxy-prototype-setting-same-origin.html
- Location
- http://w3c-test.org/html/browsers/history/the-location-interface/location-prototype-setting-cross-origin-domain.sub.html
- http://w3c-test.org/html/browsers/history/the-location-interface/location-prototype-setting-cross-origin.sub.html
- http://w3c-test.org/html/browsers/history/the-location-interface/location-prototype-setting-goes-cross-origin-domain.sub.html
- http://w3c-test.org/html/browsers/history/the-location-interface/location-prototype-setting-same-origin-domain.sub.html
- http://w3c-test.org/html/browsers/history/the-location-interface/location-prototype-setting-same-origin.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170316/ea679b26/attachment.html>
More information about the webkit-unassigned
mailing list