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

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unprefixed-after-prefixed.html

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/encrypted-media-unprefixed-after-prefixed.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unprefixed-after-prefixed.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unprefixed-after-prefixed.html
deleted file mode 100644
index 38b177351e8b7c968308637f60b10cac1b615bdb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unprefixed-after-prefixed.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Prefixed and unprefixed EME API</title>
- <script src="encrypted-media-utils.js"></script>
- <script src="../../resources/testharness.js"></script>
- <script src="../../resources/testharnessreport.js"></script>
- </head>
- <body>
- <video id="testVideo"></video>
- <div id="log"></div>
- <script>
- async_test(function(test)
- {
- var video = document.getElementById('testVideo');
- assert_not_equals(video, null);
-
- function loadStarted()
- {
- video.webkitGenerateKeyRequest('webkit-org.w3.clearkey');
- navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{}]).then(function(access) {
- assert_equals(access.keySystem, 'org.w3.clearkey');
- return access.createMediaKeys();
- }).then(function(mediaKeys) {
- assert_not_equals(mediaKeys, null);
- assert_equals(typeof mediaKeys.createSession, 'function');
- video.setMediaKeys(mediaKeys).then(function(result) {
- assert_unreached('setMediaKeys should have failed.');
- }, function(error) {
- assert_equals(error.name, 'InvalidStateError');
- assert_not_equals(error.message, '');
- test.done();
- });
- }).catch(function(error) {
- forceTestFailureFromPromise(test, error);
- });
- }
-
- video.src = '../content/test-encrypted.webm';
- waitForEventAndRunStep('loadstart', video, loadStarted, test);
- }, 'Call unprefixed EME API after prefixed EME API.');
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698