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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/Connections.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/Connections.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js b/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
index 4fa18c4331a5e70bdc537f84e6784ccb9c38d4ec..2b0b7314fcac1258a5dfbcc2c25f595ae96e1e02 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js
@@ -61,7 +61,7 @@ SDK.MainConnection = class {
* @param {!Common.Event} event
*/
_evaluateForTestInFrontend(event) {
- if (!InspectorFrontendHost.isUnderTest())
+ if (!Host.isUnderTest())
return;
var callId = /** @type {number} */ (event.data['callId']);

Powered by Google App Engine
This is Rietveld 408576698