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
File | Mode | Size |
---|---|---|
payment-app | ||
OWNERS | -rw-r--r-- | 28 bytes |
app-can-make-payment.js | -rw-r--r-- | 3.4 KB |
basic-card.js | -rw-r--r-- | 3.3 KB |
basic-card.json | -rw-r--r-- | 171 bytes |
can-make-payment-event-constructor.https.html | -rw-r--r-- | 448 bytes |
can-make-payment-event-constructor.https.worker.js | -rw-r--r-- | 1.6 KB |
can-make-payment-event.https.html | -rw-r--r-- | 11.8 KB |
interfaces.https.any.js | -rw-r--r-- | 401 bytes |
manifest.json | -rw-r--r-- | 160 bytes |
payment-instruments.https.html | -rw-r--r-- | 12.0 KB |
payment-request-event.https.html | -rw-r--r-- | 4.1 KB |
register-and-activate-service-worker.js | -rw-r--r-- | 903 bytes |
Computing file changes ...