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 3a78c525b939bf9371b047a0333e3236a32b9610..d1418ac89d7b8d9139a66acac9c390b1a7cedf01 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 |