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

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

Issue 2381693002: [inspector] added a test for crash in wrapping async evaluate result (Closed)
Patch Set: rebased Created 4 years, 3 months 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 52fb4b1d263b76057fcfc25a30587a0c1ea7437c..a34468db82e32e843af597f42a9c003d3ac16825 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/protocol-test.js
@@ -133,6 +133,13 @@ InspectorTest.logObject = function(object, title)
InspectorTest.log(lines.join("\n"));
}
+InspectorTest.logMessage = function(message)
+{
+ message.id = 0;
dgozman 2016/09/30 16:45:30 We can also zero-out objectId's inside the message
kozy 2016/10/03 15:04:09 Done.
+ InspectorTest.logObject(message);
+ return message;
+}
+
InspectorTest.completeTest = quit.bind(null);
InspectorTest.evaluateInPage = function(string, callback)

Powered by Google App Engine
This is Rietveld 408576698