[Webkit-unassigned] [Bug 245415] New: worker (and other values) is a valid keyword for the value of as in link preload
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 20 01:03:32 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245415
Bug ID: 245415
Summary: worker (and other values) is a valid keyword for the
value of as in link preload
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: BrowserCompat
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: karlcow at apple.com
When a document contains:
<link rel="preload" href="main.js" as="worker" />
Safari reports:
<link rel=preload> must have a valid `as` value
Probably a couple of tests are missing from
https://wpt.fyi/results/html/syntax/speculative-parsing/generated/page-load?label=master&label=experimental&aligned&view=subtest&q=preload
or https://wpt.fyi/results/fetch/metadata/preload.https.sub.html?label=master&label=experimental&aligned&view=subtest&q=preload
or in
https://wpt.fyi/results/preload/reflected-as-value.html?label=master&label=experimental&aligned&view=subtest&q=preload
The fetch spec definition:
https://fetch.spec.whatwg.org/#concept-request-destination
> A request has an associated destination, which is the empty string, "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "manifest", "object", "paintworklet", "report", "script", "serviceworker", "sharedworker", "style", "track", "video", "worker", or "xslt". Unless stated otherwise it is the empty string.
>
> A request’s destination is script-like if it is "audioworklet", "paintworklet", "script", "serviceworker", "sharedworker", or "worker".
It seems there are a couple of values which are not defined such as video for example.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220920/2b404426/attachment.htm>
More information about the webkit-unassigned
mailing list