| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |