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

Side by Side Diff: LayoutTests/pointer-lock/bug90391-move-then-window-open-crash.html

Issue 279313003: Create Document exitPointerLock and pointerLockElement API methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
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.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>
(...skipping 25 matching lines...) Expand all
36 if (window.eventSender) { 36 if (window.eventSender) {
37 eventSender.mouseMoveTo(100, 100); 37 eventSender.mouseMoveTo(100, 100);
38 eventSender.mouseMoveTo(200, 200); 38 eventSender.mouseMoveTo(200, 200);
39 } 39 }
40 }, 40 },
41 function () { 41 function () {
42 debug(" Calling window.open.") 42 debug(" Calling window.open.")
43 gc(); 43 gc();
44 window.open(); 44 window.open();
45 testPassed("Didn't crash"); 45 testPassed("Didn't crash");
46 document.webkitExitPointerLock(); 46 document.exitPointerLock();
47 doNextStep(); 47 doNextStep();
48 }, 48 },
49 ]; 49 ];
50 doNextStepWithUserGesture(); 50 doNextStepWithUserGesture();
51 </script> 51 </script>
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/resources/pointer-lock/iframe-common.js ('k') | LayoutTests/pointer-lock/lock-already-locked.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698