2.1.99 [HTML5:2014] Section 5.1 Browsing contexts
V0234: The first Document is for the home page specified in the preferences, not for about:blank.
The specification states:
-
5.1 Browsing contexts ... When a browsing context is first created, it must be created with a single Document in its session history, whose address is about:blank, which is marked as being an HTML document, whose character encoding is UTF-8, and which is both ready for post-load tasks and completely loaded immediately, along with a new Window object that the Document is associated with. The Document must have a single child html node, which itself has two empty child nodes: a head element, and a body element. As soon as this Document is created, the user agent must implement the sandboxing for it. If the browsing context has a creator Document, then the browsing context's Document's referrer must be set to the address of that creator Document at the time of the browsing context's creation.
All document modes (All versions)
The first Document
is for the
home page specified in the preferences, not for about:blank
.
V0235: A newly created browsing context does not change the readyState from loading to complete
The specification states:
-
5.1 Browsing contexts ... When a browsing context is first created, it must be created with a single Document in its session history, whose address is about:blank, which is marked as being an HTML document, whose character encoding is UTF-8, and which is both ready for post-load tasks and completely loaded immediately, along with a new Window object that the Document is associated with. ...
All document modes (All versions)
A newly created browsing context does not change the readyState
from loading
to complete
.
V0238: The about:blank document does not have a character encoding of UTF-8
The specification states:
-
5.1 Browsing contexts ... When a browsing context is first created, it must be created with a single Document in its session history, whose address is about:blank, which is marked as being an HTML document, whose character encoding is UTF-8, and which is both ready for post-load tasks and completely loaded immediately, along with a new Window object that the Document is associated with. ...
All document modes (All versions)
The about:blank
document does
not have a character encoding of UTF-8.
V0237: The referrer is set to the empty string, not the creator document
The specification states:
-
5.1 Browsing contexts ... If the browsing context has a creator Document, then the browsing context's Document's referrer must be set to the address of that creator Document at the time of the browsing context's creation.
All document modes (All versions)
The referrer is set to the empty string, not the creator document.