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

Side by Side Diff: third_party/WebKit/LayoutTests/ambient-light/window-property.html

Issue 2672663002: Move DeviceLight out from fast/dom/. (Closed)
Patch Set: Created 3 years, 10 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script> 5 <script>
6 description("Tests that the window.DeviceLightEvent and window.ondevicelight pro perties are present."); 6 description("Tests that the window.DeviceLightEvent and window.ondevicelight pro perties are present.");
7 7
8 shouldBeTrue("'DeviceLightEvent' in window"); 8 shouldBeTrue("'DeviceLightEvent' in window");
9 shouldBeTrue("window.hasOwnProperty('DeviceLightEvent')"); 9 shouldBeTrue("window.hasOwnProperty('DeviceLightEvent')");
10 10
11 shouldBeTrue("typeof window.ondevicelight == 'object'"); 11 shouldBeTrue("typeof window.ondevicelight == 'object'");
12 shouldBeTrue("'ondevicelight' in window"); 12 shouldBeTrue("'ondevicelight' in window");
13 13
14 </script> 14 </script>
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698