Repository navigation
Commit a1f1e0a
committed
fix(octane): remove upgraded block from TRANSITION_QUEUE to prevent leftovers
upgradeTransitionBlock pushed a block onto QUEUE but left it in
TRANSITION_QUEUE. The leftover was later adopted by the transition task
with a non-transition pendingMode, causing queueAllTransition to return
false and potentially skipping ViewTransition wrapping. The stale
transitionTask also kept afterTransitionFlush followups (e.g. isPending
falling edge) waiting for a no-op task instead of running after the
microtask flush that already committed the work.
Fix: splice the block out of TRANSITION_QUEUE on upgrade, and retire
the transition task (flushing followups) when the queue becomes empty.1 parent 85cbe3f commit a1f1e0a
1 file changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7665 | 7665 | | |
7666 | 7666 | | |
7667 | 7667 | | |
7668 | | - | |
7669 | | - | |
7670 | | - | |
7671 | | - | |
7672 | | - | |
7673 | | - | |
7674 | | - | |
| 7668 | + | |
| 7669 | + | |
| 7670 | + | |
| 7671 | + | |
7675 | 7672 | | |
7676 | 7673 | | |
7677 | 7674 | | |
7678 | 7675 | | |
7679 | 7676 | | |
| 7677 | + | |
7680 | 7678 | | |
7681 | 7679 | | |
7682 | 7680 | | |
| |||
0 commit comments