webdriver
webdriver copied to clipboard
What is the pointerCancel action used for?
I haven't been able to understand this by reading the specs, looking online sending actions to the chromedriver.
What is the pointerCancel action used for exactly? When would you perform such an action in a tick?
Also, how is it supposed to be implemented? The spec (both recommendation and working draft for version 2) says "process a pointer cancel action" but includes no details on what that actually entails.
@jgraham do you remember what this action was planned for? Maybe it's a left-over and that releaseActions is what clients should actually call?
I assume it's supposed to be https://w3c.github.io/pointerevents/#the-pointercancel-event which is when the pointer isn't going to produce new events e.g. because it was disconnected. I agree that there's currently a hole in the spec, and the fact that this has gone unaddressed for so long does somewhat suggest that this isn't actually something that's needed in practice.