| Index: chrome/test/remoting/remote_desktop_browsertest.h
|
| diff --git a/chrome/test/remoting/remote_desktop_browsertest.h b/chrome/test/remoting/remote_desktop_browsertest.h
|
| index 18b4d614b66599a1257b686f8f647c4973ea2732..a3506d4ad2a4b43788a431d90eabd17139158769 100644
|
| --- a/chrome/test/remoting/remote_desktop_browsertest.h
|
| +++ b/chrome/test/remoting/remote_desktop_browsertest.h
|
| @@ -223,7 +223,14 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
|
|
|
| // Helper to construct the starting URL of the installed chromoting webapp.
|
| GURL Chromoting_Main_URL() {
|
| - return GURL("chrome-extension://" + ChromotingID() + "/main.html");
|
| + if (is_platform_app())
|
| + // The v2 remoting app recently (M38 at the latest) started adding a
|
| + // query-string parameter to the main extension page. So we'll create a
|
| + // different expected URL for it.
|
| + return GURL("chrome-extension://" + ChromotingID() +
|
| + "/main.html?isKioskSession=false");
|
| + else
|
| + return GURL("chrome-extension://" + ChromotingID() + "/main.html");
|
| }
|
|
|
| // Helper to retrieve the current URL in the active WebContents.
|
|
|