New issue
Advanced search Search tips

Issue 622437 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

Named access on the window object has the wrong value for iframes

Reported by matt...@bitovi.com, Jun 22 2016

Issue description

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

Example URL:

Steps to reproduce the problem:
Create a page with this html:

<iframe id="foo"></iframe>
<script>
  console.log(window.foo === document.getElementById('foo'));
</script>

What is the expected behavior?
It should log "false"

What went wrong?
It logs "true" instead.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? N/A 

Chrome version: 51.0.2704.84  Channel: n/a
OS Version: OS X 10.11.3
Flash Version: Shockwave Flash 22.0 r0

For iframes the global should be it's contentWindow per the spec: https://html.spec.whatwg.org/#dom-window-nameditem

This works correctly in Safari.
 
Components: Blink>HTML>IFrame
Labels: M-53 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Windows 7, Ubuntu 14.04 and Mac OS 10.11.5 using chrome latest stable M51-51.0.2704.103.

This is a non-regression issue seen from M36-36.0.1972.0 on earlier versions of chrome. Hence marking it as untriaged.

Thanks!

Comment 2 by matt...@bitovi.com, Jun 23 2016

For reference, I also filed this with Firefox and they believe it to be an invalid bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1281604

Comment 3 by tkent@chromium.org, Jun 24 2016

Labels: -M-53 Hotlist-Interop
Status: Available (was: Untriaged)
Project Member

Comment 4 by sheriffbot@chromium.org, Jun 26 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by phistuck@gmail.com, Jun 26 2017

I believe this is a WontFix. This is the opposite bug to issue 171873.

Comment 6 by tkent@chromium.org, Jun 29 2017

Owner: tkent@chromium.org
Status: WontFix (was: Untriaged)
I agree with phistuck@.  This is an expected behavior.

Sign in to add a comment