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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/Settings.js

Issue 2112593003: [DevTools] Remove [V8] from InspectorInstrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup, moving csp event to dom debugger Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/common/Settings.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/Settings.js b/third_party/WebKit/Source/devtools/front_end/common/Settings.js
index b5e159e9f3cc7f6f996e232df35da8a6b8a36d07..841eedaf2d9b9e14063d956a7e6b80c0693a92d6 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/Settings.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/Settings.js
@@ -399,7 +399,7 @@ WebInspector.VersionController = function()
}
WebInspector.VersionController._currentVersionName = "inspectorVersion";
-WebInspector.VersionController.currentVersion = 18;
+WebInspector.VersionController.currentVersion = 19;
WebInspector.VersionController.prototype = {
updateVersion: function()
@@ -700,6 +700,14 @@ WebInspector.VersionController.prototype = {
setting.set(newValue);
},
+ _updateVersionFrom18To19: function()
+ {
+ var setting = WebInspector.settings.createLocalSetting("eventListenerBreakpoints", []);
+ var list = setting.get();
+ list.push({eventName: "instrumentation:scriptBlockedByCSP", targetNames: ["*"]});
+ setting.set(list);
+ },
+
_migrateSettingsFromLocalStorage: function()
{
// This step migrates all the settings except for the ones below into the browser profile.

Powered by Google App Engine
This is Rietveld 408576698