Index: LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt |
diff --git a/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt b/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt |
index 5c0f9bfe846c028c65e59a9faa71fa55de3f2185..820d648e258ea8dd4c4b6d0f82d9a31ed20d73fc 100644 |
--- a/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt |
+++ b/LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt |
@@ -11,9 +11,9 @@ 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': The player is in an invalid state.) OK |
-TEST(video.webkitAddKey('webkit-org.w3.clearkey', key)) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The player is in an invalid state.) OK |
-TEST(video.webkitCancelKeyRequest('webkit-org.w3.clearkey')) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': The player is in an invalid state.) 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) |