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

Side by Side Diff: LayoutTests/fast/dom/DeviceLight/window-property.html

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nits Created 6 years, 7 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 <html>
3 <body>
4 <script src="../../../resources/js-test.js"></script>
5 <script>
6 description("Tests that the window.DeviceLightEvent and window.ondevicelight pro perties are present.");
7
8 shouldBeTrue("'DeviceLightEvent' in window");
9 shouldBeTrue("window.hasOwnProperty('DeviceLightEvent')");
10
11 shouldBeTrue("typeof window.ondevicelight == 'object'");
12 shouldBeTrue("'ondevicelight' in window");
13
14 </script>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698