Repository navigation
Commit e4f7bb3
committed
fix: itemProp disqualifies link/script from Float hoisting; preconnect distinguishes omitted vs empty crossOrigin
Bug 1: headResourceKind now rejects itemProp/itemprop for stylesheet link
and async script resources (matching the existing style resource check),
preventing microdata-owned elements from being hoisted to document.head.
Bug 2: Preconnect deduplication key no longer collapses undefined crossOrigin
(no CORS) with empty-string crossOrigin (anonymous CORS) — String(undefined)
produces 'undefined' while String('') produces '', giving distinct keys.1 parent 6e5059b commit e4f7bb3
3 files changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18371 | 18371 | | |
18372 | 18372 | | |
18373 | 18373 | | |
18374 | | - | |
| 18374 | + | |
| 18375 | + | |
18375 | 18376 | | |
| 18377 | + | |
18376 | 18378 | | |
18377 | 18379 | | |
18378 | 18380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8168 | 8168 | | |
8169 | 8169 | | |
8170 | 8170 | | |
8171 | | - | |
| 8171 | + | |
8172 | 8172 | | |
8173 | 8173 | | |
8174 | 8174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27808 | 27808 | | |
27809 | 27809 | | |
27810 | 27810 | | |
27811 | | - | |
27812 | | - | |
27813 | | - | |
27814 | | - | |
27815 | | - | |
27816 | | - | |
27817 | | - | |
27818 | | - | |
27819 | | - | |
27820 | | - | |
| 27811 | + | |
| 27812 | + | |
| 27813 | + | |
| 27814 | + | |
| 27815 | + | |
| 27816 | + | |
| 27817 | + | |
27821 | 27818 | | |
27822 | 27819 | | |
27823 | 27820 | | |
| |||
0 commit comments