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

Side by Side Diff: LayoutTests/pointer-lock/lock-already-locked-prefixed.html

Issue 266533004: Create unprefixed versions of pointerlockchange & pointerlockerror events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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-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 id="target2"></div> 10 <div id="target2"></div>
11 </div> 11 </div>
12 <script> 12 <script>
13 description("Test calling lock when already in a locked state.") 13 description("Test calling lock when already in a locked state.")
14 window.jsTestIsAsync = true; 14 window.jsTestIsAsync = true;
15 15
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 expectTarget1Unlock = true; 54 expectTarget1Unlock = true;
55 targetdiv2.webkitRequestPointerLock(); 55 targetdiv2.webkitRequestPointerLock();
56 expectedTargetToBeLockedString = "targetdiv2"; 56 expectedTargetToBeLockedString = "targetdiv2";
57 // doNextStep() called by onwebkitpointerlockchange handler. 57 // doNextStep() called by onwebkitpointerlockchange handler.
58 }, 58 },
59 ]; 59 ];
60 doNextStepWithUserGesture(); 60 doNextStepWithUserGesture();
61 </script> 61 </script>
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698