blob: 38dba2245d0e2a6ad8d846119564a8c178b0715f [file] [log] [blame]
<!DOCTYPE html>
<title>MediaSession() constructor</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
assert_true(!window.internals || window.internals.runtimeFlags.mediaSessionEnabled,
"Run either manually by passing the MediaSession flag or as part of the virtual mediasession testsuite.");
console.warn("dummy log entry to avoid an empty -expected.txt in virtual/");
var mediaSession = new MediaSession();
assert_true(mediaSession instanceof MediaSession);
});
</script>