 = resolve;
             reject_test = reject;
             var actions = new test_driver.Actions();
             var actions_promise = actions
                .pointerMove(0, 0, {origin: box})

                .pointerDown({button: actions.ButtonType.LEFT})
                // Ensure clicking other buttons while a first button has
                // captured the pointer doesn't release the capture
                .pointerDown({button: actions.ButtonType.RIGHT})
                .pointerUp({button: actions.Bu