Revision 86fb98f2c3ec4e05bc529f19e41465da62052c3a authored by Lukasz Anforowicz on 02 April 2018, 23:48:36 UTC, committed by Chromium WPT Sync on 02 April 2018, 23:48:36 UTC
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
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547565}
1 parent 94b7255
History
File Mode Size
FileAPI.idl -rw-r--r-- 2.3 KB
IndexedDB.idl -rw-r--r-- 6.3 KB
OWNERS -rw-r--r-- 14 bytes
WebCryptoAPI.idl -rw-r--r-- 8.1 KB
accelerometer.idl -rw-r--r-- 702 bytes
ambient-light.idl -rw-r--r-- 168 bytes
background-fetch.idl -rw-r--r-- 3.8 KB
clipboard-apis.idl -rw-r--r-- 698 bytes
console.idl -rw-r--r-- 770 bytes
cookie-store.idl -rw-r--r-- 1.9 KB
css-font-loading.idl -rw-r--r-- 2.7 KB
css-typed-om.idl -rw-r--r-- 9.4 KB
cssom-view.idl -rw-r--r-- 6.0 KB
cssom.idl -rw-r--r-- 4.5 KB
dedicated-workers.idl -rw-r--r-- 4.6 KB
dom.idl -rw-r--r-- 17.4 KB
encoding.idl -rw-r--r-- 666 bytes
encrypted-media.idl -rw-r--r-- 3.9 KB
entries-api.idl -rw-r--r-- 2.1 KB
feature-policy.idl -rw-r--r-- 250 bytes
fullscreen.idl -rw-r--r-- 573 bytes
gamepad.idl -rw-r--r-- 903 bytes
geolocation-sensor.idl -rw-r--r-- 996 bytes
geometry.idl -rw-r--r-- 11.5 KB
gyroscope.idl -rw-r--r-- 399 bytes
hr-time.idl -rw-r--r-- 503 bytes
html.idl -rw-r--r-- 78.2 KB
keyboard-lock.idl -rw-r--r-- 241 bytes
magnetometer.idl -rw-r--r-- 767 bytes
mediacapture-main.idl -rw-r--r-- 6.9 KB
orientation-sensor.idl -rw-r--r-- 765 bytes
payment-handler.idl -rw-r--r-- 3.0 KB
payment-request.idl -rw-r--r-- 3.7 KB
proximity.idl -rw-r--r-- 232 bytes
remoteplayback.idl -rw-r--r-- 795 bytes
screen-orientation.idl -rw-r--r-- 823 bytes
selection-api.idl -rw-r--r-- 1.5 KB
sensors.idl -rw-r--r-- 657 bytes
storage.idl -rw-r--r-- 611 bytes
touchevents.idl -rw-r--r-- 395 bytes
uievents.idl -rw-r--r-- 4.3 KB
url.idl -rw-r--r-- 1.1 KB
wake-lock.idl -rw-r--r-- 485 bytes
web-animations.idl -rw-r--r-- 5.3 KB
web-audio-api.idl -rw-r--r-- 17.9 KB
web-nfc.idl -rw-r--r-- 1.5 KB
web-share.idl -rw-r--r-- 336 bytes
webauthn.idl -rw-r--r-- 6.1 KB
webidl.idl -rw-r--r-- 1.8 KB
webrtc-pc.idl -rw-r--r-- 22.8 KB
webusb.idl -rw-r--r-- 5.7 KB
webvtt.idl -rw-r--r-- 1.3 KB
webxr.idl -rw-r--r-- 4.8 KB
xhr.idl -rw-r--r-- 2.9 KB

back to top