| Index: LayoutTests/fast/dom/DeviceLight/window-property.html
|
| diff --git a/LayoutTests/fast/dom/DeviceLight/window-property.html b/LayoutTests/fast/dom/DeviceLight/window-property.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a7e6342182397169d15c055bef3f3d4e340adb1e
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/DeviceLight/window-property.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<body>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +<script>
|
| +description("Tests that the window.DeviceLightEvent and window.ondevicelight properties are present.");
|
| +
|
| +shouldBeTrue("'DeviceLightEvent' in window");
|
| +shouldBeTrue("window.hasOwnProperty('DeviceLightEvent')");
|
| +
|
| +shouldBeTrue("typeof window.ondevicelight == 'object'");
|
| +shouldBeTrue("'ondevicelight' in window");
|
| +
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|