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

Side by Side Diff: LayoutTests/imported/web-platform-tests/screen-orientation/lock-basic.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 var previousOrientation = screen.orientation; 8 var previousOrientation = screen.orientation;
9 9
10 test(function() { 10 test(function() {
(...skipping 21 matching lines...) Expand all
32 32
33 }, "Test that screen.orientation.lock returns a pending promise."); 33 }, "Test that screen.orientation.lock returns a pending promise.");
34 34
35 test(function() { 35 test(function() {
36 assert_equals(screen.orientation, previousOrientation); 36 assert_equals(screen.orientation, previousOrientation);
37 }, "Test that screen.orientation.lock() is actually async"); 37 }, "Test that screen.orientation.lock() is actually async");
38 38
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698