Closed Bug 695850 Opened 13 years ago Closed 4 years ago

The url status panel doesn't go away if the hyperlink is removed on click

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1651379

People

(Reporter: cork, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file testcase
Webpages that use link tags for javascript actions and puts things in the href (normally # or javascript:void(0)) leaves the get a zombi url status panel and doesn't go away until you hover another link in the page. It doesn't matter if the element it self, its parent or grand parent is removed. This wasn't caused by the removing of the status bar but as its now covers the content its gotten worse. STR: 1. Open the testcase 2. Click one of the link and make sure not to hove the other one Expected result: The status panel should go away when the link element isn't there anymore Actual result: The status panel stays around indefinitely if you don't have another link you can hover.
Keywords: testcase
Flags: firefox-backlog?
Flags: firefox-backlog? → firefox-backlog+
Whiteboard: p=0
Testcase works for me
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Attached file updated testcase
huh.. weird, well here is a slightly updated testcase that shows the same bug in nightly.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Flags: firefox-backlog+
Whiteboard: p=0
Moving this to Core as I don't think this is a front-end bug. The API on the front-end is just a SetStatus function which hides the status bar when it's passed an empty string. Docshell/ESM usually calls it with the right url/empty string. Element::LeaveLink is the function to be called to clear the string (hide the panel). It appears that there is code that handles calling it when a node is removed, here: http://hg.mozilla.org/mozilla-central/annotate/a8602e656d86/dom/events/EventStateManager.cpp#l4682 But for some reason the testcase posted doesn't hit it.
Component: General → Event Handling
Product: Firefox → Core
See Also: → 1239048
See Also: → 1438660
Component: Event Handling → User events and focus handling
Status: REOPENED → RESOLVED
Closed: 11 years ago4 years ago
Resolution: --- → DUPLICATE
See Also: 1239048, 1438660
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: