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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button-expected.txt

Issue 1865933002: Fix race when HTMLMediaElement.play() is called just after pause(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 6 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 CONSOLE ERROR: Uncaught (in promise) AbortError: The play() request was interrup ted by a call to pause().
2 Test that the overlay play button respects the controls attribute 1 Test that the overlay play button respects the controls attribute
3 2
4 EXPECTED (getComputedStyle(button).display == 'flex') OK 3 EXPECTED (getComputedStyle(button).display == 'flex') OK
5 EVENT(loadeddata) 4 EVENT(loadeddata)
6 RUN(video.play()) 5 RUN(video.play())
7 EVENT(play) 6 EVENT(play)
8 EXPECTED (getComputedStyle(button).display == 'none') OK 7 EXPECTED (getComputedStyle(button).display == 'none') OK
9 RUN(video.pause()) 8 RUN(video.pause())
10 EVENT(pause) 9 EVENT(pause)
11 EXPECTED (getComputedStyle(button).display == 'flex') OK 10 EXPECTED (getComputedStyle(button).display == 'flex') OK
12 EXPECTED (getComputedStyle(button).display == 'none') OK 11 EXPECTED (getComputedStyle(button).display == 'none') OK
13 RUN(video.play()) 12 RUN(video.play())
14 EVENT(play) 13 EVENT(play)
15 EXPECTED (getComputedStyle(button).display == 'none') OK 14 EXPECTED (getComputedStyle(button).display == 'none') OK
16 RUN(video.pause()) 15 RUN(video.pause())
17 EVENT(pause) 16 EVENT(pause)
18 EXPECTED (getComputedStyle(button).display == 'none') OK 17 EXPECTED (getComputedStyle(button).display == 'none') OK
19 EXPECTED (getComputedStyle(button).display == 'flex') OK 18 EXPECTED (getComputedStyle(button).display == 'flex') OK
20 END OF TEST 19 END OF TEST
21 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698