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

Issue 2344293002: [HBD] Detect user-initiated Flash download in a new window (Closed)

Created:
4 years, 3 months ago by tommycli
Modified:
4 years, 3 months ago
Reviewers:
raymes
CC:
chromium-reviews, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[HBD] Detect user-initiated Flash download in a new window Detects (and suprresses) Flash downloads initiated via clicks to links with target=_blank and JavaScript window.open(). This also suppresses the new window from appearing. Middle-click and context-menu-open-in-new-window remain unaffected. BUG=641619 Committed: https://crrev.com/61f6f0c8a8c97375603ea6a14125573e9cbe0e8d Cr-Commit-Position: refs/heads/master@{#419916}

Patch Set 1 #

Patch Set 2 : fix mac test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -18 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_factory.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/plugins/flash_download_interception.h View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/plugins/flash_download_interception.cc View 1 chunk +32 lines, -17 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (15 generated)
tommycli
raymes: PTAL (this CL deals with the intercepts that should trigger the permission prompt) Thanks!
4 years, 3 months ago (2016-09-16 19:15:35 UTC) #2
raymes
lgtm but I don't know this code very well Should we add a test to ...
4 years, 3 months ago (2016-09-19 02:40:33 UTC) #7
tommycli
On 2016/09/19 02:40:33, raymes wrote: > lgtm but I don't know this code very well ...
4 years, 3 months ago (2016-09-19 16:30:28 UTC) #8
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/2344293002/1
4 years, 3 months ago (2016-09-19 17:51:39 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/298694)
4 years, 3 months ago (2016-09-19 19:35:38 UTC) #12
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/2344293002/1
4 years, 3 months ago (2016-09-19 20:26:35 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/298859)
4 years, 3 months ago (2016-09-19 21:30:33 UTC) #16
tommycli
raymes: PTAL at the change in host_content_settings_map_factory. It's to fix that unit test that uses ...
4 years, 3 months ago (2016-09-20 20:49:58 UTC) #19
raymes
lgtm
4 years, 3 months ago (2016-09-21 00:19:36 UTC) #22
tommycli
On 2016/09/21 00:19:36, raymes wrote: > lgtm thank you! sending it in.
4 years, 3 months ago (2016-09-21 00:20:21 UTC) #23
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/2344293002/20001
4 years, 3 months ago (2016-09-21 00:21:02 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-21 00:27:25 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 00:28:31 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/61f6f0c8a8c97375603ea6a14125573e9cbe0e8d
Cr-Commit-Position: refs/heads/master@{#419916}

Powered by Google App Engine
This is Rietveld 408576698