2.1.126 [HTML5] Section 6.3.2 Closing the input stream

V0284: No InvalidStateError exception is thrown for a Document object not flagged as an HTML document

The specification states:

 ... Closing the input stream
     ...
     The close() method must run the following steps:
  
         1.  If the Document object is not flagged as an HTML document, throw an 
             InvalidStateError exception and abort these steps.

All document modes (All versions)

No InvalidStateError exception is thrown for a Document object not flagged as an HTML document.

Show: