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

Side by Side Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses-multiple-updates.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 with multiple updates</title> 4 <title>Verify MediaKeySession.keyStatuses with multiple updates</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 initDataType; 13 var initDataType;
15 var initData; 14 var initData;
16 var mediaKeySession; 15 var mediaKeySession;
17 var firstEvent; 16 var firstEvent;
18 17
19 // Even though key ids are uint8, using printable values so that 18 // Even though key ids are uint8, using printable values so that
20 // they can be verified easily. 19 // they can be verified easily.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 waitForEventAndRunStep('keystatuseschange', mediaKeySession, processKeyStatusesChange, test); 73 waitForEventAndRunStep('keystatuseschange', mediaKeySession, processKeyStatusesChange, test);
75 74
76 return mediaKeySession.generateRequest(initDataType, initDat a); 75 return mediaKeySession.generateRequest(initDataType, initDat a);
77 }).catch(function(error) { 76 }).catch(function(error) {
78 forceTestFailureFromPromise(test, error); 77 forceTestFailureFromPromise(test, error);
79 }); 78 });
80 }, 'Verify MediaKeySession.keyStatuses with multiple updates.'); 79 }, 'Verify MediaKeySession.keyStatuses with multiple updates.');
81 </script> 80 </script>
82 </body> 81 </body>
83 </html> 82 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698