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

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

Issue 2927503002: [Presentation API / Media Router] Relax PresentationRequest URL check. (Closed)
Patch Set: Really add #include Created 3 years, 6 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 0e61e985c97c16da52b2b0450e4142fc87ae958d..05b8d9b3ad7254629501eaab37440499ebe176f3 100644
--- a/chrome/test/media_router/resources/common.js
+++ b/chrome/test/media_router/resources/common.js
@@ -18,12 +18,11 @@ if (params.get('__is_android__') == 'true') {
// TODO(zqzhang): this requirement may be removed in the future.
presentationUrl = "https://google.com/cast#__castAppId__=CCCCCCCC/";
} else if (params.get('__oneUA__') == 'true') {
- presentationUrl =
- "presentation_receiver.html#__testprovider__=true&__oneUA__=true";
+ presentationUrl = "presentation_receiver.html";
} else if (params.get('__oneUANoReceiver__') == 'true') {
- presentationUrl = "https://www.google.com#__testprovider__=true&__oneUA__=true";
+ presentationUrl = "https://www.google.com";
} else {
- presentationUrl = "http://www.google.com/#__testprovider__=true";
+ presentationUrl = "test://test";
}
var startSessionRequest = new PresentationRequest([presentationUrl]);

Powered by Google App Engine
This is Rietveld 408576698