| 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("bug 90391: pointer lock mouse move events then window.open shou
ld not crash.") | 12 description("bug 90391: pointer lock mouse move events then window.open shou
ld not crash.") |
| 13 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
| 14 | 14 |
| 15 targetdiv1 = document.getElementById("target1"); | 15 targetdiv1 = document.getElementById("target1"); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 window.open(); | 44 window.open(); |
| 45 testPassed("Didn't crash"); | 45 testPassed("Didn't crash"); |
| 46 document.webkitExitPointerLock(); | 46 document.webkitExitPointerLock(); |
| 47 doNextStep(); | 47 doNextStep(); |
| 48 }, | 48 }, |
| 49 ]; | 49 ]; |
| 50 doNextStepWithUserGesture(); | 50 doNextStepWithUserGesture(); |
| 51 </script> | 51 </script> |
| 52 </body> | 52 </body> |
| 53 </html> | 53 </html> |
| OLD | NEW |