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

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: add 'define' to global interface expectations for AMD in layout tests Created 4 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 unified diff | Download patch
OLDNEW
(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 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
This is Rietveld 408576698