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

Unified Diff: test/inspector/protocol-test.js

Issue 2465553003: [inspector] added Debugger.getPossibleBreakpoints method (Closed)
Patch Set: it works 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: 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)
« src/debug/debug-interface.h ('K') | « test/inspector/debugger/get-possible-breakpoints-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698