Repository navigation
Commit ce12be5
committed
fix(page): explain requestGC's hit-target workaround via Blink's node_under_mouse_
Blink's EventHandler caches the last hit-tested node for hover/mouseout
tracking and only refreshes it on the next pointer event, so a detached
element stays pinned by that native reference until a synthetic mouse
move forces a fresh hit-test. Verified by removing the workaround (test
fails ~70% of repeats), doubling collectGarbage (still fails), and
dispatching an unrelated CDP command instead of a mouse move (still
fails) -- only a new pointer event releases the reference, at any
coordinate.1 parent 4c98845 commit ce12be5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
0 commit comments