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

Issue 1091253004: Fix MimeHandlerView plugin loading for data: URLs (Closed)

Created:
5 years, 8 months ago by raymes
Modified:
5 years, 8 months ago
Reviewers:
Sam McNally, davidben
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, jam, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix MimeHandlerView plugin loading for data: URLs MimeHandlerView plugins are passed access to the URL data by intercepting the stream (in buffered_resource_handler.cc). This means that all URL requests for these plugins need to go via the browser, otherwise they won't be correctly intercepted. WebURLRequests for data: URLs have a fast path for being loaded in the renderer which cannot be taken in the case of loading these URLs. BUG=477866 Committed: https://crrev.com/96cd5860a98bab78d22feb5d77866b466f45a982 Cr-Commit-Position: refs/heads/master@{#326421}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Messages

Total messages: 13 (4 generated)
raymes
5 years, 8 months ago (2015-04-22 03:52:56 UTC) #2
Sam McNally
https://codereview.chromium.org/1091253004/diff/20001/chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html File chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html (right): https://codereview.chromium.org/1091253004/diff/20001/chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html#newcode3 chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html:3: <object id="plugin" width="200" height="200" data="data:text/csv;base64,Y29udGVudCB0byByZWFkCg==" type="text/csv"></object> Please add a ...
5 years, 8 months ago (2015-04-22 04:05:04 UTC) #3
raymes
https://codereview.chromium.org/1091253004/diff/20001/chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html File chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html (right): https://codereview.chromium.org/1091253004/diff/20001/chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html#newcode3 chrome/test/data/extensions/api_test/mime_handler_view/test_embedded_data_url.html:3: <object id="plugin" width="200" height="200" data="data:text/csv;base64,Y29udGVudCB0byByZWFkCg==" type="text/csv"></object> On 2015/04/22 04:05:03, ...
5 years, 8 months ago (2015-04-22 04:11:48 UTC) #4
raymes
+davidben for content/child/web_url_loader_impl.cc
5 years, 8 months ago (2015-04-22 04:12:20 UTC) #6
Sam McNally
lgtm
5 years, 8 months ago (2015-04-22 04:32:18 UTC) #7
davidben
lgtm
5 years, 8 months ago (2015-04-22 15:19:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091253004/80001
5 years, 8 months ago (2015-04-22 23:56:36 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-23 01:44:10 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 01:45:00 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/96cd5860a98bab78d22feb5d77866b466f45a982
Cr-Commit-Position: refs/heads/master@{#326421}

Powered by Google App Engine
This is Rietveld 408576698