Bug 238547

Summary: Preload link attribute change: Spec-incompatible behavior
Product: WebKit Reporter: Noam Rosenthal <noam>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, ahmad.saleem792, beidson, koivisto, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://wpt.live/preload/preload-time-to-fetch.https.html

Description Noam Rosenthal 2022-03-30 04:24:21 PDT
See failing tests in https://github.com/web-platform-tests/wpt/pull/33419

- When changing the "as" attribute, the resource should be re-fetched and isn't
- When changing the "media" attribute, the resource should only be re-fetched if previously it did not match the environment

Previously speced here: https://w3c.github.io/preload/#processing
Now formally in HTML: https://github.com/whatwg/html/pull/7761
Comment 1 Radar WebKit Bug Importer 2022-04-06 04:25:17 PDT
<rdar://problem/91346590>