New issue
Advanced search Search tips

Issue 821515 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Dev tools console and elements should not change frame reference without user interaction

Reported by tetry...@gmail.com, Mar 13 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

Steps to reproduce the problem:
1. Visit https://www.barstoolsports.com/
2. While the page is loading, right click on the page, inspect element.
3. Open the console draw.
4. Observe the console frame target will randomly change.

What is the expected behavior?
Console's target should be top.

What went wrong?
The console target keeps changing to ad iframes without user interaction.

Did this work before? No 

Chrome version: 65.0.3325.146  Channel: stable
OS Version: OS X 10.13.3
Flash Version: 

Website provided is an example where dev tools is rendered useless without an ad blocker. This is a common issue for dev tools on sites where nested iframes on third party sites severely interfere with dev tools.

Note: this may take a few attempts since it depends on what advertiser is loaded in the iframes. e.g. advertising.com tends to nest a bunch of iframes and rapidly load / reload them.

Also try to use the elements panel, it suffers a similar problem where it scrolls without user interaction.

There appears to be no obvious setting to disable this broken behavior.
 

Comment 1 by woxxom@gmail.com, Mar 13 2018

To reproduce the bug you need to enable "Strict site isolation" in chrome://flags or specify "--site-per-process" in the command line.
When this feature will be enabled by default, everyone will be affected by the bug so it'd be reasonable to fix it beforehand.

Bisect info: 469563 (good) - 469572 (bad)
https://chromium.googlesource.com/chromium/src/+log/82cbc419..2e20b010?pretty=fuller
Suspecting r469568 = a2a5081b066eb679783fc84c7fb4b11480ffb696 = https://crrev.com/2859063002 by dgozman@chromium.org
"[DevTools] Enable "auto attach to sub frames" by default"
Landed in 60.0.3091.0
Labels: Needs-Triage-M65
Cc: susan.boorgula@chromium.org
Labels: Triaged-ET M-67 Target-67 FoundIn-67 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Windows 10, Mac OS 10.12.6 and Ubuntu 14.04 on the latest Canary 67.0.3370.0 and Stable 65.0.3325.162 by following the steps given above.

On enabling the flag 'Strict Site isolation' and navigating to the above site and opening Devtools -> Console, can observe that the Console target is changing and the element panel scrolls without user interaction.
Attached is the screen castfor reference.

This is a Non-Regression issue as this behavior is observed from M60 Chrome builds. 
Hence marking this as Untriaged for further updates from Dev.

Thanks..
821515.mp4
1.7 MB View Download
Components: Internals>Sandbox>SiteIsolation
Thanks for the report!  Adding site isolation label, as --site-per-process is required for the repro.

Comment 5 by l...@chromium.org, Apr 2 2018

Status: WontFix (was: Untriaged)
I've verified this issue on M65 (current stable), and that it is fixed in M66 (current beta channel).  The fix [1] will be part of M66 stable, which should be out in a few weeks.  Thanks for the patience.

[1] https://chromium.googlesource.com/chromium/src/+/ee32d835ded06b736f888d6179b03b38a1ed507d

Sign in to add a comment