Repository navigation
Commit 9abdd84
committed
fix: consult onUncaughtError on sync first render and gate Float scripts through template normalization
- runtime: The sync first-render path now calls reportUncaughtError before
rethrowing when handleRenderError fails, matching the scheduled flush path.
A root created with onUncaughtError now receives the callback on mount
errors instead of unconditionally rethrowing.
- compiler: requiresTemplateNormalization now checks headResourceKind in
addition to HOISTABLE_HEAD_TAGS, so return-position <script async src>
trees enter the normalizer and reach the HeadHoist path that normalizeChildren
already admits.1 parent 57eb579 commit 9abdd84
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16316 | 16316 | | |
16317 | 16317 | | |
16318 | 16318 | | |
| 16319 | + | |
16319 | 16320 | | |
16320 | 16321 | | |
16321 | 16322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27228 | 27228 | | |
27229 | 27229 | | |
27230 | 27230 | | |
| 27231 | + | |
27231 | 27232 | | |
27232 | 27233 | | |
27233 | 27234 | | |
| |||
0 commit comments