Test iframe from same origin can not access webkitPointerLockElement. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". Lock targetDiv1. PASS onwebkitpointerlockchange received after: Lock targetDiv1. PASS document.webkitPointerLockElement is targetDiv1 PASS message is "inner-iframe.html document.webkitPointerLockElement = null" PASS successfullyParsed is true TEST COMPLETE