Closed Bug 165692 Opened 22 years ago Closed 22 years ago

onMouseOver="window.status=''hmm'" generates error. Causes problems at UK bank www.egg.com

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: emmet, Assigned: jst)

Details

Attachments

(1 file)

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

Attached a javascript fragment extracted from the banking site www.egg.com (in a
ssl session behind a password) that when the html tries to change the status bar
text with javascript "window.status='something'" in a mouse over on the anchor,
the javascript throws an exemption "Permission denied to set Window.status" that
is caught and show in a pop up window.

IE shows the change in status bar text just fine. Not being a javascript coder,
I have no idea if this is a Mozilla problem, a website problem etc.

fragment to reproduce problem attached.

Reproducible: Always

Steps to Reproduce:
Attached file testcase.html
You at some point disabled window.status access in your preferences (most likely
using UI in pre-1.0 builds that let you do this).

Quit Mozilla, delete the "capability.policy.default.Window.status" line from
your prefs.js, and restart Mozilla.  Things should be happy.
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: