The MediaSession.setMetadata method needs to be implemented as described in section 5.1.3 of the Media Session spec.
<rdar://problem/21512861>
Created attachment 255464 [details] Patch
Comment on attachment 255464 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255464&action=review > Source/WebCore/Modules/mediasession/MediaSession.cpp:39 > + : m_scriptExecutionContext(&context) Unless you will need the ScriptExecutionContext for something else later, I think we should capture a reference to the document instead as the only thing we do with the ScriptExecutionContext is get its document.
Committed r185914: <http://trac.webkit.org/changeset/185914>
(In reply to comment #3) > Comment on attachment 255464 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=255464&action=review > > > Source/WebCore/Modules/mediasession/MediaSession.cpp:39 > > + : m_scriptExecutionContext(&context) > > Unless you will need the ScriptExecutionContext for something else later, I > think we should capture a reference to the document instead as the only > thing we do with the ScriptExecutionContext is get its document. Changed. Thanks!