Repository navigation
Commit b6df969
committed
fix(browser): keep snapshot ids valid after an observed action is refused
An observed click refused before dispatch (for example, covered by an overlay)
never starts its observation, yet it invalidated every id in the snapshot, so
the agent could not click the overlay's own close button without re-observing.
A failed observed action with no dispatched outcome now only cancels an
in-flight capture, which clears the refs itself when it starts.1 parent f734ba5 commit b6df969
2 files changed
Lines changed: 31 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3425 | 3425 | | |
3426 | 3426 | | |
3427 | 3427 | | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
3428 | 3446 | | |
3429 | 3447 | | |
3430 | 3448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
316 | 324 | | |
317 | 325 | | |
318 | 326 | | |
| |||
5002 | 5010 | | |
5003 | 5011 | | |
5004 | 5012 | | |
5005 | | - | |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
5006 | 5017 | | |
5007 | 5018 | | |
5008 | 5019 | | |
| |||
5049 | 5060 | | |
5050 | 5061 | | |
5051 | 5062 | | |
5052 | | - | |
5053 | | - | |
5054 | | - | |
5055 | | - | |
5056 | | - | |
5057 | | - | |
| 5063 | + | |
5058 | 5064 | | |
5059 | 5065 | | |
5060 | 5066 | | |
| |||
0 commit comments