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

Unified Diff: third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html

Issue 2401013002: Make MediaSession per frame as an attribute of Navigator (Closed)
Patch Set: split mojo tests Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html
diff --git a/third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html b/third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html
index 083f56608fa73ce3e25caad01c8c898a284ee619..6297cac1a65c06017b74efdc9c26b9ed11ab7507 100644
--- a/third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html
+++ b/third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html
@@ -3,11 +3,10 @@
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
- console.warn("dummy log entry to avoid an empty -expected.txt in virtual/");
test(function() {
var metadata = new MediaMetadata({});
- assert_true(metadata != null);
+ assert_not_equals(metadata, null);
var exception = false;
try {
@@ -22,7 +21,7 @@
metadata = new MediaMetadata(42);
} catch (e) {
exception = true;
- }
+ }
assert_true(exception);
}, 'Test that MediaMetadata is constructed using a dictionary');

Powered by Google App Engine
This is Rietveld 408576698