4 <script src=
"../resources/js-test.js"></script>
8 description("Basic API existence test for Pointer Lock.")
10 shouldBeDefined("document.onpointerlockchange");
11 shouldBeDefined("document.onpointerlockerror");
12 shouldBeDefined("document.exitPointerLock");
13 shouldEvaluateTo("document.pointerLockElement", null);
14 element
= document
.createElement('x');
15 shouldBeDefined("element.requestPointerLock");