Visual events do not reliably detect DOM0 events

RESOLVED FIXED

Status

defect
P3
normal
RESOLVED FIXED
5 years ago
11 months ago

People

(Reporter: miker, Assigned: miker)

Tracking

Trunk
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

STR:
- <body onload="init()"...
- Also use document.body.addEventListener("load", ...);

Both events will be listed as DOM0 events.

We should be using the following to detect DOM0 events:
if (listenerDO.script.source.element.class !== "HTMLScriptElement") {
  // This is a DOM0 event
}
Inspector Bugs Triage - Filter on CLIMBING SHOES
Priority: -- → P3
No longer blocks: 1315639
Depends on: 1315639
This was fixed by bug 1315639
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED

Updated

11 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.