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.
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.
Confirmed with ToT. See also: bug 19967.
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. :-)
*** This bug has been marked as a duplicate of bug 36459 ***