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

Side by Side Diff: LayoutTests/pointer-lock/pointer-lock-api.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 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Basic API existence test for Pointer Lock.") 8 description("Basic API existence test for Pointer Lock.")
9 9
10 shouldBeDefined("document.onpointerlockchange"); 10 shouldBeDefined("document.onpointerlockchange");
11 shouldBeDefined("document.onpointerlockerror"); 11 shouldBeDefined("document.onpointerlockerror");
12 shouldBeDefined("document.webkitExitPointerLock"); 12 shouldBeDefined("document.exitPointerLock");
13 shouldEvaluateTo("document.webkitPointerLockElement", null); 13 shouldEvaluateTo("document.pointerLockElement", null);
14 element = document.createElement('x'); 14 element = document.createElement('x');
15 shouldBeDefined("element.requestPointerLock"); 15 shouldBeDefined("element.requestPointerLock");
16 </script> 16 </script>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/pointer-lock/mouse-event-delivery-expected.txt ('k') | LayoutTests/pointer-lock/pointer-lock-api-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698