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

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

Issue 2444423002: Merge to 2883 "[DevTools] Move sanitize url to devtools_ui.cc." (Closed)
Patch Set: 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 380aa002c6be5bdc9172c6b818074a8d3d669bc8..d3616858808e85949092ad67f56a2937e9187284 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