New issue
Advanced search Search tips

Issue 676096 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[HBD] Flash navigations in popup windows are not intercepted

Project Member Reported by tommycli@chromium.org, Dec 20 2016

Issue description

Repro steps:

0. Make sure HBD is on, Flash is installed.
1. Goto http://pps-test-a.appspot.com/popup.html
2. Click the link to open the popup.
3. Click the Download Flash link.
4. Observe that the navigation is not intercepted.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Dec 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc

commit d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc
Author: tommycli <tommycli@chromium.org>
Date: Thu Dec 22 22:12:01 2016

[HBD] Intercept Flash navigations in popup windows.

This CL turns up the Flash download interception aggression - by making
it apply to popup windows as well.

This should be fairly harmless.

BUG= 676096 

Review-Url: https://codereview.chromium.org/2590363003
Cr-Commit-Position: refs/heads/master@{#440518}

[modify] https://crrev.com/d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc/chrome/browser/plugins/flash_download_interception.cc
[modify] https://crrev.com/d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc/chrome/browser/plugins/flash_permission_browsertest.cc
[modify] https://crrev.com/d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc/chrome/test/data/permissions/flash.js

Labels: Merge-Request-56

Comment 3 by dimu@chromium.org, Dec 23 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)

Comment 4 by ericde@google.com, Dec 24 2016

looks like this also impacts NFL.com's gamepass, which pops a window to watch the game, and then also detects in that window.
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 27 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 6 by sheriffbot@chromium.org, Dec 30 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 7 by bugdroid1@chromium.org, Jan 9 2017

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/85b4f6a7e6cb7792c9af14a82a8260f66f4355ed

commit 85b4f6a7e6cb7792c9af14a82a8260f66f4355ed
Author: Tommy C. Li <tommycli@chromium.org>
Date: Mon Jan 09 19:43:07 2017

[HBD] Intercept Flash navigations in popup windows.

This CL turns up the Flash download interception aggression - by making
it apply to popup windows as well.

This should be fairly harmless.

BUG= 676096 

Review-Url: https://codereview.chromium.org/2590363003
Cr-Commit-Position: refs/heads/master@{#440518}
(cherry picked from commit d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc)

Review-Url: https://codereview.chromium.org/2623593002 .
Cr-Commit-Position: refs/branch-heads/2924@{#703}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/85b4f6a7e6cb7792c9af14a82a8260f66f4355ed/chrome/browser/plugins/flash_download_interception.cc
[modify] https://crrev.com/85b4f6a7e6cb7792c9af14a82a8260f66f4355ed/chrome/browser/plugins/flash_permission_browsertest.cc
[modify] https://crrev.com/85b4f6a7e6cb7792c9af14a82a8260f66f4355ed/chrome/test/data/permissions/flash.js

Status: Fixed (was: Started)
Project Member

Comment 9 by bugdroid1@chromium.org, Jan 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1bd7c525a6024db82d6c5f24277c84b09edeb341

commit 1bd7c525a6024db82d6c5f24277c84b09edeb341
Author: dewittj <dewittj@chromium.org>
Date: Mon Jan 09 22:35:46 2017

Revert of [HBD] Intercept Flash navigations in popup windows. (patchset #1 id:1 of https://codereview.chromium.org/2623593002/ )

Reason for revert:
PageReloadWaiter not defined.

Original issue's description:
> [HBD] Intercept Flash navigations in popup windows.
>
> This CL turns up the Flash download interception aggression - by making
> it apply to popup windows as well.
>
> This should be fairly harmless.
>
> BUG= 676096 
>
> Review-Url: https://codereview.chromium.org/2590363003
> Cr-Commit-Position: refs/heads/master@{#440518}
> (cherry picked from commit d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc)
>
> Review-Url: https://codereview.chromium.org/2623593002 .
> Cr-Commit-Position: refs/branch-heads/2924@{#703}
> Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}
> Committed: https://chromium.googlesource.com/chromium/src/+/85b4f6a7e6cb7792c9af14a82a8260f66f4355ed

TBR=tommycli@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 676096 ,679496

Review-Url: https://codereview.chromium.org/2622643004
Cr-Commit-Position: refs/branch-heads/2924@{#707}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/1bd7c525a6024db82d6c5f24277c84b09edeb341/chrome/browser/plugins/flash_download_interception.cc
[modify] https://crrev.com/1bd7c525a6024db82d6c5f24277c84b09edeb341/chrome/browser/plugins/flash_permission_browsertest.cc
[modify] https://crrev.com/1bd7c525a6024db82d6c5f24277c84b09edeb341/chrome/test/data/permissions/flash.js

Project Member

Comment 10 by bugdroid1@chromium.org, Jan 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d3ed2163bfdd00c29966c43c46afbd678ab4a8a9

commit d3ed2163bfdd00c29966c43c46afbd678ab4a8a9
Author: Tommy C. Li <tommycli@chromium.org>
Date: Tue Jan 10 00:26:39 2017

[HBD] Intercept Flash navigations in popup windows.

This CL turns up the Flash download interception aggression - by making
it apply to popup windows as well.

This should be fairly harmless.

BUG= 676096 

Review-Url: https://codereview.chromium.org/2590363003
Cr-Commit-Position: refs/heads/master@{#440518}
(cherry picked from commit d60fef6f171bacc82ecaf3f1d4b70450d49ad1cc)

Review-Url: https://codereview.chromium.org/2627483002 .
Cr-Commit-Position: refs/branch-heads/2924@{#708}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/d3ed2163bfdd00c29966c43c46afbd678ab4a8a9/chrome/browser/plugins/flash_download_interception.cc

Cc: kkaluri@chromium.org
Labels: Needs-Feedback
Verified this issue in Ubuntu 14.04, Windows 10 and Mac 10.12.2 with chrome version #56.0.2924.59

These are the steps followed
1. Navigated to chrome://flags and enabled "Prefer HTML over Flash" flag
2. Navigated to "http://pps-test-a.appspot.com/popup.html"  
3. Clicked on the link to open the popup.
4. Clicked on the Download Flash link.

Didn't observe any interception in the navigation.

Note:
-----
In Ubuntu machine, when we click on allow to run the plugin, the browser is requested for browser restart and after restart Flash content played. This restart behavior is not seen in mac and windows

Attaching the screen-casts for reference.
tommycli@ Could you please look into it and let us know this is the expected behavior for this fix?
Issue 676096 - Ubuntu.mp4
2.7 MB View Download
Issue 676096.mp4
2.6 MB View Download

Sign in to add a comment