|
|
DescriptionAllow <webview> to access URLs in the origin of the app embedding it.
With r422474 creation of blob: URLs with origin of a chrome-extension://
was locked down. However, the case of a <webview> loading an
accessible_resource from its embedder and creating a blob: is disallowed.
This CL adds permission for <webview> to create such URLs in the origin
of its embedder.
This CL is based on work by nick@chromium.org.
BUG=652784, 644966
Committed: https://crrev.com/5edda59b0b1cb8fff058b47567ac32e58be5168a
Cr-Commit-Position: refs/heads/master@{#422976}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 21 (11 generated)
The CQ bit was checked by nasko@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
nasko@chromium.org changed reviewers: + creis@chromium.org, wjmaclean@chromium.org
Hey Charlie and James, Can you review this CL? Thanks in advance! Nasko
Description was changed from ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. BUG=652784 ========== to ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. This CL is based on work by nick@chromium.org. BUG=652784 ==========
LGTM, thanks. Let's also list 644966 in the CL description, since we may need to merge both this and the original fix.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. This CL is based on work by nick@chromium.org. BUG=652784 ========== to ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. This CL is based on work by nick@chromium.org. BUG=652784, 644966 ==========
nasko@chromium.org changed reviewers: + lazyboy@chromium.org
Adding lazyboy@ for OWNERS review.
lgtm
web_view lgtm with one comment. https://codereview.chromium.org/2396533003/diff/1/chrome/test/data/extensions... File chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js (right): https://codereview.chromium.org/2396533003/diff/1/chrome/test/data/extensions... chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js:20: URL.createObjectURL(new Blob([])); This seems unrelated to this test. If you're in a rush, you should at least put a comment and a TODO to extract this to a separate test.
On 2016/10/04 22:15:32, lazyboy wrote: > web_view lgtm with one comment. > > https://codereview.chromium.org/2396533003/diff/1/chrome/test/data/extensions... > File > chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js > (right): > > https://codereview.chromium.org/2396533003/diff/1/chrome/test/data/extensions... > chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js:20: > URL.createObjectURL(new Blob([])); > This seems unrelated to this test. > If you're in a rush, you should at least put a comment and a TODO to extract > this to a separate test. Yes, it is unrelated, however any other place I looked at to put it in were strictly worse. I have a list of follow ups for those tests and I'll make sure it gets addressed. I want to avoid adding a TODO, since I need this to land today : (. Thanks for the review!
The CQ bit was checked by nasko@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/10/04 22:37:45, nasko (slow) wrote: > On 2016/10/04 22:15:32, lazyboy wrote: > > web_view lgtm with one comment. > > > > > https://codereview.chromium.org/2396533003/diff/1/chrome/test/data/extensions... > > File > > chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js > > (right): > > > > > https://codereview.chromium.org/2396533003/diff/1/chrome/test/data/extensions... > > > chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js:20: > > URL.createObjectURL(new Blob([])); > > This seems unrelated to this test. > > If you're in a rush, you should at least put a comment and a TODO to extract > > this to a separate test. > > Yes, it is unrelated, however any other place I looked at to put it in were > strictly worse. I have a list of follow ups for those tests and I'll make sure > it gets addressed. Ok thanks. SLGTM. I want to avoid adding a TODO, since I need this to land > today : (. > Thanks for the review!
Message was sent while issue was closed.
Description was changed from ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. This CL is based on work by nick@chromium.org. BUG=652784, 644966 ========== to ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. This CL is based on work by nick@chromium.org. BUG=652784, 644966 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. This CL is based on work by nick@chromium.org. BUG=652784, 644966 ========== to ========== Allow <webview> to access URLs in the origin of the app embedding it. With r422474 creation of blob: URLs with origin of a chrome-extension:// was locked down. However, the case of a <webview> loading an accessible_resource from its embedder and creating a blob: is disallowed. This CL adds permission for <webview> to create such URLs in the origin of its embedder. This CL is based on work by nick@chromium.org. BUG=652784, 644966 Committed: https://crrev.com/5edda59b0b1cb8fff058b47567ac32e58be5168a Cr-Commit-Position: refs/heads/master@{#422976} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/5edda59b0b1cb8fff058b47567ac32e58be5168a Cr-Commit-Position: refs/heads/master@{#422976} |