| 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 8feb8662192f3dba1d280e61196505625edc42cc..e7906e551fe0ba37709c9d5f89efc0e9b1afd583 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| @@ -50,6 +50,8 @@ WebInspector.ConsoleModel = class extends WebInspector.SDKModel {
|
| if (this._logAgent) {
|
| target.registerLogDispatcher(new WebInspector.LogDispatcher(this));
|
| this._logAgent.enable();
|
| + if (!InspectorFrontendHost.isUnderTest())
|
| + this._logAgent.setReportViolationsEnabled(true);
|
| }
|
| }
|
|
|
| @@ -494,6 +496,7 @@ WebInspector.ConsoleMessage.MessageSource = {
|
| Rendering: 'rendering',
|
| CSS: 'css',
|
| Security: 'security',
|
| + Violation: 'violation',
|
| Other: 'other',
|
| Deprecation: 'deprecation',
|
| Worker: 'worker'
|
|
|