[w3c/DOM-Parsing] Spec out normative text when parseFromString() is passed an unsupported MIME type (#41)

Latest draft (12/11/2018) only has non-normative text for how parseFromString() behaves when passed an unsupported MIME type, highlighting for emphasis:

> document = domparser . parseFromString ( str, type )
> Parse str using a parser that matches type's supported MIME types (either XML or HTML), and return a Document object contained the parsed content if successful. If not successful, returns a Document describing the error.
> **If type does not match a value in the SupportedType enumeration, an exception is thrown** [WEBIDL].

But all this text is marked **non-normative**. And there is **no** equivalent normative/requirement text to the bolded sentence above. Please spec something normative.

The bolded sentence above doesn’t sound too crazy, but I haven’t surveyed what browsers do, yet.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/41

Received on Saturday, 26 January 2019 22:23:22 UTC