Bug 256774

Summary: Web Manifest: fetching should enforce mime type
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: marcosc, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Marcos Caceres
Reported 2023-05-14 19:57:20 PDT
According to HTML, when a web manifest is fetched, it should enforce the "JSON MIME type" type: https://html.spec.whatwg.org/#link-type-manifest Specifically: > To process this type of linked resource given a link element el, boolean success, response response, and byte sequence bodyBytes: > If response's Content-Type metadata is not a JSON MIME type, then set success to false. Where: A JSON MIME type is any MIME type whose subtype ends in "+json" or whose essence is "application/json" or "text/json".
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-21 19:58:20 PDT
Note You need to log in before you can comment on or make changes to this bug.