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

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

Issue 2516833002: DevTools: launch worker runtimes with all the queryParams of the main page runtime. (Closed)
Patch Set: Created 4 years, 1 month 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 | « third_party/WebKit/Source/devtools/front_end/Runtime.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/common/Worker.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/Worker.js b/third_party/WebKit/Source/devtools/front_end/common/Worker.js
index 72181edf10296a61eeabf821d5c8a63ade7d039b..c256ca6c13e698ec60e34b664408b088e6c1dcd7 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/Worker.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/Worker.js
@@ -37,9 +37,7 @@ Common.Worker = class {
*/
constructor(appName) {
var url = appName + '.js';
- var remoteBase = Runtime.queryParam('remoteBase');
- if (remoteBase)
- url += '?remoteBase=' + remoteBase;
+ url += Runtime.queryParamsString();
/** @type {!Promise<!Worker>} */
this._workerPromise = new Promise(fulfill => {
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/Runtime.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698