Repository navigation
Commit 1aaa35d
authored
fix(engine): detect onUpdate callbacks and enable verification events (#3794)
The static-frame dedup predictor walked tween intervals from
window.__timelines but was blind to onUpdate callbacks — motion driven
from a timeline's onUpdate in a tween-free window was predicted static.
The verifier compounded the gap by seeking with suppressEvents: true,
so the onUpdate never fired and the frozen frame passed verification.
Two changes:
1. Predictor: when a timeline carries vars.onUpdate, mark its full span
as animated so those frames are never predicted static.
2. Verifier: seek with suppressEvents: false so the verification page
behaves identically to the capture page. The verification page is
already isolated (separate Page instance), so out-of-order event
side effects cannot corrupt sequential capture.
Fixes #37931 parent 662f96b commit 1aaa35d
2 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2736 | 2736 | | |
2737 | 2737 | | |
2738 | 2738 | | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
2739 | 2746 | | |
2740 | 2747 | | |
2741 | 2748 | | |
| |||
3054 | 3061 | | |
3055 | 3062 | | |
3056 | 3063 | | |
3057 | | - | |
3058 | | - | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
3059 | 3067 | | |
3060 | 3068 | | |
3061 | 3069 | | |
| |||
3167 | 3175 | | |
3168 | 3176 | | |
3169 | 3177 | | |
3170 | | - | |
| 3178 | + | |
3171 | 3179 | | |
3172 | 3180 | | |
3173 | 3181 | | |
| |||
0 commit comments