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

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix isRenewalMessage() in browser tests. Created 4 years, 10 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
Index: third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt b/third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt
deleted file mode 100644
index ae4acb87f4bdf95261413fc5f4837134a7a3a2ba..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt
+++ /dev/null
@@ -1,56 +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.
-Tests invalid and valid syntaxes.
-
-Test calling functions with too few parameters.
-TEST(video.webkitGenerateKeyRequest()) THROWS("TypeError: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': 1 argument required, but only 0 present.") OK
-TEST(video.webkitAddKey()) THROWS("TypeError: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': 2 arguments required, but only 0 present.") OK
-TEST(video.webkitAddKey('webkit-org.w3.clearkey')) THROWS("TypeError: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': 2 arguments required, but only 1 present.") OK
-TEST(video.webkitCancelKeyRequest()) THROWS("TypeError: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': 1 argument required, but only 0 present.") OK
-
-Verify invalid key system parameter is caught before checking whether loading has started.
-EXPECTED (video.networkState == '0') OK
-EXPECTED (video.currentSrc == '') OK
-TEST(video.webkitGenerateKeyRequest('')) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitGenerateKeyRequest(null)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitGenerateKeyRequest(undefined)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitAddKey('', key)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitAddKey(null, key)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitAddKey(undefined, key)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitCancelKeyRequest('')) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitCancelKeyRequest(null)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': The key system provided is empty.) OK
-TEST(video.webkitCancelKeyRequest(undefined)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': The key system provided is empty.) OK
-
-null key is caught before load state is checked.
-TEST(video.webkitAddKey('webkit-org.w3.clearkey', '')) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key provided is invalid.) OK
-TEST(video.webkitAddKey('webkit-org.w3.clearkey', null)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key provided is invalid.) OK
-TEST(video.webkitAddKey('webkit-org.w3.clearkey', undefined)) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key provided is invalid.) OK
-
-0-length key is caught before load state is checked.
-TEST(video.webkitAddKey('webkit-org.w3.clearkey', new Uint8Array())) THROWS(DOMException.TYPE_MISMATCH_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key provided is invalid.) OK
-
-Key system validity is not checked before loading.
-TEST(video.webkitGenerateKeyRequest('com.example.invalid')) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': No media has been loaded.) OK
-TEST(video.webkitAddKey('com.example.invalid', key)) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': No media has been loaded.) OK
-TEST(video.webkitCancelKeyRequest('com.example.invalid')) THROWS(DOMException.INVALID_STATE_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': No media has been loaded.) OK
-
-EVENT(loadstart)
-Verify valid syntaxes do not throw.
-EXPECTED (video.networkState == '2') OK
-EXPECTED (video.currentSrc != '') OK
-RUN(video.webkitGenerateKeyRequest('webkit-org.w3.clearkey'))
-RUN(video.webkitGenerateKeyRequest('webkit-org.w3.clearkey', initData))
-RUN(video.webkitAddKey('webkit-org.w3.clearkey', key))
-RUN(video.webkitAddKey('webkit-org.w3.clearkey', key, 'session'))
-RUN(video.webkitAddKey('webkit-org.w3.clearkey', key, initData))
-RUN(video.webkitAddKey('webkit-org.w3.clearkey', key, initData, 'session'))
-RUN(video.webkitCancelKeyRequest('webkit-org.w3.clearkey'))
-RUN(video.webkitCancelKeyRequest('webkit-org.w3.clearkey', 'session'))
-
-Unsupported key systems result in NOT_SUPPORTED_ERR.
-TEST(video.webkitGenerateKeyRequest('com.example.invalid')) THROWS(DOMException.NOT_SUPPORTED_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaElement': The key system provided ('com.example.invalid') is not supported.) OK
-TEST(video.webkitAddKey('com.example.invalid', key)) THROWS(DOMException.NOT_SUPPORTED_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key system provided ('com.example.invalid') is not supported.) OK
-TEST(video.webkitCancelKeyRequest('com.example.invalid')) THROWS(DOMException.NOT_SUPPORTED_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement': The key system provided ('com.example.invalid') is not supported.) OK
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698