Repository navigation
Commit 7476232
committed
fix: reject scoped updates that cross try boundaries
resolveScopedTarget could lift anonymous for-item owners past a
try/Suspense boundary to a parent component, bypassing prepareOwnedUpdate's
ancestor guard. Fall back to full-root replay when the path from scheduled
owners to the scoped target crosses isBoundary.1 parent bf44293 commit 7476232
2 files changed
Lines changed: 77 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6717 | 6717 | | |
6718 | 6718 | | |
6719 | 6719 | | |
| 6720 | + | |
| 6721 | + | |
| 6722 | + | |
| 6723 | + | |
6720 | 6724 | | |
6721 | 6725 | | |
6722 | 6726 | | |
6723 | 6727 | | |
6724 | 6728 | | |
6725 | 6729 | | |
6726 | 6730 | | |
| 6731 | + | |
6727 | 6732 | | |
| 6733 | + | |
6728 | 6734 | | |
6729 | | - | |
| 6735 | + | |
| 6736 | + | |
| 6737 | + | |
| 6738 | + | |
| 6739 | + | |
| 6740 | + | |
| 6741 | + | |
| 6742 | + | |
| 6743 | + | |
| 6744 | + | |
| 6745 | + | |
6730 | 6746 | | |
6731 | 6747 | | |
6732 | | - | |
| 6748 | + | |
6733 | 6749 | | |
6734 | 6750 | | |
6735 | 6751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
291 | 350 | | |
292 | 351 | | |
293 | 352 | | |
| |||
0 commit comments