Changeset 245773 in webkit
- Timestamp:
- May 25, 2019 9:41:55 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245772 r245773 1 2019-05-25 Youenn Fablet <youenn@apple.com> 2 3 media/video-remote-control-playpause.html is timing out after r245712 4 https://bugs.webkit.org/show_bug.cgi?id=198238 5 6 Reviewed by Eric Carlson. 7 8 * platform/mac/TestExpectations: 9 Removed old flaky expectation that is no longer valid according dashboard. 10 1 11 2019-05-25 Simon Fraser <simon.fraser@apple.com> 2 12 -
trunk/LayoutTests/platform/mac/TestExpectations
r245711 r245773 799 799 webkit.org/b/123099 media/media-controller-time-clamp.html [ Pass Timeout ] 800 800 webkit.org/b/123522 media/track/track-in-band-legacy-api.html [ Pass Failure Crash ] 801 webkit.org/b/130490 media/video-remote-control-playpause.html [ Pass Failure ]802 801 webkit.org/b/131855 media/event-attributes.html [ Pass Failure Timeout ] 803 802 webkit.org/b/133363 media/video-rtl.html [ Pass ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r245772 r245773 1 2019-05-25 Youenn Fablet <youenn@apple.com> 2 3 media/video-remote-control-playpause.html is timing out after r245712 4 https://bugs.webkit.org/show_bug.cgi?id=198238 5 6 Reviewed by Eric Carlson. 7 8 Fix regression introduced in r245712. 9 Covered by test no longer timing out. 10 11 * platform/audio/PlatformMediaSessionManager.cpp: 12 (WebCore::PlatformMediaSessionManager::sessionWillEndPlayback): 13 1 14 2019-05-25 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp
r245712 r245773 247 247 { 248 248 ALWAYS_LOG(LOGIDENTIFIER, session.logIdentifier()); 249 249 250 250 if (m_sessions.size() < 2) 251 251 return; … … 255 255 for (size_t i = 0, size = m_sessions.size(); i < size; ++i) { 256 256 const auto& oneSession = *m_sessions[i]; 257 if (&oneSession == &session) {257 if (&oneSession == &session) 258 258 pausingSessionIndex = i; 259 else if (oneSession.state() == PlatformMediaSession::Playing) 260 lastPlayingSessionIndex = i; 261 else 259 262 break; 260 } 261 if (oneSession.state() == PlatformMediaSession::Playing) { 262 lastPlayingSessionIndex = i; 263 break; 264 } 265 if (oneSession.state() != PlatformMediaSession::Playing) 266 break; 267 } 263 } 264 268 265 if (lastPlayingSessionIndex == notFound || pausingSessionIndex == notFound) 269 266 return; 270 267 271 268 if (pausingSessionIndex > lastPlayingSessionIndex) 272 269 return; … … 274 271 m_sessions.remove(pausingSessionIndex); 275 272 m_sessions.append(makeWeakPtr(session)); 276 273 277 274 ALWAYS_LOG(LOGIDENTIFIER, "session moved from index ", pausingSessionIndex, " to ", lastPlayingSessionIndex); 278 275 }
Note: See TracChangeset
for help on using the changeset viewer.