Chromium Code Reviews

Side by Side Diff: third_party/WebKit/LayoutTests/mojo/mojo-api.html

Issue 1470823002: Enable builtin Mojo JS modules in layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb-testing
Patch Set: fix name Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 <!DOCTYPE html>
tkent 2016/01/26 04:01:03 mojo is not a web-platform feature. So, please do
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 mojo_test(mojo => {
9 assert_true(mojo instanceof Object);
10 assert_true(mojo.core instanceof Object);
11 assert_true(mojo.router instanceof Object);
12 assert_true(mojo.serviceRegistry instanceof Object);
13 }, 'Mojo system APIs should be available to layout tests.');
14
15 </script>
OLDNEW

Powered by Google App Engine