Open Bug 440040 Opened 16 years ago Updated 2 years ago

javascript window.status does not update status bar for onmouseover event

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: trekie359, Assigned: smaug)

References

()

Details

(Keywords: regression, testcase)

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 The status bar is not updated when scripts such as the following are run: <script type="text/javascript"> window.status="Some text in the status bar!!"; </script> This also occurs for onmouseover events that make use of the window.status property. This occurs regardless of the state of the dom.disable_window_status_change preference. The issue has been observed on numerous websites. All my browser plugins are disabled. Reproducible: Always Steps to Reproduce: 1. Navigate to a site that has javascript that makes use of the window.status property (i.e. http://w3schools.com/js/tryit.asp?filename=tryjs_statusbar or http://www.htmlgoodies.com/beyond/javascript/article.php/3470771 2. Verify on the about:config page that the preference "dom.disable_window_status_change" is set to "false" 3. Move the mouse pointer over the link with the 'onmouseover' event Actual Results: The status bar shows the url referenced by the hyperlink. Expected Results: The status bar should display the text which javascript has set 'window.status' to. No plugins are enabled. Using default theme, after install of Firefox 3. This behavior was not present in versions of Firefox 2.
I'd say this is a duplicate of Bug 343847. If you think it's not, can you provide a testcase or steps to reproduce with URLs etc.
Attached file HTML Example 1 (deleted) —
This is a simple HTML file that makes use of the window.status property. Loading the page should update the status bar.
Attached file HTML Example (deleted) —
This is a simple html file which demonstrates the issue. The status bar should update when the user mouses over the link.
While possible that this is a manifestation of the same root cause, this is a different manifestation of the issue. I cannot say if the cause is identical. Bug 343847 requires the user to move between tabs to reproduce the issue. This bug occurs regardless of how many tabs are open, and occurs without tab switching. I have attached two simple html files in addition to the links provided in the bug description. Hopefully someone can determine if these two issues are identical. The first file (HTML Example 1) makes use of the window.status property, and works as expected. The second file (HTML Example) - sorry, forgot to rename it- demonstrates the issue. The text in the status bar should change when the link is moused over. Instead, 'www.google.com' appears. After the mouse is moved off the link, the status bar changes to the text set by the javascript. However, many websites change the status bar text again when the onMouseOut event occurs. This renders the onMouseOver status bar change useless, as the user never sees the updated status bar.
Blocks: 40838
Status: UNCONFIRMED → NEW
Component: General → Event Handling
Ever confirmed: true
Keywords: regression, testcase
Product: Firefox → Core
QA Contact: general → events
Version: unspecified → Trunk
Flags: blocking1.9.1?
Flags: blocking1.9.0.1?
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.1?
Flags: blocking1.9.0.1-
Not going to block on this, but we would consider a fix if a safe one is provided.
Flags: blocking1.9.1? → blocking1.9.1-
Assignee: nobody → Olli.Pettay
This works when the status text is set on the onmouseover event, but it isn't fired until the mouse is taken off the link itself. So, if one has an onmouseover an onmouseout event that change the status based on if the mouse cursor is over the link or not, it does not work at all. See attached file.
Attached file Window Status Test Example (deleted) —
Sorry forgot the builds. Both of these browser have the same issue: SeaMonkey 2.0.3 Firefox 3.5.7
Window Status Test Example - Reproducible in Nightly Version 48.0a1 Build ID 20160315030230 User Agent Mozilla/5.0 (Windows NT 5.1; rv:48.0) Gecko/20100101 Firefox/48.0
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: