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

Issue 2387323002: Fix blob URL blocking for apps that use <webview>. (Closed)

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

Description

Fix blob URL blocking for apps that use <webview>. It should be possible for an app to embed a <webview> and navigate it to a blob URL that the app creates. In a previous security fix (r419019), this navigation was unintentionally blocked, due to <webview> being considered a main frame as well as being in an untrusted web process which is requesting a blob URL in a chrome-extension:// scheme. BUG=652077, 645028 Committed: https://crrev.com/cd20702d3b3dd5224beaa7fd7b876313b33b6b70 Cr-Commit-Position: refs/heads/master@{#422954}

Patch Set 1 #

Patch Set 2 : Done #

Patch Set 3 : Cleanup #

Total comments: 2

Patch Set 4 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -3 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_extensions_network_delegate.cc View 1 2 2 chunks +13 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 1 2 3 2 chunks +24 lines, -1 line 0 comments Download

Messages

Total messages: 33 (20 generated)
alexmos
Charlie/Nasko, please take a look. James: please review the new WebView test.
4 years, 2 months ago (2016-10-04 19:11:35 UTC) #10
Charlie Reis
Thanks, LGTM. Please also list 645028 in the CL description. (Let's chat about whether there ...
4 years, 2 months ago (2016-10-04 19:54:36 UTC) #11
alexmos
https://codereview.chromium.org/2387323002/diff/40001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): https://codereview.chromium.org/2387323002/diff/40001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode2962 chrome/test/data/extensions/platform_apps/web_view/shim/main.js:2962: // This test verifies that mailto links are enabled. ...
4 years, 2 months ago (2016-10-04 20:01:59 UTC) #14
wjmaclean
On 2016/10/04 20:01:59, alexmos wrote: > https://codereview.chromium.org/2387323002/diff/40001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js > File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): > > https://codereview.chromium.org/2387323002/diff/40001/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode2962 > ...
4 years, 2 months ago (2016-10-04 20:39:42 UTC) #15
alexmos
thestig@: can you please review chrome/browser/net/chrome_extensions_network_delegate.cc for OWNERS?
4 years, 2 months ago (2016-10-04 20:43:53 UTC) #18
Lei Zhang
Wouldn't chrome/browser/net/OWNERS be better?
4 years, 2 months ago (2016-10-04 20:45:31 UTC) #19
alexmos
On 2016/10/04 20:45:31, Lei Zhang wrote: > Wouldn't chrome/browser/net/OWNERS be better? I saw that you ...
4 years, 2 months ago (2016-10-04 21:07:58 UTC) #20
nasko
LGTM
4 years, 2 months ago (2016-10-04 21:26:43 UTC) #21
Lei Zhang
On 2016/10/04 21:07:58, alexmos wrote: > On 2016/10/04 20:45:31, Lei Zhang wrote: > > Wouldn't ...
4 years, 2 months ago (2016-10-04 21:32:30 UTC) #22
eroman
lgtm
4 years, 2 months ago (2016-10-04 21:54:04 UTC) #26
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/2387323002/60001
4 years, 2 months ago (2016-10-04 22:03:08 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-04 22:09:51 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 22:11:41 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cd20702d3b3dd5224beaa7fd7b876313b33b6b70
Cr-Commit-Position: refs/heads/master@{#422954}

Powered by Google App Engine
This is Rietveld 408576698