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

Unified Diff: chrome/test/media_router/resources/common.js

Issue 2552343009: [Presentation API] Adds DOMString[] constructor to PresentationRequest. (Closed)
Patch Set: resolve code review comments from foolip Created 3 years, 11 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: chrome/test/media_router/resources/common.js
diff --git a/chrome/test/media_router/resources/common.js b/chrome/test/media_router/resources/common.js
index 6740342957cb0e845a3068bb7a20ba9fc224733e..3f61ae4d1bdc5c49b87202f7b5458b748a55299c 100644
--- a/chrome/test/media_router/resources/common.js
+++ b/chrome/test/media_router/resources/common.js
@@ -18,7 +18,7 @@ if (window.location.href.indexOf('__is_android__=true') >= 0) {
} else {
presentationUrl = "http://www.google.com/#__testprovider__=true";
}
-var startSessionRequest = new PresentationRequest(presentationUrl);
+var startSessionRequest = new PresentationRequest([presentationUrl]);
var defaultRequestSessionId = null;
var lastExecutionResult = null;
var useDomAutomationController = !!window.domAutomationController;

Powered by Google App Engine
This is Rietveld 408576698