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

Unified Diff: third_party/WebKit/LayoutTests/sensor/idl-AmbientLightSensor.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/sensor/idl-AmbientLightSensor.html
diff --git a/third_party/WebKit/LayoutTests/sensor/idl-AmbientLightSensor.html b/third_party/WebKit/LayoutTests/sensor/idl-AmbientLightSensor.html
new file mode 100644
index 0000000000000000000000000000000000000000..d993005f2ebafec25f9a3ebdd8895df5c06b2393
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/sensor/idl-AmbientLightSensor.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
timvolodine 2016/09/19 16:37:32 no expectations txt files anywhere?
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+test(function() {
+ // Test that AmbientLightSensor interface exists
+ assert_true(new AmbientLightSensor() instanceof AmbientLightSensor);
timvolodine 2016/09/19 16:37:32 nit: or as alternative maybe AmbientLightSensor in
+}, 'AmbientLightSensor IDL test');
+</script>

Powered by Google App Engine
This is Rietveld 408576698