RESOLVED DUPLICATE of bug 222759 222534
[GPUP] MediaSession action handlers are run twice.
https://bugs.webkit.org/show_bug.cgi?id=222534
Summary [GPUP] MediaSession action handlers are run twice.
Jean-Yves Avenard [:jya]
Reported 2021-02-28 20:53:55 PST
STR: - Open https://googlechrome.github.io/samples/media-session/video.html - In the Now Playing menu, click on Pause, then play - In the page, we can read > User clicked "Pause" icon. > User clicked "Pause" icon. > User clicked "Play" icon. > User clicked "Play" icon. Each action is printed twice, indicating that the MediaSession's actionHandler ran twice for each action.
Attachments
Jean-Yves Avenard [:jya]
Comment 1 2021-02-28 21:04:55 PST
Additional unexpected behaviour. When click on Pause via a BT headset, the current content is briefly paused to be resumed right away and we can see in the console: > User clicked "Pause" icon. > User clicked "Play" icon. It works as expected in STP, Chrome or Firefox. Wrong behaviour showing in ToT's MiniBrowser
Jean-Yves Avenard [:jya]
Comment 2 2021-02-28 21:20:48 PST
This only occurs if the GPUP is enabled.
Radar WebKit Bug Importer
Comment 3 2021-02-28 21:21:22 PST
Jean-Yves Avenard [:jya]
Comment 4 2021-03-04 16:43:08 PST
*** This bug has been marked as a duplicate of bug 222759 ***
Note You need to log in before you can comment on or make changes to this bug.