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

Issue 2627493002: [PPS] Exclude same-origin tiny plugins. (Closed)

Created:
3 years, 11 months ago by tommycli
Modified:
3 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[PPS] Exclude same-origin tiny plugins. Tiny plugins will now always be disabled by plugin power saver, even if they have the same origin as the main page. BUG=675707 patch from issue 2576893003 at patchset 1 (http://crrev.com/2576893003#ps1) Review-Url: https://codereview.chromium.org/2627493002 Cr-Commit-Position: refs/heads/master@{#443127} Committed: https://chromium.googlesource.com/chromium/src/+/4d26738f00698ad57b12bf969251513b5260f954

Patch Set 1 #

Patch Set 2 : add one more check #

Patch Set 3 : add one more test #

Patch Set 4 : fix test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -6 lines) Patch
M chrome/browser/plugins/plugin_power_saver_browsertest.cc View 1 2 3 2 chunks +27 lines, -0 lines 2 comments Download
M chrome/renderer/plugins/power_saver_info.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download
A chrome/test/data/plugin_power_saver/same_origin_tiny_plugin.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_features.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/peripheral_content_heuristic.cc View 1 4 chunks +18 lines, -3 lines 0 comments Download
M content/renderer/peripheral_content_heuristic_unittest.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (14 generated)
tommycli
jochen: PTAL, thanks!
3 years, 11 months ago (2017-01-10 17:06:00 UTC) #10
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/2627493002/diff/80001/chrome/browser/plugins/plugin_power_saver_browsertest.cc File chrome/browser/plugins/plugin_power_saver_browsertest.cc (right): https://codereview.chromium.org/2627493002/diff/80001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#newcode607 chrome/browser/plugins/plugin_power_saver_browsertest.cc:607: void SetUpInProcessBrowserTestFixture() override { nit. please add a ...
3 years, 11 months ago (2017-01-11 09:48:07 UTC) #13
tommycli
https://codereview.chromium.org/2627493002/diff/80001/chrome/browser/plugins/plugin_power_saver_browsertest.cc File chrome/browser/plugins/plugin_power_saver_browsertest.cc (right): https://codereview.chromium.org/2627493002/diff/80001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#newcode607 chrome/browser/plugins/plugin_power_saver_browsertest.cc:607: void SetUpInProcessBrowserTestFixture() override { On 2017/01/11 09:48:06, jochen wrote: ...
3 years, 11 months ago (2017-01-11 18:34:40 UTC) #14
tommycli
On 2017/01/11 18:34:40, tommycli wrote: > https://codereview.chromium.org/2627493002/diff/80001/chrome/browser/plugins/plugin_power_saver_browsertest.cc > File chrome/browser/plugins/plugin_power_saver_browsertest.cc (right): > > https://codereview.chromium.org/2627493002/diff/80001/chrome/browser/plugins/plugin_power_saver_browsertest.cc#newcode607 > ...
3 years, 11 months ago (2017-01-12 01:14:14 UTC) #15
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/2627493002/80001
3 years, 11 months ago (2017-01-12 01:15:25 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 02:52:33 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/4d26738f00698ad57b12bf969251...

Powered by Google App Engine
This is Rietveld 408576698