Chromium Code Reviews| 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> |