New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 853146 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

allow-top-navigtaion-by-user-activation doesn't allow navigation by user clicking a link

Reported by igw...@gmail.com, Jun 15 2018

Issue description

Chrome Version       : 66.0.3359.181
URLs (if applicable) :
Other browsers tested:
  Safari 11.1.1 FAIL
have tested this issue:
     Safari: 11.1.1 FAIL
    Firefox: NO
       Edge: NO

What steps will reproduce the problem?
(1) replace a button in an iframe to an <a href="navigation-changed-iframe.html" target="_blank"> click here </a> for this test file: 

http://w3c-test.org/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_top_navigation_by_user_activation-manual.html
(2)click on the "click here" link

What is the expected result?
Navigation is allowed, a new tab is opened in Chrome

What happens instead?
Nothing. I think it limits usefulness of this sandboxing feature for ads that continue using target="_blank". https://www.chromestatus.com/feature/5629582019395584 . Sorry if I misunderstood the purpose of the feature.

 
Labels: Needs-Milestone
Cc: phanindra.mandapaka@chromium.org
Labels: -Type-Bug Triaged-ET Needs-Triage-M67 Type-Feature
Status: Untriaged (was: Unconfirmed)
Thanks for filing the issue!

From comment#0 it is understood that the issue seems to be a feature request rather than a bug, hence changing the type to Feature. Requesting someone from Dev team to have a look into this.
please find our observations 

1. Created html file by using given "<a href=""navigation-changed-iframe.html"" target=""_blank""> click here </a>".
2. Clicked on Click here link and observed page getting failed.
3. And Navigated to given URL "http://w3c-test.org/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_top_navigation_by_user_activation-manual.html"
4. clicked on "Navigate to the top page"" button and observed ""PASSED: Navigation succeeded".

Thanks! 

Comment 3 by bokan@chromium.org, Jun 19 2018

Components: -Blink Blink>SecurityFeature>IFrameSandbox
Status: Assigned (was: Untriaged)

Comment 4 by igw...@gmail.com, Jun 19 2018

After re-reading the original feature request it seems that this is  essentially "allow-popups-by-user-activation" feature request, which is quite different. 

After adding "allow-popups" to sandbox, it behaves as expected - because "allow-popups" IS "allow-popups-by-user-activation". (You cannot open new pop-up w/o user activation (you get "pop up blocked"), and pop up only opens after clicking on a link.  

Sorry for bothering you. Please close this bug if possible, it was my misunderstanding.

Sign in to add a comment