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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2708413003: DevTools: make disable javascript setting temporary (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index d4d3ecb9cea3855113fa2080d3e92c86a59e6494..f9ff095ea68df3490b8eb662df6ba2f30471fec7 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -84,6 +84,7 @@ Main.Main = class {
prefs, InspectorFrontendHost.setPreference, InspectorFrontendHost.removePreference,
InspectorFrontendHost.clearPreferences, storagePrefix);
Common.settings = new Common.Settings(globalStorage, localStorage);
+ Common.moduleSetting('javaScriptDisabled').set(false);
pfeldman 2017/02/23 01:30:50 Should we introduce session settings instead? 'ses
if (!Host.isUnderTest(prefs))
new Common.VersionController().updateVersion();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698