2.1.125 [HTML5] Section 6.3.1 Opening the input stream

V0280: The document object is not reused after window.open is called

The specification states:

 ... Opening the input stream
  
     The open() method comes in several variants with different numbers of arguments.
  
         document = document . open( [ type [, replace ] ] )
  
             Causes the Document to be replaced in-place, as if it was a new Document 
             object, but reusing the previous object, which is then returned.

All document modes (All versions)

The document object is not reused after window.open is called.

V0281: The salvageable state of the Document is not set when the Document is unloaded

The specification states:

 ... Opening the input stream
     ...
     When called with two arguments ..., the document.open() method must act as follows:
         ...
         8.  Set the Document's salvageable state to false.

All document modes (All versions)

The salvageable state of the Document is not set when the Document is unloaded.

V0282: Singleton objects are not replaced for location, history, navigator, applicationCache, sessionStorage, or localStorage

The specification states:

 ... Opening the input stream
     ...
     When called with two arguments ... , the document.open() method must act as follows:
         ...
         ...  Replace the Document's singleton objects with new instances of those objects 
         ... . (This includes in particular the Window, Location, History, 
         ApplicationCache, and Navigator, objects, the various BarProp objects, the two 
         Storage objects, the various HTMLCollection objects, and objects defined by other 
         specifications ... . It also includes all the Web IDL prototypes in the 
         JavaScript binding, including the Document object's prototype.)

All document modes (All versions)

Singleton objects are not replaced for location, history, navigator, applicationCache, sessionStorage, or localStorage.

V0283: The script-created parser is not freed from the script stack

The specification states:

 ... Opening the input stream
     ...
     When called with two arguments ... , the document.open() method must act as follows:
         ...
         ... Create a new HTML parser and associate it with the document. This is a 
         script-created parser (meaning that it can be closed by the document.open() and 
         document.close() methods, and that the tokenizer will wait for an explicit call 
         to document.close() before emitting an end-of-file token). The encoding 
         confidence is irrelevant.

All document modes (All versions)

The script-created parser is not freed from the script stack.

Show: