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

Issue 758621 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug


Participants' hotlists:
ExternalNavigationIssues


Sign in to add a comment

Intent navigation in iframe works only once

Project Member Reported by alogvi...@yandex-team.ru, Aug 24 2017

Issue description

Chrome Version: 62.0.3193.3 (Official Build) dev (64-bit)
OS: Android

What steps will reproduce the problem?
(1) Put attached files (outer.html, inner.html) into the same directory.
(2) Start a local HTTP server in that directory.
(3) Open "outer.html".
(4) Click on the "click me" link. Depending on the default browser system setting, "http://www.google.com" will either open in the default browser or application picker will be shown. 
(5) Click on the "click me" link again.

What is the expected result?

Same result as in step (4), i.e. "http://www.google.com" either opens in the default browser or the picker is shown. 

What happens instead?

Nothing happens.

Even reloading the page or closing the page and opening it again do not fix the problem, the "click me" link doesn't work until Chrome is restarted.

This problem is not reproduced in the main frame, i.e. when inner.html is opened directly in the main frame and not in an iframe inside outer.html.
 
outer.html
118 bytes View Download
inner.html
143 bytes View Download
Cc: tedc...@chromium.org
Labels: android-fe-triaged
Status: Available (was: Untriaged)
Cc: mariakho...@chromium.org
Components: Mobile>Intents
Owner: thildebr@chromium.org
Status: Assigned (was: Available)
I don't know what restrictions are valid for iframes these days in terms of intents, so punting it to thildebr & mariakhomenko for their expertise.
I can repro this on 67 Canary but only in a very specific scenario:
1. Go to outer.html.
2. Close Chrome.
3. Launch Chrome, it opens to the last page we were viewing, outer.html.
4. Click "click me", picker shows.
5. Dismiss the picker (can use back button or just touch outside the picker)
6. "click me" link is now unresponsive.

This doesn't work if Chrome isn't opened to this page as far as I can tell. If we navigate to it from somewhere else, the link works 100% of the time.
Status: Started (was: Assigned)
To clarify my above message, as long as another navigation happens before we start touching this link, it'll work 100% of the time. For instance, if we launch into outer.html, go to google.com, and then go back to outer.html, the link works fine.

Sign in to add a comment