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

Side by Side Diff: LayoutTests/imported/web-platform-tests/screen-orientation/orientation-api.html

Issue 1295773004: update-w3c-deps import using blink c936ac9d274f959a4b5908db6835bcd612fb1a9e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/testharness.js"></script> 4 <script src="../../../resources/testharness.js"></script>
5 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../../../resources/testharnessreport.js"></script>
6 <script> 6 <script>
7 7
8 test(function() { 8 test(function() {
9 assert_true('orientation' in window.screen); 9 assert_true('orientation' in window.screen);
10 assert_true('angle' in window.screen.orientation); 10 assert_true('angle' in window.screen.orientation);
(...skipping 15 matching lines...) Expand all
26 test(function() { 26 test(function() {
27 assert_true('addEventListener' in screen.orientation); 27 assert_true('addEventListener' in screen.orientation);
28 assert_true('removeEventListener' in screen.orientation); 28 assert_true('removeEventListener' in screen.orientation);
29 assert_true('dispatchEvent' in screen.orientation); 29 assert_true('dispatchEvent' in screen.orientation);
30 assert_true(screen.orientation instanceof EventTarget) 30 assert_true(screen.orientation instanceof EventTarget)
31 }, "Test that screen.orientation is an EventTarget."); 31 }, "Test that screen.orientation is an EventTarget.");
32 32
33 </script> 33 </script>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698