NEW 16154
REGRESSION: Top-level frameset includes application-level objects by default.
https://bugs.webkit.org/show_bug.cgi?id=16154
Summary REGRESSION: Top-level frameset includes application-level objects by default.
Ted Rust
Reported 2007-11-27 00:25:38 PST
Our site has a frame named "menubar." This stopped working in Safari 3 as the application's menubar now holds that name for itself. So any accesses to top.frames.menubar or the like result in an error on our pages. It is not the only "undocumented" yet obvious name. Others are: locationbar, personlbar, scrollbars, statusbar and toolbar. This seems like poor naming and / or placement. Maybe someone can explain it better to me, but this was quite unexpected.
Attachments
test case (203 bytes, text/html)
2007-11-27 04:26 PST, Alexey Proskuryakov
no flags
Adam Roben (:aroben)
Comment 1 2007-11-27 00:35:27 PST
I assume these properties were added to the window object for compatibility reasons. See <http://developer.mozilla.org/en/docs/DOM:window.menubar>
Alexey Proskuryakov
Comment 2 2007-11-27 04:26:19 PST
Created attachment 17554 [details] test case
David Kilzer (:ddkilzer)
Comment 3 2007-11-27 06:20:40 PST
Should these be replaceable (so that the user may overwrite them if they really want to)? How do the same objects behave in Firefox?
David Kilzer (:ddkilzer)
Comment 4 2007-11-27 06:21:23 PST
Note You need to log in before you can comment on or make changes to this bug.