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
resources
OWNERS -rw-r--r-- 18 bytes
README.md -rw-r--r-- 1.3 KB
cookieStore_delete_arguments.tentative.window.js -rw-r--r-- 6.3 KB
cookieStore_event_arguments.tenative.window.js -rw-r--r-- 2.5 KB
cookieStore_event_basic.tentative.window.js -rw-r--r-- 971 bytes
cookieStore_event_delete.tenative.window.js -rw-r--r-- 1.1 KB
cookieStore_event_overwrite.tentative.window.js -rw-r--r-- 1.0 KB
cookieStore_getAll_arguments.tentative.window.js -rw-r--r-- 4.6 KB
cookieStore_getAll_set_basic.tentative.window.js -rw-r--r-- 749 bytes
cookieStore_get_arguments.tentative.window.js -rw-r--r-- 2.9 KB
cookieStore_get_delete_basic.tentative.window.js -rw-r--r-- 675 bytes
cookieStore_get_set_basic.tentative.window.js -rw-r--r-- 698 bytes
cookieStore_has_arguments.tentative.window.js -rw-r--r-- 3.3 KB
cookieStore_has_basic.tentative.window.js -rw-r--r-- 898 bytes
cookieStore_in_detached_frame.tentative.html -rw-r--r-- 621 bytes
cookieStore_set_arguments.tentative.window.js -rw-r--r-- 8.0 KB
cookieStore_special_names.tentative.html -rw-r--r-- 1.4 KB
delete_cookies.tentative.html -rw-r--r-- 363 bytes
delete_cookies.tentative.https.html -rw-r--r-- 371 bytes
document_cookie.tentative.html -rw-r--r-- 365 bytes
document_cookie.tentative.https.html -rw-r--r-- 373 bytes
document_getAll_multiple.tentative.html -rw-r--r-- 1.6 KB
expiration.tentative.html -rw-r--r-- 355 bytes
expiration.tentative.https.html -rw-r--r-- 363 bytes
get_set_get_all.tentative.html -rw-r--r-- 366 bytes
get_set_get_all.tentative.https.html -rw-r--r-- 374 bytes
http_cookie_and_set_cookie_headers.tentative.html -rw-r--r-- 403 bytes
http_cookie_and_set_cookie_headers.tentative.https.html -rw-r--r-- 411 bytes
idlharness.tentative.html -rw-r--r-- 1.4 KB
idlharness_serviceworker.js -rw-r--r-- 1.2 KB
idlharness_serviceworker.tentative.https.html -rw-r--r-- 640 bytes
no_name_and_no_value.tentative.html -rw-r--r-- 380 bytes
no_name_and_no_value.tentative.https.html -rw-r--r-- 388 bytes
no_name_equals_in_value.tentative.html -rw-r--r-- 384 bytes
no_name_equals_in_value.tentative.https.html -rw-r--r-- 392 bytes
no_name_multiple_values.tentative.html -rw-r--r-- 387 bytes
no_name_multiple_values.tentative.https.html -rw-r--r-- 395 bytes
one_simple_origin_cookie.tentative.html -rw-r--r-- 383 bytes
one_simple_origin_cookie.tentative.https.html -rw-r--r-- 391 bytes
ordering.tentative.https.html -rw-r--r-- 359 bytes
secure_cookies.tentative.html -rw-r--r-- 378 bytes
secure_cookies.tentative.https.html -rw-r--r-- 386 bytes
serviceworker_cookieStore_arguments.js -rw-r--r-- 443 bytes
serviceworker_cookieStore_arguments.tentative.https.html -rw-r--r-- 747 bytes
serviceworker_cookieStore_basic.js -rw-r--r-- 386 bytes
serviceworker_cookieStore_basic.tentative.https.html -rw-r--r-- 731 bytes

README.md

back to top