OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <title>Test that the media session constructor exists</title> | |
philipj_slow
2015/06/26 12:34:40
Maybe just "MediaSession() constructor" as this te
davve
2015/06/26 12:50:50
Done.
| |
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(); | |
philipj_slow
2015/06/26 12:34:41
Maybe assert_true(mediaSession instanceof MediaSes
davve
2015/06/26 12:50:50
Done.
| |
13 }); | |
14 </script> | |
OLD | NEW |