== kStateInit)
                       div1.requestPointerLock();
                    else if (test_state == kStateLocked)
                        document.exitPointerLock();
                });
                on_event(div1, 'pointermove', function(event) {
                    if (test_state == kStateLocked) {
                        test_pointerEvent.step(function() {
                            assert_equals(event.clientX, last_pointer_client_pos['x'], 'clientX')
                            assert_equals(