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

Unified Diff: third_party/WebKit/LayoutTests/mojo/core.html

Issue 2400563002: Adds Mojo IDL. (Closed)
Patch Set: static createMessagePipe Created 3 years, 11 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: third_party/WebKit/LayoutTests/mojo/core.html
diff --git a/third_party/WebKit/LayoutTests/mojo/core.html b/third_party/WebKit/LayoutTests/mojo/core.html
new file mode 100644
index 0000000000000000000000000000000000000000..b97eff90a15448d162d44da60ec02f5bd5f2cfde
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/mojo/core.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<title>mojo-core tests</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+
+test(function() {
+ let result = Mojo.createMessagePipe();
+ assert_equals(Mojo.RESULT_OK, result.result);
+ assert_true(result.handle0 instanceof MojoHandle);
+ assert_true(result.handle1 instanceof MojoHandle);
+}, "Test message pipe construction");
+
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/bindings.gni » ('j') | third_party/WebKit/Source/core/mojo/Mojo.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698