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

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 dummy warning to test, move comment to test and update stale expected file. 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
(Empty)
1 <!DOCTYPE html>
2 <title>MediaSession() constructor</title>
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 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.");
10 console.warn("dummy log entry to avoid an empty -expected.txt in virtual/" );
11
12 var mediaSession = new MediaSession();
13 assert_true(mediaSession instanceof MediaSession);
14 });
15 </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