WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
256774
Web Manifest: fetching should enforce mime type
https://bugs.webkit.org/show_bug.cgi?id=256774
Summary
Web Manifest: fetching should enforce mime type
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-05-21 19:58:20 PDT
<
rdar://problem/109638803
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug