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

Unified Diff: third_party/WebKit/Source/devtools/front_end/devtools.js

Issue 2223093002: Merge to 2785 "[DevTools] Do not use "settings" query param." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/devtools/front_end/devtools.js
diff --git a/third_party/WebKit/Source/devtools/front_end/devtools.js b/third_party/WebKit/Source/devtools/front_end/devtools.js
index 9618a143177a3da3b31421b99f5ad11022257fa9..55f5269048878697abe7a060ab1dbfcf63edb3f3 100644
--- a/third_party/WebKit/Source/devtools/front_end/devtools.js
+++ b/third_party/WebKit/Source/devtools/front_end/devtools.js
@@ -1000,6 +1000,8 @@ function sanitizeRemoteFrontendUrl()
location.search = "";
if (name === "remoteBase" && !remoteBaseRegexp.test(value))
location.search = "";
+ if (name === "settings")
+ location.search = "";
}
}
« no previous file with comments | « content/shell/browser/shell_devtools_frontend.cc ('k') | third_party/WebKit/Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698