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

Unified Diff: mojo/edk/js/tests/js_to_cpp_tests.js

Issue 2844143002: Mojo C++ bindings: reject messages version 2 with null payload pointer. (Closed)
Patch Set: Created 3 years, 8 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: mojo/edk/js/tests/js_to_cpp_tests.js
diff --git a/mojo/edk/js/tests/js_to_cpp_tests.js b/mojo/edk/js/tests/js_to_cpp_tests.js
index 58592f834c07a87e311eb5f8bce6737a9957b137..6ffce0970e51d03140276edf78e36215b2ca4ebd 100644
--- a/mojo/edk/js/tests/js_to_cpp_tests.js
+++ b/mojo/edk/js/tests/js_to_cpp_tests.js
@@ -114,7 +114,7 @@ define('mojo/edk/js/tests/js_to_cpp_tests', [
writeMessagePipe(messagePipe, sampleMessage);
arg.message_handle = messagePipe.handle1;
- this.cppSide_.bitFlipResponse(createEchoArgsList(arg));
+ this.cppSide_.bitFlipResponse(createEchoArgsList(arg), null);
core.close(messagePipe.handle0);
iteration += 1;

Powered by Google App Engine
This is Rietveld 408576698