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

Unified Diff: third_party/WebKit/Source/devtools/front_end/Runtime.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 | « no previous file | third_party/WebKit/Source/devtools/front_end/common/Worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 060b400e2eab64cb01775f34690db34a0abb8611..6db0b2603532969c4b85c004ce43761e19fa820f 100644
--- a/third_party/WebKit/Source/devtools/front_end/Runtime.js
+++ b/third_party/WebKit/Source/devtools/front_end/Runtime.js
@@ -327,6 +327,13 @@ var Runtime = class {
}
/**
+ * @return {string}
+ */
+ static queryParamsString() {
+ return location.search;
+ }
+
+ /**
* @return {!Object}
*/
static _experimentsSetting() {
@@ -1067,7 +1074,7 @@ Runtime.Experiment = class {
{
(function parseQueryParameters() {
- var queryParams = location.search;
+ var queryParams = Runtime.queryParamsString();
if (!queryParams)
return;
var params = queryParams.substring(1).split('&');
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/common/Worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698