Index: third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt b/third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt |
deleted file mode 100644 |
index 3d55048f980f7f537780cf9763901b9245278121..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated. Please use 'navigator.requestMediaKeySystemAccess()' instead. |
-CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated. Please use 'navigator.requestMediaKeySystemAccess()' instead. |
-CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated. Please use 'navigator.requestMediaKeySystemAccess()' instead. |
-CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated. Please use 'navigator.requestMediaKeySystemAccess()' instead. |
-Test that the methods throw INVALID_STATE_ERR when the media element has not loaded. canPlayType() never throws. |
- |
-EXPECTED (video.networkState == '0') OK |
-EXPECTED (video.currentSrc == '') OK |
-No 'src'. Verify that all methods except canPlayType() throw INVALID_STATE_ERR. |
-TEST(video.webkitGenerateKeyRequest('webkit-org.w3.clearkey')) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': No media has been loaded.) OK |
-TEST(video.webkitAddKey('webkit-org.w3.clearkey', key)) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': No media has been loaded.) OK |
-TEST(video.webkitCancelKeyRequest('webkit-org.w3.clearkey')) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': No media has been loaded.) OK |
-RUN(video.canPlayType('audio/wav', 'webkit-org.w3.clearkey')) |
- |
-'src' has been set, but loading has not yet started. Verify that all methods except canPlayType() throw INVALID_STATE_ERR. |
-EXPECTED (video.networkState == '3') OK |
-EXPECTED (video.currentSrc == '') OK |
-TEST(video.webkitGenerateKeyRequest('webkit-org.w3.clearkey')) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': No media has been loaded.) OK |
-TEST(video.webkitAddKey('webkit-org.w3.clearkey', key)) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': No media has been loaded.) OK |
-TEST(video.webkitCancelKeyRequest('webkit-org.w3.clearkey')) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': No media has been loaded.) OK |
-RUN(video.canPlayType('audio/wav', 'webkit-org.w3.clearkey')) |
- |
-EVENT(loadstart) |
-TEST(video.networkState == video.NETWORK_LOADING || video.networkState == video.NETWORK_IDLE) OK |
-EXPECTED (video.currentSrc != '') OK |
-Verify that none of the methods throw when load has started. |
-RUN(video.webkitGenerateKeyRequest('webkit-org.w3.clearkey')) |
-RUN(video.webkitAddKey('webkit-org.w3.clearkey', key)) |
-RUN(video.webkitCancelKeyRequest('webkit-org.w3.clearkey')) |
-RUN(video.canPlayType('audio/wav', 'webkit-org.w3.clearkey')) |
-END OF TEST |
- |