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

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

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix layout 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-prefixed-after-unprefixed.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html
deleted file mode 100644
index 7a62d96964ce52bb6a49c94028034dfc5078e051..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-prefixed-after-unprefixed.html
+++ /dev/null
@@ -1,40 +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()
- {
- 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);
- return video.setMediaKeys(mediaKeys);
- }).then(function(result) {
- assert_throws('InvalidStateError',
- function () { video.webkitGenerateKeyRequest('webkit-org.w3.clearkey'); });
- test.done();
- }).catch(function(error) {
- forceTestFailureFromPromise(test, error);
- });
- }
-
- video.src = '../content/test-encrypted.webm';
- waitForEventAndRunStep('loadstart', video, loadStarted, test);
- }, 'Call prefixed EME API after unprefixed EME API.');
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698