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

Issue 16059004: [content shell] only allow test plugins to load during layout tests (Closed)

Created:
7 years, 6 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 6 months ago
Reviewers:
marja, Jói, abarth-chromium
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

[content shell] only allow test plugins to load during layout tests BUG=242291 TBR=marja@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202392

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -1 line) Patch
M content/content_shell.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/plugin_service_filter.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/shell_browser_main_parts.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/shell/shell_browser_main_parts.cc View 4 chunks +8 lines, -1 line 0 comments Download
A content/shell/shell_plugin_service_filter.h View 1 chunk +37 lines, -0 lines 0 comments Download
A content/shell/shell_plugin_service_filter.cc View 1 chunk +35 lines, -0 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
jochen (gone - plz use gerrit)
7 years, 6 months ago (2013-05-27 08:23:09 UTC) #1
marja
lgtm
7 years, 6 months ago (2013-05-27 08:25:49 UTC) #2
jochen (gone - plz use gerrit)
tbr joi@ for the content/public cleanup
7 years, 6 months ago (2013-05-27 08:28:40 UTC) #3
jochen (gone - plz use gerrit)
Committed patchset #1 manually as r202392 (presubmit successful).
7 years, 6 months ago (2013-05-27 09:24:13 UTC) #4
Jói
LGTM for //content/public.
7 years, 6 months ago (2013-05-27 10:53:49 UTC) #5
Noel Gordon
Can't deduce from the change description "why" this change was needed. Seems plugins/embed-attributes-style.html started failing ...
7 years, 6 months ago (2013-05-28 04:29:12 UTC) #6
jochen (gone - plz use gerrit)
On 2013/05/28 04:29:12, Noel Gordon (Google) wrote: > Can't deduce from the change description "why" ...
7 years, 6 months ago (2013-05-28 07:15:48 UTC) #7
abarth-chromium
7 years, 6 months ago (2013-05-28 07:56:12 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/16059004/diff/1/content/shell/shell_plugin_se...
File content/shell/shell_plugin_service_filter.cc (right):

https://codereview.chromium.org/16059004/diff/1/content/shell/shell_plugin_se...
content/shell/shell_plugin_service_filter.cc:27: return false;
Why not just:

return plugin->name == ASCIIToUTF16("WebKit Test PlugIn") ||
    plugin->name == ASCIIToUTF16("NPAPI Test Plugin";

?

Powered by Google App Engine
This is Rietveld 408576698