Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <title>Test that the media session constructor exists</title> | |
| 3 <script src="../../resources/testharness.js"></script> | |
| 4 <script src="../../resources/testharnessreport.js"></script> | |
| 5 <div id="log"></div> | |
| 6 <script> | |
| 7 test(function() { | |
| 8 // Test expects to be run either manually by passing the MediaSession flag or as part of the virtual mediasession | |
| 9 // testsuite. | |
| 10 assert_true(!window.internals || window.internals.runtimeFlags.mediaSessio nEnabled); | |
| 11 | |
| 12 var mediaSession = new MediaSession(); | |
| 13 }); | |
| 14 </script> | |
| OLD | NEW |