| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../http/tests/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.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.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 that webkitpointerlockchange event is dispatched when lock
is lost.") | 12 description("Test that webkitpointerlockchange event is dispatched when lock
is lost.") |
| 13 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
| 14 shouldBeDefined("window.testRunner"); | 14 shouldBeDefined("window.testRunner"); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 27 testRunner.didLosePointerLock(); | 27 testRunner.didLosePointerLock(); |
| 28 // doNextStep called by event handler. | 28 // doNextStep called by event handler. |
| 29 }, | 29 }, |
| 30 function () { | 30 function () { |
| 31 shouldBe("document.webkitPointerLockElement", "null"); | 31 shouldBe("document.webkitPointerLockElement", "null"); |
| 32 doNextStep(); | 32 doNextStep(); |
| 33 }, | 33 }, |
| 34 ]; | 34 ]; |
| 35 doNextStepWithUserGesture(); | 35 doNextStepWithUserGesture(); |
| 36 </script> | 36 </script> |
| 37 <script src="../http/tests/resources/js-test-post.js"></script> | |
| 38 </body> | 37 </body> |
| 39 </html> | 38 </html> |
| 40 | 39 |
| OLD | NEW |