Closed
Bug 1450304
Opened 8 years ago
Closed 8 years ago
[wpt-sync] Sync PR 10254 - Make CORB MIME type classification consistent with the web specs.
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla61
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 10254 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/w3c/web-platform-tests/pull/10254
Details from upstream follow.
Lukasz Anforowicz <lukasza@chromium.org> wrote:
> Make CORB MIME type classification consistent with the web specs.
>
> https://tools.ietf.org/html/rfc7303 says that if "new media type is
> introduced for an XML-based format, the name of the media type SHOULD
> end with '+xml'".
>
> https://tools.ietf.org/html/rfc6839 covers '+xml' and '+json' suffixes.
>
> https://mimesniff.spec.whatwg.org/#xml-mime-type says "An XML MIME type
> is any MIME type whose subtype ends in '+xml' or whose essence is
> 'text/xml' or 'application/xml'. [RFC7303]".
>
> https://mimesniff.spec.whatwg.org/#json-mime-type says "A JSON MIME type
> is any MIME type whose subtype ends in '+json' or whose essence is
> 'application/json' or 'text/json'."
>
> There are no occurences of "application/xml+", "text/xml+",
> "application/json+", "text/json+" or "text/x-json" in the specs above
> and on various lists of MIME types like:
> -
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
> - https://en.wikipedia.org/wiki/Media_type
> - https://www.freeformatter.com/mime-types-list.html
> - https://www.sitepoint.com/mime-types-complete-list/
>
> Bug: 826756
> Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
> Change-Id: Ied30f9728bd4f082bb620fea150f342457ea4833
> Reviewed-on: https://chromium-review.googlesource.com/985211
> WPT-Export-Revision: d0db50532a6faf086e278488bff3c0db452d8fc9
| Reporter | ||
Updated•8 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a779f3018dc9710aafbe8e2a228a23ac03010923
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/022e65717ac8
[wpt PR 10254] - Make CORB MIME type classification consistent with the web specs., a=testonly
Comment 4•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•