Closed Bug 1913263 Opened 2 months ago Closed 1 month ago

Developer tools: Inspector picker plays/pauses video

Categories

(DevTools :: Inspector, defect)

Firefox 129
defect

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: TripleCamera, Assigned: jdescottes)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0

Steps to reproduce:

Actual results:

When the <video> element is selected, the video plays (or pauses if it is already playing) at the same time.

Expected results:

When the <video> element is selected, the video should not play (or pause) at the same time.

This is originally reported at bug 1596742.

Check if this is related to Bug 1651033, and pointer events.

Flags: needinfo?(jdescottes)
See Also: → 1651033, 1596742

Not the same issue as Bug 1651033.
In this case the videocontrols use mozSystemGroup events which we are not preventing at the moment.

https://searchfox.org/mozilla-central/rev/e942f7bc56cd103bba86b396ddeba5b1ab04f1a4/toolkit/content/widgets/videocontrols.js#2570-2579

// Use the handleEvent() callback for all media events.
// Only the "error" event listener must capture, so that it can trap error
// events from <source> children, which don't bubble. But we use capture
// for all events in order to simplify the event listener add/remove.
for (let event of this.videoEvents) {
  this.video.addEventListener(event, this, {
    capture: true,
    mozSystemGroup: true,
  });
}
Flags: needinfo?(jdescottes)
See Also: 1651033
Assignee: nobody → jdescottes
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/99b8e850f25c [devtools] Also prevent mozSystemGroup events while using the node picker r=devtools-reviewers,ochameau https://hg.mozilla.org/integration/autoland/rev/71c133d064f7 [devtools] Handle generic keydown events in nodePicker even if no currentNode available r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
QA Whiteboard: [qa-131b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: