New issue
Advanced search Search tips

Issue 596403 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Chrome wrongly invokes external app for subframe for http://adp.ez-i.co.kr/adp/mgift.lgt?c=2165782264 for First Time

Reported by samsung7...@gmail.com, Mar 21 2016

Issue description

Steps to reproduce the problem:
1. Open Chrome application and load http://adp.ez-i.co.kr/adp/mgift.lgt?c=2165782264
2. The above website has one iframe/subframe which loads "ozstore://STORE_MUSIC_GIFT_DETAIL/t=&C=2165782264&G=" which intern opens the U+Operator application only for the first time.
3. Try to load the same URL for the 2nd time, Chrome shows white blank screen, which is expected.

What is the expected behavior?
Chrome should not open any external application for subframes. 

As per the open source patch @http://codereview.chromium.org/1091253008 [Fix an issue that external protocol in subframes are not handled on Android], chrome does not invoke external application for subframes.

What went wrong?
Chrome is loading the external application for the subframe for http://adp.ez-i.co.kr/adp/mgift.lgt?c=2165782264 for FIRST TIME which should not be the case.

Chrome should not open external application for subframes even for first time.

This patch was a part of Chrome version 44.

WebStore page: http://adp.ez-i.co.kr/adp/mgift.lgt?c=2165782264

Did this work before? N/A 

Chrome version: <Copy from: 'about:version'>  Channel: stable
OS Version: Chrome Version 49.0.2623.91
Flash Version: 

This patch was a part of Chrome version 44 which was an important patch as Android browser should not open external application for subframe and only act upon main frames.
 
Owner: dfalcant...@chromium.org
Status: Assigned (was: Unconfirmed)
Owner: qin...@chromium.org
Er, not sure why this was sent to me.  Looks like the CL was written by qinmin@.

Comment 3 by qin...@chromium.org, Mar 21 2016

Why chrome should not open external app for subframes? 
If you open your url on desktop chrome, it will also prompt me for the external app dialog.

We enabled this because things like telephone numbers can be in a subframe, rather than main frame. And when user clicks the number in subframes, chrome should show a dialer app
Hi qinmin,

Could you please check your below patch,

[Fix an issue that external protocol in subframes are not handled on Android] 
http://codereview.chromium.org/1091253008.

This patch you had raised in Chrome in April/May 2015 probably because there will be many subframes in the webapge and all/some of them need to be handled by external application. Handling this subframes will be power consuming for Android devices.
Hi Qinmin,

We agree on your comment. But your comments are valid when the link having the subframe with TELNO, EMAIL, etc. is clicked by user.

While, in case of page load, if there is any subframe, that should not be handled for external application.

Sign in to add a comment