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

Side by Side Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-syntax.html

Issue 2270383002: clean up encrypted-media tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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>Test EME syntax</title> 4 <title>Test EME syntax</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 // Since promises catch any exception and convert it into a 11 // Since promises catch any exception and convert it into a
13 // rejected Promise, there is no current way to have the W3C 12 // rejected Promise, there is no current way to have the W3C
14 // test framework report a failed test. For now, simply force 13 // test framework report a failed test. For now, simply force
15 // a timeout to indicate failure. 14 // a timeout to indicate failure.
16 // FIXME: Once W3C test framework handles Promises, fix this. 15 // FIXME: Once W3C test framework handles Promises, fix this.
17 16
18 // This function checks that calling |testCase.func| returns a 17 // This function checks that calling |testCase.func| returns a
19 // rejected Promise with the error.name equal to 18 // rejected Promise with the error.name equal to
20 // |testCase.exception|. 19 // |testCase.exception|.
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 }); 1001 });
1003 }, 'Test MediaKeys setServerCertificate().'); 1002 }, 'Test MediaKeys setServerCertificate().');
1004 1003
1005 1004
1006 // FIXME: Add syntax checks for MediaKeys.IsTypeSupported(). 1005 // FIXME: Add syntax checks for MediaKeys.IsTypeSupported().
1007 // FIXME: Add syntax checks for MediaKeyError and MediaKeySession ev ents. 1006 // FIXME: Add syntax checks for MediaKeyError and MediaKeySession ev ents.
1008 // FIXME: Add HTMLMediaElement syntax checks, e.g. setMediaKeys, med iakeys, onencrypted. 1007 // FIXME: Add HTMLMediaElement syntax checks, e.g. setMediaKeys, med iakeys, onencrypted.
1009 </script> 1008 </script>
1010 </body> 1009 </body>
1011 </html> 1010 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698