Bug 16154 - REGRESSION: Top-level frameset includes application-level objects by default.
Summary: REGRESSION: Top-level frameset includes application-level objects by default.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-11-27 00:25 PST by Ted Rust
Modified: 2010-03-02 09:37 PST (History)
4 users (show)

See Also:


Attachments
test case (203 bytes, text/html)
2007-11-27 04:26 PST, Alexey Proskuryakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Rust 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.
Comment 1 Adam Roben (:aroben) 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>
Comment 2 Alexey Proskuryakov 2007-11-27 04:26:19 PST
Created attachment 17554 [details]
test case
Comment 3 David Kilzer (:ddkilzer) 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?

Comment 4 David Kilzer (:ddkilzer) 2007-11-27 06:21:23 PST
<rdar://problem/5614918>