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

Side by Side Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses-multiple-keys.html

Issue 2270383002: clean up encrypted-media tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Verify MediaKeySession.keyStatuses handles multiple keys</title> 4 <title>Verify MediaKeySession.keyStatuses handles multiple keys</title>
5 <script src="encrypted-media-utils.js"></script> 5 <script src="encrypted-media-utils.js"></script>
6 <script src="../../resources/testharness.js"></script> 6 <script src="../../resources/testharness.js"></script>
7 <script src="../../resources/testharnessreport.js"></script> 7 <script src="../../resources/testharnessreport.js"></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <div id="log"></div>
11 <script> 10 <script>
12 async_test(function(test) 11 async_test(function(test)
13 { 12 {
14 var mediaKeySession; 13 var mediaKeySession;
15 var initDataType; 14 var initDataType;
16 var initData; 15 var initData;
17 16
18 // Create a list of multiple unique keyIds. 17 // Create a list of multiple unique keyIds.
19 var keyIds = [ stringToUint8Array('keyid'), 18 var keyIds = [ stringToUint8Array('keyid'),
20 stringToUint8Array('a really long keyid'), 19 stringToUint8Array('a really long keyid'),
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 80
82 waitForEventAndRunStep('message', mediaKeySession, processMe ssage, test); 81 waitForEventAndRunStep('message', mediaKeySession, processMe ssage, test);
83 return mediaKeySession.generateRequest(initDataType, initDat a); 82 return mediaKeySession.generateRequest(initDataType, initDat a);
84 }).catch(function(error) { 83 }).catch(function(error) {
85 forceTestFailureFromPromise(test, error); 84 forceTestFailureFromPromise(test, error);
86 }); 85 });
87 }, 'Verify MediaKeySession.keyStatuses handles multiple keys.'); 86 }, 'Verify MediaKeySession.keyStatuses handles multiple keys.');
88 </script> 87 </script>
89 </body> 88 </body>
90 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698