Chromium Code Reviews
Description[Media>Session] Pause all players for non-routed frames when receiving PAUSE action
Previously, when a page uses MediaSession API, the PAUSE action is only
sent to the frame that is routed, other frames may be still playing
media, causing the session to be still active. In this CL, apart from
sending the PAUSE action to the frame, we pause the players in all
non-routed frames.
BUG=685978
Review-Url: https://codereview.chromium.org/2660263002
Cr-Commit-Position: refs/heads/master@{#449622}
Committed: https://chromium.googlesource.com/chromium/src/+/ded5aed116f603b4d7e4e5b83abeb25e7f802198
Patch Set 1 #Patch Set 2 : added comments and tests #
Total comments: 2
Patch Set 3 : nit and style #
Messages
Total messages: 10 (5 generated)
|
||||||||||||||||||||||||||||