Closed Bug 1077481 Opened 10 years ago Closed 8 years ago

Visual events do not reliably detect DOM0 events

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: miker, Assigned: miker)

References

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
Closed: 8 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.