window.status blocks execution with XUL

RESOLVED INCOMPLETE

Status

()

Firefox
General
RESOLVED INCOMPLETE
12 years ago
11 years ago

People

(Reporter: John, Unassigned)

Tracking

({qawanted})

1.0 Branch
qawanted
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
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.

Comment 1

12 years ago
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
Last Resolved: 11 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.