Index: test/inspector/protocol-test.js |
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js |
index 86d4e3b49bc798a0f05b3548d45eab24358e5c29..286e75bb07fdba4849f052fa1d5cf21e3c5f6c09 100644 |
--- a/test/inspector/protocol-test.js |
+++ b/test/inspector/protocol-test.js |
@@ -31,8 +31,9 @@ Protocol = new Proxy({}, { |
InspectorTest.log = print.bind(null); |
-InspectorTest.logMessage = function(message) |
+InspectorTest.logMessage = function(originalMessage) |
{ |
+ var message = JSON.parse(JSON.stringify(originalMessage)); |
if (message.id) |
message.id = "<messageId>"; |
@@ -49,7 +50,7 @@ InspectorTest.logMessage = function(message) |
} |
InspectorTest.logObject(message); |
- return message; |
+ return originalMessage; |
} |
InspectorTest.logObject = function(object, title) |