REOPENED Bug 157711
Use new Web IDL dictionary support for MediaSession.setMetadata()
https://bugs.webkit.org/show_bug.cgi?id=157711
Summary Use new Web IDL dictionary support for MediaSession.setMetadata()
Chris Dumez
Reported 2016-05-14 13:31:12 PDT
Use new Web IDL dictionary support for MediaSession.setMetadata()
Attachments
Patch (4.85 KB, patch)
2016-05-14 13:34 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-05-14 13:34:09 PDT
WebKit Commit Bot
Comment 2 2016-05-14 16:51:07 PDT
Comment on attachment 278944 [details] Patch Clearing flags on attachment: 278944 Committed r200925: <http://trac.webkit.org/changeset/200925>
WebKit Commit Bot
Comment 3 2016-05-14 16:51:13 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 4 2016-05-15 01:41:15 PDT
Comment on attachment 278944 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=278944&action=review > Source/WebCore/Modules/mediasession/MediaSession.h:56 > + struct MediaMetadataInit { I am surprised this works. Maybe the bindings are inside an #if and not compiling. The name for the struct is supposed to be MediaSession::MetadataInit, not MediaSession::MediaMetadataInit. Maybe there is a bug in the GetNestedClassName function in CodeGeneratorJS.pm?
Darin Adler
Comment 5 2016-05-15 01:42:34 PDT
Yes, looks like this will fail to compile if ENABLE(MEDIA_SESSION) is true.
WebKit Commit Bot
Comment 6 2016-05-15 08:34:07 PDT
Re-opened since this is blocked by bug 157725
Chris Dumez
Comment 7 2016-05-15 08:34:12 PDT
(In reply to comment #5) > Yes, looks like this will fail to compile if ENABLE(MEDIA_SESSION) is true. Ok, I will roll out :( I was convinced this was enabled on Mac for some reason.
Darin Adler
Comment 8 2016-05-15 10:15:07 PDT
We can definitely redo it; we just need to turn on compiling on some platform. I find it really hard to maintain code that is not compiled!
Ahmad Saleem
Comment 9 2022-09-02 15:54:17 PDT
This was rolled out and I noticed that there are difference in Webkit MediaSession.IDL with Chrome / Blink: Webkit Link - https://github.com/WebKit/WebKit/blob/main/Source/WebCore/Modules/mediasession/MediaSession.idl Chromium / Blink - https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/mediasession/media_session.idl?q=media_Session.idl Chris - is this needed? Thanks!
Note You need to log in before you can comment on or make changes to this bug.