Index: third_party/WebKit/Source/devtools/front_end/Runtime.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/Runtime.js b/third_party/WebKit/Source/devtools/front_end/Runtime.js |
index 40005009062d19b128a9baf4fef38cbdca793478..b4c88d4c5613c0cc489b1dd17591222dad6cb475 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/Runtime.js |
+++ b/third_party/WebKit/Source/devtools/front_end/Runtime.js |
@@ -1093,6 +1093,11 @@ Runtime.experiments = new Runtime.ExperimentsSupport(); |
* @type {?string} |
*/ |
Runtime._remoteBase = Runtime.queryParam("remoteBase"); |
+{(function validateRemoteBase() |
+{ |
+ if (Runtime._remoteBase && !Runtime._remoteBase.startsWith("https://chrome-devtools-frontend.appspot.com/")) |
+ Runtime._remoteBase = null; |
+})();} |
/** |
* @param {string} path |