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

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

Issue 1217743003: Add stub for assigning media session to media elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments round #3 - idl issues, gypi issues, doc issues Created 5 years, 5 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>MediaSession() constructor</title> 2 <title>MediaSession() constructor</title>
3 <script src="../../resources/testharness.js"></script> 3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script> 4 <script src="../../resources/testharnessreport.js"></script>
5 <div id="log"></div>
6 <script> 5 <script>
7 test(function() { 6 test(function() {
8 assert_true(!window.internals || window.internals.runtimeFlags.mediaSessio nEnabled, 7 assert_true(!window.internals || window.internals.runtimeFlags.mediaSessio nEnabled,
9 "Run either manually by passing the MediaSession flag or as part of th e virtual mediasession testsuite."); 8 "Run either manually by passing the MediaSession flag or as part of th e virtual mediasession testsuite.");
10 console.warn("dummy log entry to avoid an empty -expected.txt in virtual/" ); 9 console.warn("dummy log entry to avoid an empty -expected.txt in virtual/" );
11 10
12 var mediaSession = new MediaSession(); 11 var mediaSession = new MediaSession();
13 assert_true(mediaSession instanceof MediaSession); 12 assert_true(mediaSession instanceof MediaSession);
14 }); 13 });
15 </script> 14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698