demo · v142

Secure-context only

Drag inside the pad. Blue dots are pointermove events (coalesced); rose dots are pointerrawupdate events (sub-frame, higher frequency). The probe up top shows whether this context is secure — on http the rose dots stop firing.

window.isSecureContext
pointermove events
0
pointerrawupdate events
0
pointermove pointerrawupdate

Chrome 142 brings pointerrawupdate in line with Safari/Firefox: only fires in secure contexts (https, localhost, file). Test on http to see the difference — the rose dots stop appearing.

relevant API

// Only delivered in secure contexts in M142+
el.addEventListener("pointerrawupdate", (e) => {
  // sub-frame fidelity coordinates for stylus/precise inputs
});

see also