Closed Bug 307151 Opened 19 years ago Closed 18 years ago

window.status blocks execution with XUL

Categories

(Firefox :: General, defect)

1.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: johnhoogstrate, Unassigned)

Details

(Keywords: qawanted)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

When using XUL with javascript attached to it, using window.status = 'anything'
will prevent the entire script from being executed, even if the function that
contains window.status has not been accessed yet.

No warnings are given in teh JavaScript console, only errors of functions not
being found when they are called.

Reproducible: Always

Steps to Reproduce:
1. Create a JS file containing window.status = '';
2. Create a XUL file that links to the JS file 
3. Try to open the XUL file and watch the JavaScript console

Actual Results:  
No JavaScript functions are executed, the console displays error messages that
it can't find the functions.

Expected Results:  
Print the text in the statusbar of the window. If the window has no statusbar,
show a warning in the JavaScript console with the status text and continue the
script.
Please create a simple testcase and post it here.
Keywords: qawanted
-> incomplete

Johnny, if you can reproduce your reported bug with a recent release like Firefox 2.0.0.4, feel free to reopen this.

It would be great if you could attach a simple Testcase to this bug then. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
Version: unspecified → 1.0 Branch
You need to log in before you can comment on or make changes to this bug.