Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / mediasession / mediasession-constructor.html
blob116a985469c39f0d8ca70c6789635bd2b3c2303a
1 <!DOCTYPE html>
2 <title>MediaSession() constructor</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script>
6 test(function() {
7 assert_true(!window.internals || window.internals.runtimeFlags.mediaSessionEnabled,
8 "Run either manually by passing the MediaSession flag or as part of the virtual mediasession testsuite.");
9 console.warn("dummy log entry to avoid an empty -expected.txt in virtual/");
11 var mediaSession = new MediaSession();
12 assert_true(mediaSession instanceof MediaSession);
13 });
14 </script>