Index: third_party/WebKit/LayoutTests/media/media-play-promise-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/media/media-play-promise-expected.txt b/third_party/WebKit/LayoutTests/media/media-play-promise-expected.txt |
index 3cf066835ddd117851a69220f572ce943448bc34..66d8677c324ac69e93afa3716e3e47db643f263a 100644 |
--- a/third_party/WebKit/LayoutTests/media/media-play-promise-expected.txt |
+++ b/third_party/WebKit/LayoutTests/media/media-play-promise-expected.txt |
@@ -167,5 +167,20 @@ play() |
RUN(mediaElement.volume = 0.2) |
arguments.length: 1 |
Promise failed with NotSupportedError: The element has no supported sources. |
+ |
+pausePlayAfterPlaybackStarted() |
+RUN(mediaElement = document.createElement('audio')) |
+RUN(mediaElement.src = 'content/test.wav') |
+EVENT(volumechange) |
+EVENT(volumechange) |
+EVENT(canplaythrough) |
+RUN(mediaElement.play()) |
+EVENT(playing) |
+EXPECTED (mediaElement.readyState == '4') OK |
+EXPECTED (mediaElement.paused == 'false') OK |
+RUN(mediaElement.pause()) |
+play() |
+arguments.length: 1 |
+Promise resolved with undefined |
END OF TEST |