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

Unified Diff: third_party/WebKit/Source/devtools/front_end/shell/TestShell.js

Issue 2708413003: DevTools: make disable javascript setting temporary (Closed)
Patch Set: a Created 3 years, 10 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/shell/TestShell.js
diff --git a/third_party/WebKit/Source/devtools/front_end/shell/TestShell.js b/third_party/WebKit/Source/devtools/front_end/shell/TestShell.js
index fa844293c38f04d9be0a1035260d1fc616a3a0c0..cfd771559a7f36eaf9861cf50d7c3600dcdb15ec 100644
--- a/third_party/WebKit/Source/devtools/front_end/shell/TestShell.js
+++ b/third_party/WebKit/Source/devtools/front_end/shell/TestShell.js
@@ -19,7 +19,8 @@ Shell.TestShell = class {
InspectorFrontendHost.clearPreferences);
var storagePrefix = '';
var localStorage = new Common.SettingsStorage({}, undefined, undefined, undefined, storagePrefix);
- Common.settings = new Common.Settings(globalStorage, localStorage);
+ var sessionStorage = new Common.SettingsStorage({}, undefined, undefined, undefined, storagePrefix);
+ Common.settings = new Common.Settings(globalStorage, localStorage, sessionStorage);
UI.viewManager = new UI.ViewManager();
UI.initializeUIUtils(document, Common.settings.createSetting('uiTheme', 'default'));

Powered by Google App Engine
This is Rietveld 408576698