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

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: Rebase after r172920 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 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <script>
7 description("Tests that the window.DeviceLightEvent and window.ondevicelight pro perties are present.");
8
9 shouldBeTrue("'DeviceLightEvent' in window");
10 shouldBeTrue("window.hasOwnProperty('DeviceLightEvent')");
11
12 shouldBeTrue("typeof window.ondevicelight == 'object'");
13 shouldBeTrue("'ondevicelight' in window");
14
15 </script>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698