Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: LayoutTests/media/media-continues-playing-after-replace-source-expected.txt

Issue 349973006: HTMLMediaElement::webMediaPlayer() should never be null if m_readyState >= HAVE_METADATA (multiple … (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed review comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Test that media keeps playing when the source element is replaced. 1 Test that media keeps playing when the source element is replaced.
2 2
3 EVENT(canplaythrough) 3 EVENT(canplaythrough)
4 EXPECTED (testElement.currentTime == '0') OK 4 EXPECTED (testElement.currentTime == '0') OK
5 EVENT(playing) 5 EVENT(playing)
6 EXPECTED (testElement.currentTime > '0') OK 6 EXPECTED (testElement.currentTime > '0') OK
7 Replacing the media's source element: 7 Replacing the media's source element:
8 EXPECTED (testElement.currentTime == '0') OK 8 EXPECTED (testElement.currentTime > '0') OK
9 EXPECTED (testElement.currentTime > '0') OK 9 EXPECTED (testElement.currentTime > '0') OK
10 END OF TEST 10 END OF TEST
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698