WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 36459
41003
Assigning to "name" changes window.name and breaks targeted iframe navigation
https://bugs.webkit.org/show_bug.cgi?id=41003
Summary
Assigning to "name" changes window.name and breaks targeted iframe navigation
Diogo Toscano
Reported
2010-06-22 11:44:05 PDT
Created
attachment 59399
[details]
3 simple html pages. When a page opens an iframe, if in the iframe we call a javascript function declaring a local variable named "name", the iframe loses the original name set by the parent window. Any submit from the parent targeting the iframe will open a blank page. The submit won't open in the iframe.
Attachments
3 simple html pages.
(1.02 KB, application/octet-stream)
2010-06-22 11:44 PDT
,
Diogo Toscano
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Diogo Toscano
Comment 1
2010-06-22 11:46:01 PDT
This issues is only for Safari(version 4.0.3 - 531.9.1) and Chrome (version 5.0.375.70). Works fine on the others browser.
Alexey Proskuryakov
Comment 2
2010-06-23 17:49:36 PDT
Confirmed with ToT. See also:
bug 19967
.
Diogo Toscano
Comment 3
2010-06-25 04:32:42 PDT
I believe that this bug <a href='
https://bugs.webkit.org/show_bug.cgi?id=19967
'>19967</a> is the same problem that i have. The local variable "name" is making reference to window.name. the getter and the setter is getting is accessing window.name. And a local variable should only do reference to the local value without changing window.name. :-)
Alexey Proskuryakov
Comment 4
2012-02-01 10:08:02 PST
*** This bug has been marked as a duplicate of
bug 36459
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug