Closed Bug 1848179 Opened 11 months ago Closed 8 months ago

Show related DOM event for top frame in traces

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

For now, we can't know if some JS traces relates to some particular DOM events.
It would be nice to either:

  • log all DOM events (independently of JS traces), most likely optionaly
  • flag the top frame of each new trace with a possibly related DOM event

The first option has the flaw of logging events which may not trigger any JS code.
The latest may be subject to mismatch as we would most likely use DebuggerNotificationObserver and do a match. This match may sometime be loose or wrong.

As this is based on DebuggerNotificationObserver, this would only work
for events currently supported by this interface.
So we would typically miss network events which aren't suppported yet.

Attachment #9348429 - Attachment description: Bug 1848179 - [devtools] Display ongoing event for top frames. → Bug 1848179 - [devtools] Display the currently processed DOM event for top frames.
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0a7675c068a0
[devtools] Display the currently processed DOM event for top frames. r=devtools-reviewers,nchevobbe
Blocks: 1860989
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: