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

Side by Side Diff: LayoutTests/media/mediasession/mediasession-constructor.html

Issue 1206283002: Add MediaSession runtime flag along with stub MediaSession object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add OWNERS and fix idl "coding style" Created 5 years, 6 months 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
(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>
OLDNEW
« no previous file with comments | « LayoutTests/VirtualTestSuites ('k') | LayoutTests/media/mediasession/mediasession-constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698