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

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

Issue 1170193002: [DevTools] Add uiTest.testSettings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments Created 5 years, 6 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/main/Main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Runtime.js
diff --git a/Source/devtools/front_end/Runtime.js b/Source/devtools/front_end/Runtime.js
index 6b472216a5aba351c7271ea49700dd1d8bfcb0da..41e7cd7dafc1dd1e4b751e1e925e1d7eada7b87b 100644
--- a/Source/devtools/front_end/Runtime.js
+++ b/Source/devtools/front_end/Runtime.js
@@ -991,6 +991,13 @@ Runtime.ExperimentsSupport.prototype = {
this._enabledTransiently[experimentName] = true;
},
+ clearForTest: function()
+ {
+ this._experiments = [];
+ this._experimentNames = {};
+ this._enabledTransiently = {};
+ },
+
cleanUpStaleExperiments: function()
{
var experimentsSetting = Runtime._experimentsSetting();
« no previous file with comments | « no previous file | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698