Bind isolatedWorldSecurityOrigin to world
Created attachment 169153 [details] Patch
Comment on attachment 169153 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169153&action=review This has the effect of making the security origin for isolated worlds global rather than per-frame. That seems like what the embedder would want. I presume the next step is to store this information in DOMWrapperWorld directly rather than using a hash map. > LayoutTests/http/tests/security/isolatedWorld/cross-origin-xhr.html:51 > + testRunner.setIsolatedWorldSecurityOrigin(1, null); > + testRunner.setIsolatedWorldSecurityOrigin(2, null); Looks like you've got a bad indent here. Please use spaces rather than tabs.
Comment on attachment 169153 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169153&action=review >> LayoutTests/http/tests/security/isolatedWorld/cross-origin-xhr.html:51 >> + testRunner.setIsolatedWorldSecurityOrigin(2, null); > > Looks like you've got a bad indent here. Please use spaces rather than tabs. done.
(In reply to comment #2) > (From update of attachment 169153 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=169153&action=review > > This has the effect of making the security origin for isolated worlds global rather than per-frame. That seems like what the embedder would want. > > I presume the next step is to store this information in DOMWrapperWorld directly rather than using a hash map. Unfortunately, there is a mismatch between the lifetimes of the object, so this may have to stay as a hashmap for now.
Created attachment 169197 [details] Patch
Comment on attachment 169197 [details] Patch Clearing flags on attachment: 169197 Committed r131629: <http://trac.webkit.org/changeset/131629>
All reviewed patches have been landed. Closing bug.