Open Bug 647093 Opened 11 years ago Updated 3 years ago

A sequence of window.status messages in user javascript only displays last message.


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

5 Branch
Windows XP
Not set





(Reporter: john, Unassigned)




User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0

Status blocking bug for Firefox 4. In Firefox dom.disable_window_status_change should first be set to false in order to allow scripted status messages.

A sequence of window.status messages in a script only displays the last message. Firefox is blocking setting status until the end of the javascript. However, it should show all status messages in the sequence.

Reproducible: Always

Steps to Reproduce:
1.In Firefox 4 set dom.disable_window_status_change to false using about:config.
2.In IE8 or greater please temporarily set Tools > Internet Options > Security > Internet > Medium.
3.Go to
4.Reload the page
Actual Results:  
With Firefox 4 the status area is blank over a period of several seconds and then the final "Done" message is displayed.

With IE8 a whole sequence of status messages is displayed over a period of several seconds terminating in "Done".

Expected Results:  
Firefox 4 should display a whole sequence of status messages not just the last one.

IE8 behaves correctly.

Firefox 4 should not block the display of status messages until the javascript has finished. In the moment a window.status message is encountered in the the javascript then the message should be displayed but is not. Only the final "Done" message is displayed.
confirmed on Mozilla/5.0 (Windows NT 6.1; rv:2.2a1pre) Gecko/20110331 Firefox/4.2a1pre
Version: unspecified → 4.0 Branch
Reporter -> Are you still experiencing this issue with the latest version of Firefox 5? Does the issue occur with the latest nightly?
@Tim Yes, still getting the same problem both in Firefox 5 and the latest nightly. Neither will display the status messages while the javascript is running, and only display "Done" at the end of the script. All the time the javascript is running the status just displays a "Waiting for" message rather than a sequence of random numbers as it should, and as does IE8.
Dupe of/related to Bug 440040?
I don't think it's a dup of Bug 440040 since that happens in the onmouseover event handler, and status messages are always displayed, whereas this happens in a code loop with no event handler involved, and most status messages are not even displayed. As for being related, I don't know, it could be.
Version: 4.0 Branch → 5 Branch
Component: General → DOM
Product: Firefox → Core
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.