Re: [whatwg/xhr] overrideMimeType() does not throw for invalid input (7c96ca0)

* The line at 1441+ (A document response return value):

“If final MIME type is `text/html`, `text/xml`, `application/xml`, or does not end in `+xml`, then return null.”

Seems “MIME type is...” is a typo of “MIME type is not...” (as before the changes).


* At the last line 1597+ (The overrideMimeType(mime) method):

“If override MIME type is not failure and has `charset` parameter, then set override charset to its value.”

Does “is not failure”  actulally  mean that “mime is a parsable MIME type” in the previous step?
( Since the override MIME type is not defined to take a “failure” value. )



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/commit/7c96ca05f5157510aebe658cbd94acd3d29625c7#commitcomment-21200485

Received on Wednesday, 8 March 2017 02:53:17 UTC