Closed
Bug 129153
Opened 24 years ago
Closed 24 years ago
settting staus="somevalue" causes uncaught exception
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 117707
People
(Reporter: sean.mozilla, Assigned: asa)
Details
Attachments
(1 file)
|
83 bytes,
text/html
|
Details |
<html>
<body onload="javascript: status='hello'">
<h1>test</h1>
</body>
</html>
expect status message to appear ...
but:
Error: uncaught exception: [Exception... "Failure" nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame :: <unknown filename> :: onload :: line
0" data: no]
and javascript processing halts
Comment 1•24 years ago
|
||
Browser, not engine. Reassigning to Browser-General until we can
get more information.
Sean, what build ID of Mozilla are you using? Please include that
in any bug report.
Also, do you have any preferences set in
Edit > Preferences > Advanced > Scripts&Windows ?
Note that one checkbox allows webpages to change status bar text.
If you don't have that checked, you would get an error like the one
you describe. See bug 117707, 'Disabling "Change status bar text" and/or
"Cookie" prefs for JS breaks applications' ...
Assignee: rogerl → asa
Component: JavaScript Engine → Browser-General
QA Contact: pschwartau → doronr
Summary: settting staus="somevalue" causes uncaught exception → settting staus="somevalue" causes uncaught exception
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
When I try the above testcase with WinNT and Linux builds
from 2002-03-04, I get no error in the JS Console.
On the other hand, I don't see "hello" in the status bar, either -
| Reporter | ||
Comment 4•24 years ago
|
||
sorry using:
Mozilla 0.9.8
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205
ftp.mozilla.org/pub/mozilla/releases/mozilla0.9.8/Red_Hat_7x_RPMS/i386/
hmm.. I thought bugzilla had grabbed that already ...
yup "Change staus bar text" was unchecked
and if I do
window.status="hello";alert('hello');
I get the nicer console message
Error: uncaught exception: Permission denied to set property Window.status.
but the alert is still not fired.
unchecking that box does let the script execute as expected.
well, almost - I see the alert box *before* the status message is set.
Comment 5•24 years ago
|
||
Sean: OK, thanks. If I understand you correctly, then, this is a
duplicate of bug 117707. You will be cc'ed on that one, so you
can follow its progress -
*** This bug has been marked as a duplicate of 117707 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•