OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 <script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js">
</script> | 5 <script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness-pref
ixed.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div> | 8 <div> |
9 <div id="target1"></div> | 9 <div id="target1"></div> |
10 </div> | 10 </div> |
11 <script> | 11 <script> |
12 description("Test pointerLockElement is null when a lock is pending.") | 12 description("Test pointerLockElement is null when a lock is pending.") |
13 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
14 | 14 |
15 targetDiv1 = document.getElementById("target1"); | 15 targetDiv1 = document.getElementById("target1"); |
(...skipping 20 matching lines...) Expand all Loading... |
36 }, | 36 }, |
37 function () { | 37 function () { |
38 shouldBe("document.webkitPointerLockElement", "null"); | 38 shouldBe("document.webkitPointerLockElement", "null"); |
39 doNextStep(); | 39 doNextStep(); |
40 }, | 40 }, |
41 ]; | 41 ]; |
42 doNextStep(); | 42 doNextStep(); |
43 </script> | 43 </script> |
44 </body> | 44 </body> |
45 </html> | 45 </html> |
OLD | NEW |