[Webkit-unassigned] [Bug 256774] New: Web Manifest: fetching should enforce mime type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 14 19:57:20 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256774

            Bug ID: 256774
           Summary: Web Manifest: fetching should enforce mime type
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcosc at apple.com

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".

-- 
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/20230515/c34ec19c/attachment.htm>


More information about the webkit-unassigned mailing list