Skip to content

Commit

Permalink
fix: Skip noisy mouse events (#84)
Browse files Browse the repository at this point in the history
Add more mouse and pointer related skip events

These events are noisy so skip them.

Closes #65
  • Loading branch information
xhwang-chromium authored Dec 5, 2024
1 parent a1d7279 commit 980e8d4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions eme-trace-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,29 @@ const EmeLogHelper = {

// And these specific events are VERY noisy. Skip them.
skipEvents : [
'durationchange',
'loadedmetadata',
'mousedown',
'mouseenter',
'mouseleave',
'mousemove',
'mouseout',
'mouseover',
'mouseup',
'mousewheel',
'pointercancel',
'pointerdown',
'pointerenter',
'pointerleave',
'pointermove',
'pointerout',
'pointerover',
'pointerrawupdate',
'pointerup',
'progress',
'resize',
'timeupdate',
'wheel',
],

// Methods we don't care about on media elements:
Expand Down

0 comments on commit 980e8d4

Please sign in to comment.