title: Are there pointerout-like events when hitting Chrome breakpoints?
body: <p>I have a browser program that performs certain actions if a mouse button is held down. To accomplish this, the program listens for <code>pointerdown</code> and <code>pointerup</code> events on the <code>document</code> object. When receiving these events, the program sets (or unsets) some flags that track button-held state. There are a number of other input events that should also unset a button-held flag, like <code>focusout</code> and <code>pointerout</code>.</p>
  <p>Browser breakpoints seem to be a grey area. In Firefox, holding the mouse down and triggering a breakpoint causes the <code>pointerout</code> event to get fired, which lets me properly unset button-held flags. However, Chrome (87.0.4280.88, Mac OS) does not appear to fire any of <code>blur</code>, <code>pointerout</code>, <code>mouseout</code>, or <code>focusout</code> when hitting a breakpoint. The result is that after I've resumed normal execution, my program code still thinks a mouse button is held down until I click again in the browser window.</p>
  <p>Is there a workaround for this? There doesn't appear to be any way to directly poll the state of the mouse, so it seems I need to rely completely on events to drive this.</p>