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

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

Issue 2522613003: DevTools: respect isUnderTest conditions in the browser tests. (Closed)
Patch Set: 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 ccdaf66bb2e2135f738d5f528fca3311d62f4db1..5b63c5787633387c850ad8b89f63bfb5a0065666 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
@@ -50,7 +50,7 @@ SDK.ConsoleModel = class extends SDK.SDKModel {
if (this._logAgent) {
target.registerLogDispatcher(new SDK.LogDispatcher(this));
this._logAgent.enable();
- if (!InspectorFrontendHost.isUnderTest()) {
+ if (!Host.isUnderTest()) {
this._logAgent.startViolationsReport([
{name: 'longTask', threshold: 200}, {name: 'longLayout', threshold: 30},
{name: 'blockedEvent', threshold: 100}, {name: 'blockedParser', threshold: -1},

Powered by Google App Engine
This is Rietveld 408576698