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

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: Chris's comments 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 <head>
4 <script src="../../../resources/js-test.js"></script>
Inactive 2014/05/09 13:12:47 nit: can be moved to the body and the head section
riju_ 2014/05/09 13:45:35 Done.
5 </head>
6 <body>
7 <script>
8 description("Tests that the window.DeviceLightEvent and window.ondevicelight pro perties are present.");
9
10 shouldBeTrue("'DeviceLightEvent' in window");
11 shouldBeTrue("window.hasOwnProperty('DeviceLightEvent')");
12
13 shouldBeTrue("typeof window.ondevicelight == 'object'");
14 shouldBeTrue("'ondevicelight' in window");
15
16 </script>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698