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

Side by Side Diff: third_party/WebKit/LayoutTests/sensor/mock-sensor.html

Issue 2332323002: [sensors] Ambient light sensor bindings implementation (Closed)
Patch Set: Add AmbientLightSensor to the list of expected global interfaces Created 4 years, 3 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 src="resources/sensor-helpers.js"></script>
6 <script>
7
8 'use strict';
9
10 sensor_test(sensor => {
11 assert_true(sensor instanceof Object);
12 assert_true(sensor.mockSensorProvider instanceof Object);
13 }, 'Sensor Mojo bindings and mock interfaces are available to tests.')
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698