RESOLVED FIXED Bug 99582
Bind isolatedWorldSecurityOrigin to world
https://bugs.webkit.org/show_bug.cgi?id=99582
Summary Bind isolatedWorldSecurityOrigin to world
Dan Carney
Reported 2012-10-17 04:26:27 PDT
Bind isolatedWorldSecurityOrigin to world
Attachments
Patch (17.22 KB, patch)
2012-10-17 04:36 PDT, Dan Carney
no flags
Patch (17.27 KB, patch)
2012-10-17 09:38 PDT, Dan Carney
no flags
Dan Carney
Comment 1 2012-10-17 04:36:34 PDT
Adam Barth
Comment 2 2012-10-17 09:01:18 PDT
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.
Dan Carney
Comment 3 2012-10-17 09:36:11 PDT
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.
Dan Carney
Comment 4 2012-10-17 09:37:52 PDT
(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.
Dan Carney
Comment 5 2012-10-17 09:38:19 PDT
WebKit Review Bot
Comment 6 2012-10-17 12:34:22 PDT
Comment on attachment 169197 [details] Patch Clearing flags on attachment: 169197 Committed r131629: <http://trac.webkit.org/changeset/131629>
WebKit Review Bot
Comment 7 2012-10-17 12:34:25 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.