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

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

Issue 2823753002: Remove device light API
Patch Set: Restore DeviceLightEvent to LayoutTests/external/wpt/dom/nodes/Document-createEvent.html Created 3 years, 8 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