Index: third_party/WebKit/LayoutTests/mojo/mojo-api.html |
diff --git a/third_party/WebKit/LayoutTests/mojo/mojo-api.html b/third_party/WebKit/LayoutTests/mojo/mojo-api.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c15f7623ea048fe0c391666d41f94363ebf7cac |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/mojo/mojo-api.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script src="resources/mojo-helpers.js"></script> |
+<script> |
+'use strict'; |
+ |
+mojo_test(mojo => { |
+ assert_true(mojo instanceof Object); |
+ assert_true(mojo.core instanceof Object); |
+ assert_true(mojo.router instanceof Object); |
+ assert_true(mojo.serviceRegistry instanceof Object); |
+}, 'Mojo system APIs should be available to layout tests.'); |
+ |
+</script> |