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

Side by Side Diff: LayoutTests/imported/web-platform-tests/screen-orientation/lock-bad-argument.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 test = async_test("Test that screen.orientation.lock() throws when the input isn't valid."); 8 var test = async_test("Test that screen.orientation.lock() throws when the input isn't valid.");
9 9
10 function onOrientationChangeEvent(ev) { 10 function onOrientationChangeEvent(ev) {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 setTimeout(test.step_func(function() { 64 setTimeout(test.step_func(function() {
65 assert_equals(screen.orientation.type, 'portrait-primary'); 65 assert_equals(screen.orientation.type, 'portrait-primary');
66 screen.orientation.unlock(); 66 screen.orientation.unlock();
67 test.done(); 67 test.done();
68 })); 68 }));
69 69
70 </script> 70 </script>
71 </body> 71 </body>
72 </html> 72 </html>
73 73
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698