navigator.mediaSession.addEventListener crashes web page |
||
Issue description
Chrome Canary (57.0.2974.0)
1. Open DevTools JS console
2. Enter "navigator.mediaSession.addEventListener('playpause', function(e) { console.log('playpause', e) });"
3. Chrome crashes with "Aw, Snap!" message ;(
For the record, we should now use navigator.mediaSession.setActionHandler("playpause", function() { ... }
,
Jan 9 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/06318a315afd262552ee1393cf360f4adb27223a commit 06318a315afd262552ee1393cf360f4adb27223a Author: mlamouri <mlamouri@chromium.org> Date: Mon Jan 09 16:26:29 2017 Media Session: remove EventTarget from MediaSession interface inheritance. Was forgotten and had interesting consequences :) BUG= 679338 R=zqzhang@chromium.org Review-Url: https://codereview.chromium.org/2617403002 Cr-Commit-Position: refs/heads/master@{#442261} [modify] https://crrev.com/06318a315afd262552ee1393cf360f4adb27223a/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt [modify] https://crrev.com/06318a315afd262552ee1393cf360f4adb27223a/third_party/WebKit/Source/modules/mediasession/MediaSession.idl
,
Jan 9 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by mlamouri@chromium.org
, Jan 9 2017Owner: mlamouri@chromium.org
Status: Started (was: Unconfirmed)