Bug 222534
| Summary: | [GPUP] MediaSession action handlers are run twice. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | eric.carlson, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://googlechrome.github.io/samples/media-session/video.html | ||
| Bug Depends on: | |||
| Bug Blocks: | 221830 | ||
Jean-Yves Avenard [:jya]
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jean-Yves Avenard [:jya]
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]
This only occurs if the GPUP is enabled.
Radar WebKit Bug Importer
<rdar://problem/74853506>
Jean-Yves Avenard [:jya]
*** This bug has been marked as a duplicate of bug 222759 ***