Chromium Code Reviews| 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 987f68a141e2f2545453ec5cb0b26f2b03a7b23c..b3fe94239235bf00a508ee712143664ae94d3c47 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/Connections.js |
| @@ -211,6 +211,9 @@ SDK.StubConnection = class { |
| * @param {string} message |
| */ |
| _respondWithError(message) { |
| + if (Host.isUnderTest()) |
|
dgozman
2017/06/19 22:55:52
Why this?
chenwilliam
2017/06/19 23:48:18
I accidentally ran unit tests w/ integration test
|
| + return; |
| + |
| var messageObject = JSON.parse(message); |
| var error = { |
| message: 'This is a stub connection, can\'t dispatch message.', |