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

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

Issue 686893004: Remove obsolete ready and error events from MediaKeySession. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Completely remove events 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
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> 10 <div id="log"></div>
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 } 497 }
498 498
499 // FIXME: Update this set of tests when done 499 // FIXME: Update this set of tests when done
500 // implementing the latest spec. 500 // implementing the latest spec.
501 assert_equals(typeof mediaKeySession, 'object'); 501 assert_equals(typeof mediaKeySession, 'object');
502 assert_equals(typeof mediaKeySession.addEventListener, 'function '); 502 assert_equals(typeof mediaKeySession.addEventListener, 'function ');
503 assert_equals(typeof mediaKeySession.generateRequest, 'function' ); 503 assert_equals(typeof mediaKeySession.generateRequest, 'function' );
504 assert_equals(typeof mediaKeySession.update, 'function'); 504 assert_equals(typeof mediaKeySession.update, 'function');
505 assert_equals(typeof mediaKeySession.close, 'function'); 505 assert_equals(typeof mediaKeySession.close, 'function');
506 assert_equals(typeof mediaKeySession.remove, 'function'); 506 assert_equals(typeof mediaKeySession.remove, 'function');
507 assert_equals(mediaKeySession.error, null);
508 assert_equals(mediaKeySession.sessionId, ''); 507 assert_equals(mediaKeySession.sessionId, '');
509 assert_equals(typeof mediaKeySession.sessionId, 'string'); 508 assert_equals(typeof mediaKeySession.sessionId, 'string');
510 assert_equals(typeof mediaKeySession.onopen, 'undefined'); 509 assert_equals(typeof mediaKeySession.onopen, 'undefined');
511 assert_equals(typeof mediaKeySession.onmessage, 'undefined'); 510 assert_equals(typeof mediaKeySession.onmessage, 'undefined');
512 assert_equals(typeof mediaKeySession.onclose, 'undefined'); 511 assert_equals(typeof mediaKeySession.onclose, 'undefined');
513 assert_equals(typeof mediaKeySession.onerror, 'undefined'); 512 assert_equals(typeof mediaKeySession.onerror, 'undefined');
514 } 513 }
515 514
516 async_test(function(test) 515 async_test(function(test)
517 { 516 {
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 918
920 // FIXME: Add test for successful setServerCertificate(). Note that 919 // FIXME: Add test for successful setServerCertificate(). Note that
921 // ClearKey does not support it. 920 // ClearKey does not support it.
922 921
923 // FIXME: Add syntax checks for MediaKeys.IsTypeSupported(). 922 // FIXME: Add syntax checks for MediaKeys.IsTypeSupported().
924 // FIXME: Add syntax checks for MediaKeyError and MediaKeySession ev ents. 923 // FIXME: Add syntax checks for MediaKeyError and MediaKeySession ev ents.
925 // FIXME: Add HTMLMediaElement syntax checks, e.g. setMediaKeys, med iakeys, onencrypted. 924 // FIXME: Add HTMLMediaElement syntax checks, e.g. setMediaKeys, med iakeys, onencrypted.
926 </script> 925 </script>
927 </body> 926 </body>
928 </html> 927 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/modules/encryptedmedia/MediaKeySession.h » ('j') | Source/modules/encryptedmedia/MediaKeySession.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698