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

Side by Side Diff: LayoutTests/media/encrypted-media/prefixed/encrypted-media-constants.html

Issue 724573004: Remove MediaError.MEDIA_ERR_ENCRYPTED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/media/encrypted-media/prefixed/encrypted-media-constants-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src=../../video-test.js></script> 4 <script src=../../video-test.js></script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 function doTest () 6 function doTest ()
7 { 7 {
8 testExpected("MediaKeyError.MEDIA_KEYERR_UNKNOWN", 1); 8 testExpected("MediaKeyError.MEDIA_KEYERR_UNKNOWN", 1);
9 testExpected("MediaKeyError.MEDIA_KEYERR_CLIENT", 2); 9 testExpected("MediaKeyError.MEDIA_KEYERR_CLIENT", 2);
10 testExpected("MediaKeyError.MEDIA_KEYERR_SERVICE", 3); 10 testExpected("MediaKeyError.MEDIA_KEYERR_SERVICE", 3);
11 testExpected("MediaKeyError.MEDIA_KEYERR_OUTPUT", 4); 11 testExpected("MediaKeyError.MEDIA_KEYERR_OUTPUT", 4);
12 testExpected("MediaKeyError.MEDIA_KEYERR_HARDWARECHANGE", 5); 12 testExpected("MediaKeyError.MEDIA_KEYERR_HARDWARECHANGE", 5);
13 testExpected("MediaKeyError.MEDIA_KEYERR_DOMAIN", 6); 13 testExpected("MediaKeyError.MEDIA_KEYERR_DOMAIN", 6);
14 consoleWrite(""); 14 consoleWrite("");
15 15
16 testExpected("MediaError.MEDIA_ERR_ENCRYPTED", 5);
17
18 endTest(); 16 endTest();
19 } 17 }
20 </script> 18 </script>
21 </head> 19 </head>
22 <body onload="doTest()"> 20 <body onload="doTest()">
23 <p>Test MediaKeyError constants and additional MediaError constant.</p> 21 <p>Test MediaKeyError constants and additional MediaError constant.</p>
24 </body> 22 </body>
25 </html> 23 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/encrypted-media/prefixed/encrypted-media-constants-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698