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

Issue 1088323002: Fix crash when a webview tries to load a plugin resource. (Closed)

Created:
5 years, 8 months ago by lfg
Modified:
5 years, 3 months ago
Reviewers:
Bernhard Bauer, lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, jam, extensions-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 crash when a webview tries to load a plugin resource. BUG=477148 TEST=Load webview browser sample (https://chrome.google.com/webstore/detail/browser-sample/edggnmnajhcbhlnpjnogkjpghaikidaa), use the browser sample app to navigate to a website that embeds a plugin (flash or pdf). Verify that the browser doesn't crash. Committed: https://crrev.com/44c8a68f7c44d5af478717704a508aeaa2a15610 Cr-Commit-Position: refs/heads/master@{#325454}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 1 2 3 chunks +5 lines, -1 line 0 comments Download
A chrome/test/data/extensions/platform_apps/web_view/shim/embed.html View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 3 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
lfg
PTAL, thanks!
5 years, 8 months ago (2015-04-15 19:10:24 UTC) #2
lazyboy
LGTM % one nit https://codereview.chromium.org/1088323002/diff/1/chrome/browser/apps/guest_view/web_view_browsertest.cc File chrome/browser/apps/guest_view/web_view_browsertest.cc (right): https://codereview.chromium.org/1088323002/diff/1/chrome/browser/apps/guest_view/web_view_browsertest.cc#newcode2752 chrome/browser/apps/guest_view/web_view_browsertest.cc:2752: // This test tests that ...
5 years, 8 months ago (2015-04-15 19:18:27 UTC) #3
lfg
https://codereview.chromium.org/1088323002/diff/1/chrome/browser/apps/guest_view/web_view_browsertest.cc File chrome/browser/apps/guest_view/web_view_browsertest.cc (right): https://codereview.chromium.org/1088323002/diff/1/chrome/browser/apps/guest_view/web_view_browsertest.cc#newcode2752 chrome/browser/apps/guest_view/web_view_browsertest.cc:2752: // This test tests that webview won't crash when ...
5 years, 8 months ago (2015-04-15 19:22:32 UTC) #4
lfg
bauerb@chromium.org: Please review changes in chrome/browser/plugins/plugin_info_message_filter.cc Thanks!
5 years, 8 months ago (2015-04-15 19:23:12 UTC) #6
Bernhard Bauer
LGTM w/ a nit: https://codereview.chromium.org/1088323002/diff/20001/chrome/browser/plugins/plugin_info_message_filter.cc File chrome/browser/plugins/plugin_info_message_filter.cc (right): https://codereview.chromium.org/1088323002/diff/20001/chrome/browser/plugins/plugin_info_message_filter.cc#newcode161 chrome/browser/plugins/plugin_info_message_filter.cc:161: const extensions::WebviewInfo* webview_info = Nit: ...
5 years, 8 months ago (2015-04-16 08:02:20 UTC) #7
lfg
https://codereview.chromium.org/1088323002/diff/20001/chrome/browser/plugins/plugin_info_message_filter.cc File chrome/browser/plugins/plugin_info_message_filter.cc (right): https://codereview.chromium.org/1088323002/diff/20001/chrome/browser/plugins/plugin_info_message_filter.cc#newcode161 chrome/browser/plugins/plugin_info_message_filter.cc:161: const extensions::WebviewInfo* webview_info = On 2015/04/16 08:02:20, Bernhard Bauer ...
5 years, 8 months ago (2015-04-16 15:03:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088323002/40001
5 years, 8 months ago (2015-04-16 15:56:08 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-16 16:38:24 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 16:39:13 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/44c8a68f7c44d5af478717704a508aeaa2a15610
Cr-Commit-Position: refs/heads/master@{#325454}

Powered by Google App Engine
This is Rietveld 408576698