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

Unified Diff: third_party/WebKit/LayoutTests/media/remoteplayback/prompt-twice-throws.html

Issue 2480003002: [RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly (Closed)
Patch Set: Fixed failing tests Created 4 years, 1 month 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/remoteplayback/prompt-twice-throws.html
diff --git a/third_party/WebKit/LayoutTests/media/remoteplayback/prompt-twice-throws.html b/third_party/WebKit/LayoutTests/media/remoteplayback/prompt-twice-throws.html
index 9a14115ccbe37d8636e6f0f7efc532e949f0ec28..bacf9a0431ca16f80f8de4f1f03b9ec1b33edcc7 100644
--- a/third_party/WebKit/LayoutTests/media/remoteplayback/prompt-twice-throws.html
+++ b/third_party/WebKit/LayoutTests/media/remoteplayback/prompt-twice-throws.html
@@ -23,6 +23,8 @@
v.src = findMediaFile('video', 'content/test');
document.body.appendChild(v);
+ internals.mediaPlayerRemoteRouteAvailabilityChanged(v, true);
+
var btn = document.getElementById('button');
btn.onclick = function() {
v.remote.prompt();

Powered by Google App Engine
This is Rietveld 408576698