Implement the media session interruption algorithm for 'Transient' start-of-interruption events (4.5.2).
<rdar://problem/21768970>
Created attachment 256591 [details] Patch
Created attachment 256609 [details] Patch
Created attachment 256922 [details] Patch
Comment on attachment 256922 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256922&action=review > Source/WebCore/Modules/mediasession/MediaSession.cpp:252 > + m_currentState = State::Interrupted; Shouldn't this be "Active"? > Source/WebCore/Modules/mediasession/MediaSession.cpp:257 > + m_currentState = State::Active; Shouldn't this be "Interrupted"?
(In reply to comment #5) > Comment on attachment 256922 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=256922&action=review > > > Source/WebCore/Modules/mediasession/MediaSession.cpp:252 > > + m_currentState = State::Interrupted; > > Shouldn't this be "Active"? > > > Source/WebCore/Modules/mediasession/MediaSession.cpp:257 > > + m_currentState = State::Active; > > Shouldn't this be "Interrupted"? Yes, for both. These got mixed up when I was moving things around.
Committed r186918: <http://trac.webkit.org/changeset/186918>