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

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

Issue 2403633002: [DevTools] Move sanitize url to devtools_ui.cc. (Closed)
Patch Set: disable test on android and ios - there is no devtools_ui Created 4 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
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 dd1f05b0d07c865982b99320f072cb71bff4e13d..35dc41168417b82ec59633a2ec2d9597b31596d5 100644
--- a/third_party/WebKit/Source/devtools/front_end/Runtime.js
+++ b/third_party/WebKit/Source/devtools/front_end/Runtime.js
@@ -1101,17 +1101,6 @@ Runtime.Experiment.prototype = {
var name = pair.shift();
Runtime._queryParamsObject[name] = pair.join("=");
}
- var flags = Runtime._queryParamsObject["flags"];
- delete Runtime._queryParamsObject["flags"];
- if (flags) {
- try {
- var parsedFlags = JSON.parse(window.decodeURIComponent(flags));
- for (var key in parsedFlags)
- Runtime._queryParamsObject[key] = parsedFlags[key];
- } catch(e) {
- console.error("Invalid startup flag: " + e);
- }
- }
})();}
« no previous file with comments | « content/renderer/devtools/devtools_client.cc ('k') | third_party/WebKit/Source/devtools/front_end/devtools.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698