852e333a23
https://bugs.webkit.org/show_bug.cgi?id=229070 <rdar://problem/81894480> Reviewed by Eric Carlson. Source/WebCore: This change adds Internals entries to test bug 229068. While we do not mock the MediaRemote service, we still go one step further in ensuring that the mappings between MediaSession action handlers and PlatformMediaSession are correct. Test: media/media-session/actionHandlerInternalMappings.html * platform/NowPlayingManager.cpp: (WebCore::NowPlayingManager::supportedCommands const): * platform/NowPlayingManager.h: * platform/audio/PlatformMediaSession.h: * platform/audio/PlatformMediaSessionManager.h: (WebCore::PlatformMediaSessionManager::supportedCommands const): * platform/audio/cocoa/MediaSessionManagerCocoa.h: * platform/audio/cocoa/MediaSessionManagerCocoa.mm: (WebCore::MediaSessionManagerCocoa::supportedCommands const): * testing/Internals.cpp: (WebCore::Internals::platformSupportedCommands const): * testing/Internals.h: * testing/Internals.idl: LayoutTests: * media/media-session/actionHandlerInternalMappings-expected.txt: Added. * media/media-session/actionHandlerInternalMappings.html: Added. Canonical link: https://commits.webkit.org/240588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281134 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
actionHandlerInternalMappings-expected.txt | ||
actionHandlerInternalMappings.html | ||
callActionHandler-expected.txt | ||
callActionHandler.html | ||
default-actionHandlers-expected.txt | ||
default-actionHandlers.html | ||
mock-actionHandlers-expected.txt | ||
mock-actionHandlers.html | ||
mock-coordinator-expected.txt | ||
mock-coordinator.html | ||
mock-currentPosition-expected.txt | ||
mock-currentPosition.html | ||
play-after-seek-expected.txt | ||
play-after-seek.html | ||
user-gesture-action-handlers-expected.txt | ||
user-gesture-action-handlers.html |