| Index: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| index 67c67d1ff5e3fb1ad848c55edefccd0aa0dd7aa2..00cda464d4875f49db043499a0c886d4599a2250 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| @@ -9,8 +9,8 @@ function test()
|
| var scriptURL = "http://127.0.0.1:8000/inspector/service-workers/resources/service-worker-empty.js";
|
| var scope = "http://127.0.0.1:8000/inspector/service-workers/resources/scope1/";
|
|
|
| - InspectorTest.addSniffer(WebInspector.MainConnection.prototype, "sendMessage", function(message) {
|
| - var messageString = JSON.stringify(message);
|
| + InspectorTest.addSniffer(WebInspector.MainConnection.prototype, "sendMessage", function(messageString) {
|
| + var message = JSON.parse(messageString);
|
| if (!messageString.includes("Target.sendMessageToTarget"))
|
| return;
|
| if (messageString.includes("DOM."))
|
|
|