   test_pointerEvent.step(function() {
                            assert_greater_than(event.getCoalescedEvents().length, 0, "document.pointerLockElement should have coalesced events.");
                            document.exitPointerLock();
                            has_coalesced_Events = true;;
                        });
                    }
                });

                // Inject mouse inputs.
                pointerDragInTarget('mouse', div1, 'right').then(function() {
                    te