OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> |
| 4 <script src="../resources/mojo-helpers.js"></script> |
| 5 <script> |
| 6 'use strict'; |
| 7 |
| 8 // Verify that the mojo_test helper functions properly and Mojo bindings |
| 9 // are available. |
| 10 mojo_test(mojo => { |
| 11 assert_true(mojo instanceof Object); |
| 12 assert_true(mojo.core instanceof Object); |
| 13 assert_true(mojo.router instanceof Object); |
| 14 assert_true(mojo.serviceRegistry instanceof Object); |
| 15 }, 'Mojo system APIs should be available to layout tests.'); |
| 16 </script> |
OLD | NEW |