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

Issue 744758 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Datepicker in iframe with "chrome-extension://" scheme

Reported by anton.si...@gmail.com, Jul 17 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. Create test.html file within extension with following content: 
```
<html>
    <head>
    </head>
    <body>
        <div class="form-group">
            <input type="date" class="form-control">
        </div>
    </body>
</html>
```
2. Make it web accessible.
3. Open https://gooogle.com
4. Run following code in console
```
var script = document.createElement('iframe');
script.setAttribute('src', "chrome-extension://<extenion_id>/test.html");
document.body.appendChild(script);
```
5. Try fold and unfold date picker

What is the expected behavior?
Date picker UI should be unfolded on each click on triangle icon.

What went wrong?
Date picker UI unfolded only once and then input element become inaccessible. 
Test extension in attachment

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 10.0
Flash Version:
 
test_extension.zip
33.7 KB Download
Cc: brajkumar@chromium.org
Components: Blink
Labels: Needs-Feedback
Tested this issue on Windows-10 using chrome latest stable #59.0.3071.115 by followings steps mentioned below.

1. Loaded the attached extension to chrome using developer mode
2. Navigated to https://gooogle.com
3. Entered the code provided in step-4 under dev console
4. Observed a sad triangle face, No date picker is displayed on google page.

Reporter@ - Could you please let us know is the above steps is right way to reproduce this issue? In case if anything is missing please let me know.

Thanks!
yup, those steps are right. 
BTW, there is no issue on Chromium ( 61.0.3151.0 )
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 18 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -Blink Blink>Forms>Datetimelocal
This appears to work fine on Ubuntu 14.04 with 59.0.3071.115 but doesn't appear to work on Windows.

Note that you need to replace <extension_id> with the installed id of the extension.

Comment 5 by tkent@chromium.org, Jul 19 2017

Components: -Blink>Forms>Datetimelocal Blink>Forms>Date
Status: WontFix (was: Unconfirmed)
It seems this is specific to google.com content.
The appended iframe is rendered behind some transparent elements of google.com. To handle user-interaction, the iframe needs to have more CSS properties such as position:absolute, z-index.


I don't think that it's google-related problem. I've tested on various page, even on empty localhost page.

Comment 7 by tkent@chromium.org, Jul 19 2017

#6, can you list some URLs at which this issue occurs, except google.com?

Comment 8 Deleted

Any webpage. For example http://www.mcspotlight.org/index.shtml

Comment 10 by tkent@chromium.org, Jul 21 2017

> Any webpage. For example http://www.mcspotlight.org/index.shtml

I couldn't reproduce this issue with www.mcspotlight.org.

Sign in to add a comment