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

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

Issue 2356133002: Reland of [sensors] Ambient light sensor bindings implementation (Closed)
Patch Set: Rebased and fixed review comment from haraken. Created 4 years, 2 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>
5
6 test(function() {
7 // Test that AmbientLightSensor interface exists
8 assert_true('AmbientLightSensor' in window);
9 // Test that AmbientLightSensorReading interface exists
10 assert_true('AmbientLightSensorReading' in window);
11 }, 'Test that the AmbientLightSensor and AmbientLightSensorReading interfaces'
12 + ' are present.');
13
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698