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

Unified Diff: Source/devtools/front_end/main/AdvancedApp.js

Issue 615893004: DevTools: Use "toolbox.html" in URL passed to window.open() as a toolbox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/devtools/front_end/toolbox_bootstrap/Toolbox.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/main/AdvancedApp.js
diff --git a/Source/devtools/front_end/main/AdvancedApp.js b/Source/devtools/front_end/main/AdvancedApp.js
index ea2c82e7a12b79da7f4b806ba0eb5c76a0192ba4..2dae0138fb781af5e8988870e554aafd8f32c03e 100644
--- a/Source/devtools/front_end/main/AdvancedApp.js
+++ b/Source/devtools/front_end/main/AdvancedApp.js
@@ -83,11 +83,7 @@ WebInspector.AdvancedApp.prototype = {
if (this._toolboxWindow)
return;
- // FIXME: Remove toolbox=true and fix the check in DevToolsWindow::WebContentsCreated().
- var toolbox = (window.location.search ? "&" : "?") + "toolbox=true";
- var hash = window.location.hash;
- var url = window.location.href.replace(hash, "") + toolbox + hash;
- url = url.replace("devtools.html", "toolbox.html");
+ var url = window.location.href.replace("devtools.html", "toolbox.html");
this._toolboxWindow = window.open(url, undefined);
},
« no previous file with comments | « no previous file | Source/devtools/front_end/toolbox_bootstrap/Toolbox.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698