Open Bug 1848179 Opened 11 months ago Updated 11 months ago

Show related DOM event for top frame in traces

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

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.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: