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

Unified Diff: LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt

Issue 157423003: Remove the dependency on encryptedmedia from HTMLMediaElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compilation error on linux Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | Source/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698