Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Issue 2396533003: Allow <webview> to access URLs in the origin of the app embedding it. (Closed)

Created:
4 years, 2 months ago by nasko
Modified:
4 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js View 1 chunk +1 line, -0 lines 1 comment Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 21 (11 generated)
nasko
Hey Charlie and James, Can you review this CL? Thanks in advance! Nasko
4 years, 2 months ago (2016-10-04 19:22:56 UTC) #4
Charlie Reis
LGTM, thanks. Let's also list 644966 in the CL description, since we may need to ...
4 years, 2 months ago (2016-10-04 19:59:40 UTC) #6
nasko
Adding lazyboy@ for OWNERS review.
4 years, 2 months ago (2016-10-04 22:03:38 UTC) #11
wjmaclean
lgtm
4 years, 2 months ago (2016-10-04 22:11:23 UTC) #12
lazyboy
web_view lgtm with one comment. https://codereview.chromium.org/2396533003/diff/1/chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js 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/platform_apps/web_view/guest_focus_test/guest.js#newcode20 chrome/test/data/extensions/platform_apps/web_view/guest_focus_test/guest.js:20: URL.createObjectURL(new Blob([])); This seems ...
4 years, 2 months ago (2016-10-04 22:15:32 UTC) #13
nasko
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/platform_apps/web_view/guest_focus_test/guest.js > ...
4 years, 2 months ago (2016-10-04 22:37:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2396533003/1
4 years, 2 months ago (2016-10-04 22:38:12 UTC) #16
lazyboy
On 2016/10/04 22:37:45, nasko (slow) wrote: > On 2016/10/04 22:15:32, lazyboy wrote: > > web_view ...
4 years, 2 months ago (2016-10-04 22:39:33 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-04 22:45:14 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 22:48:03 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5edda59b0b1cb8fff058b47567ac32e58be5168a
Cr-Commit-Position: refs/heads/master@{#422976}

Powered by Google App Engine
This is Rietveld 408576698