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

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

Issue 2474073005: DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: test fixed Created 4 years, 1 month 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/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 63857cd80deda28b0936860fa440bd8eb1605c1c..1696bdf19a133125f40ccba64bcffa62694dc8d2 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -1013,8 +1013,6 @@ WebInspector.BackendSettingsSync = class {
this._autoAttachSetting.addChangeListener(this._update, this);
this._disableJavascriptSetting = WebInspector.settings.moduleSetting('javaScriptDisabled');
this._disableJavascriptSetting.addChangeListener(this._update, this);
- this._blockedEventsWarningSetting = WebInspector.settings.moduleSetting('blockedEventsWarningEnabled');
- this._blockedEventsWarningSetting.addChangeListener(this._update, this);
WebInspector.targetManager.observeTargets(this, WebInspector.Target.Capability.Browser);
}
@@ -1022,9 +1020,6 @@ WebInspector.BackendSettingsSync = class {
* @param {!WebInspector.Target} target
*/
_updateTarget(target) {
- var blockedEventsWarningThresholdSeconds = 0.1;
- target.pageAgent().setBlockedEventsWarningThreshold(
- this._blockedEventsWarningSetting.get() ? blockedEventsWarningThresholdSeconds : 0);
target.pageAgent().setAutoAttachToCreatedPages(this._autoAttachSetting.get());
target.emulationAgent().setScriptExecutionDisabled(this._disableJavascriptSetting.get());
}

Powered by Google App Engine
This is Rietveld 408576698