Open Bug 1326871 Opened 7 years ago Updated 2 years ago

Event listeners tooltip should be closed if target node is deleted.

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: arni2033, Unassigned)

References

()

Details

>>>   My Info:   Win7_64, Nightly 48, 32bit, ID 20160416030220
STR_1:
1. Open url in the form above
2. Open inspector, select <div> node in markup
3. Click text "asdf" on the page, then within 3 seconds click (ev) button near <div> node in markup
4. Wait 3 seconds, then hover mouse over "Open in debugger" button in tooltip. Wait 3 seconds.

AR:  Event listeners tooltip teleports to the top left of devtools
ER:  Tooltip should disappear once <div> is deleted. (There may be more clever expectations)
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Animation Inspector
Component: Developer Tools: Animation Inspector → Developer Tools: Inspector
> AR:  Event listeners tooltip teleports to the top left of devtools

Can't reproduce that, the tooltip stays still. There's also been a change that hides the debugger icon when the source can't be found (as in your STRs). Not sure this has anything to with your initial STRs, but just in case here is an updated test URL:
> data:text/html,<div id="el">click on me</div><script type="text/javascript">document.getElementById("el").addEventListener("click", function (e) {window.setTimeout(function () { e.target.remove(); }, 3000);});</script>

I'll change this to an enhancement request to close tooltips related to nodes that get deleted.
Severity: normal → enhancement
Priority: -- → P3
Summary: Event listeners tooltip teleports to the top left of devtools when the node is deleted → Event listeners tooltip should be closed if target node is deleted.
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.