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

Side by Side Diff: LayoutTests/pointer-lock/pointer-lock-api.html

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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.onwebkitpointerlockchange"); 10 shouldBeDefined("document.onwebkitpointerlockchange");
11 shouldBeDefined("document.onwebkitpointerlockerror"); 11 shouldBeDefined("document.onwebkitpointerlockerror");
12 shouldBeDefined("document.webkitExitPointerLock"); 12 shouldBeDefined("document.webkitExitPointerLock");
13 shouldEvaluateTo("document.webkitPointerLockElement", null); 13 shouldEvaluateTo("document.webkitPointerLockElement", null);
14 element = document.createElement(); 14 element = document.createElement('x');
15 shouldBeDefined("element.webkitRequestPointerLock"); 15 shouldBeDefined("element.webkitRequestPointerLock");
16 </script> 16 </script>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/inspector-support/uncaught-dom3-exception-expected.txt ('k') | LayoutTests/svg/dom/vkern-element-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698