Closed Bug 174224 Opened 22 years ago Closed 22 years ago

Permission denied to set property Window.status. Dropdown menus doesn't work.

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 98
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: stig, Assigned: jst)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020826

I have a problem with several DHTML dropdown/foldout menus. They don't work,
even though there supposed to work with Mozilla/Netscape. Apperantly they work
for others, but not for me. Something to do with my preferences?

The following are examples of menus which doesn't work:

http://www.webreference.com/dhtml/hiermenus/ (HierMenus)
http://www.brothercake.com/dropdown/ (Brothercake Ultimate Dropdown Menu)

The JavaScript console reports "Error: uncaught exception: Permission denied to
set property Window.status" which immediately made me suspect the "Change
statusbar text" setting in Advanced -> Scripts & Plugins. I used to have this
unchecked, but selecting it again doesn't help.

I have this problem with Netscape 6.21, Mozilla 1.01 and Mozilla 1.1.

All above menus once worked on my system, but doesn't any more.

All browsers have separate profiles.

The following Javascript code generates the error, also in a simple testcase
I've made myself (which I try to submit in a minute).

Reproducible: Always

Steps to Reproduce:
1. Just go to one of the mentioned URLs and hover the dropdown menus
2.
3.

Actual Results:  
Nothing but and error in JavaScript console:
Error: uncaught exception: Permission denied to set property Window.status


Expected Results:  
The menus should dropdown.
This little example should set the statusbar text. On my system it doesn't, and
the JavaScript Console reports:
"Error: uncaught exception: Permission denied to set property Window.status"
I have checked "Allow webpages to check status bar check" (but once I had it
off)
Also, is this the expected behavoir if you deselect (Allow webpages to) "Change
status bar text"? I don't think deselecting this should prevent any scripts from
running.
please try out bug 117707 comment 93 and see if that helps.
Bug 117707 comment 93 did the fix! Thanks..
Marking invalid; the pref to throw that exception was set in the user profile....
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: