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

Unified Diff: third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/htmlmediaelement-set-session-expected.txt

Issue 1420223002: Disallow assigning a MediaSession after the resource has been selected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull expected file from the bots Created 5 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/virtual/mediasession/media/mediasession/htmlmediaelement-set-session-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/htmlmediaelement-set-session-expected.txt b/third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/htmlmediaelement-set-session-expected.txt
index a3dc218d99309743131d7de89b34d6d3af8bfb5f..f9115838b78ffbb38abba7a10d9500cb399cacab 100644
--- a/third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/htmlmediaelement-set-session-expected.txt
+++ b/third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/htmlmediaelement-set-session-expected.txt
@@ -1,5 +1,8 @@
CONSOLE WARNING: line 9: dummy log entry to avoid an empty -expected.txt in virtual/
This is a testharness.js-based test.
-FAIL HTMLMediaElement set session Failed to construct 'MediaSession': Missing platform implementation.
+PASS Setup
+FAIL Set HTMLMediaElement session when networkState is NETWORK_EMPTY Failed to construct 'MediaSession': Missing platform implementation.
+FAIL Set HTMLMediaElement session when networkState is NETWORK_NO_SOURCE Failed to construct 'MediaSession': Missing platform implementation.
+FAIL Set HTMLMediaElement session during or after load assert_throws: function "function () { mediaElement.session = new MediaSession(); }" threw object "NotSupportedError: Failed to construct 'MediaSession': Mi..." that is not a DOMException InvalidStateError: property "code" is equal to 9, expected 11
Harness: the test ran to completion.

Powered by Google App Engine
This is Rietveld 408576698