Object.preventExtensions() should throw cross-origin: - https://html.spec.whatwg.org/#windowproxy-preventextensions - https://html.spec.whatwg.org/#location-preventextensions - http://www.ecma-international.org/ecma-262/6.0/#sec-object.preventextensions Firefox and Chrome both throw in the cross-origin case.
Created attachment 287619 [details] Patch
Created attachment 287788 [details] Patch
Comment on attachment 287788 [details] Patch r=me
Comment on attachment 287788 [details] Patch Clearing flags on attachment: 287788 Committed r205359: <http://trac.webkit.org/changeset/205359>
All reviewed patches have been landed. Closing bug.