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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js

Issue 2502843002: DevTools: issue document.write(script) violation reports. (Closed)
Patch Set: rebaselined 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/sdk/ConsoleModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
index 7bb07ccfc1bc19e7699a106547fd21618530a4e8..d276b6f24da7b49bb981b3d636ad71b5083ebc10 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
@@ -53,7 +53,7 @@ SDK.ConsoleModel = class extends SDK.SDKModel {
if (!InspectorFrontendHost.isUnderTest()) {
this._logAgent.startViolationsReport([
{name: 'longTask', threshold: 50}, {name: 'longLayout', threshold: 30},
- {name: 'blockedEvent', threshold: 100}
+ {name: 'blockedEvent', threshold: 100}, {name: 'blockedParser', threshold: -1}
]);
}
}

Powered by Google App Engine
This is Rietveld 408576698