Skip to content

Commit

Permalink
[giow] (3) Create a Window with the Document when you create a browsi…
Browse files Browse the repository at this point in the history
…ng context

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23957
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8318 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 2, 2013
1 parent 920c89e commit ae22b7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion complete.html
Expand Up @@ -63593,12 +63593,14 @@ <h3 id=windows><span class=secno>6.1 </span>Browsing contexts</h3>

<div class=impl>

<!--CLEANUP-->
<p>When a <a href=#browsing-context>browsing context</a> is first created, it must be created with a single
<code><a href=#document>Document</a></code> in its session history, whose <a href="#the-document's-address" title="the document's
address">address</a> is <code><a href=#about:blank>about:blank</a></code>, which is marked as being an <a href=#html-documents title="HTML
documents">HTML document</a>, whose <a href="#document's-character-encoding" title="document's character encoding">character
encoding</a> is UTF-8, and which is both <a href=#ready-for-post-load-tasks>ready for post-load tasks</a> and
<a href=#completely-loaded>completely loaded</a> immediately. The <code><a href=#document>Document</a></code> must have a single child
<a href=#completely-loaded>completely loaded</a> immediately, along with a new <code><a href=#window>Window</a></code> object that
the <code><a href=#document>Document</a></code> is associated with. The <code><a href=#document>Document</a></code> must have a single child
<code><a href=#the-html-element>html</a></code> node, which itself has a single child <code><a href=#the-body-element>body</a></code> node. As soon as this
<code><a href=#document>Document</a></code> is created, the user agent must <a href=#implement-the-sandboxing>implement the sandboxing</a> for
it. If the <a href=#browsing-context>browsing context</a> has a <a href=#creator-document>creator <code>Document</code></a>, then
Expand Down
4 changes: 3 additions & 1 deletion index
Expand Up @@ -63593,12 +63593,14 @@ END:VCARD</pre>

<div class=impl>

<!--CLEANUP-->
<p>When a <a href=#browsing-context>browsing context</a> is first created, it must be created with a single
<code><a href=#document>Document</a></code> in its session history, whose <a href="#the-document's-address" title="the document's
address">address</a> is <code><a href=#about:blank>about:blank</a></code>, which is marked as being an <a href=#html-documents title="HTML
documents">HTML document</a>, whose <a href="#document's-character-encoding" title="document's character encoding">character
encoding</a> is UTF-8, and which is both <a href=#ready-for-post-load-tasks>ready for post-load tasks</a> and
<a href=#completely-loaded>completely loaded</a> immediately. The <code><a href=#document>Document</a></code> must have a single child
<a href=#completely-loaded>completely loaded</a> immediately, along with a new <code><a href=#window>Window</a></code> object that
the <code><a href=#document>Document</a></code> is associated with. The <code><a href=#document>Document</a></code> must have a single child
<code><a href=#the-html-element>html</a></code> node, which itself has a single child <code><a href=#the-body-element>body</a></code> node. As soon as this
<code><a href=#document>Document</a></code> is created, the user agent must <a href=#implement-the-sandboxing>implement the sandboxing</a> for
it. If the <a href=#browsing-context>browsing context</a> has a <a href=#creator-document>creator <code>Document</code></a>, then
Expand Down
4 changes: 3 additions & 1 deletion source
Expand Up @@ -70736,12 +70736,14 @@ END:VCARD</pre>

<div class="impl">

<!--CLEANUP-->
<p>When a <span>browsing context</span> is first created, it must be created with a single
<code>Document</code> in its session history, whose <span data-x="the document's
address">address</span> is <code>about:blank</code>, which is marked as being an <span data-x="HTML
documents">HTML document</span>, whose <span data-x="document's character encoding">character
encoding</span> is UTF-8, and which is both <span>ready for post-load tasks</span> and
<span>completely loaded</span> immediately. The <code>Document</code> must have a single child
<span>completely loaded</span> immediately, along with a new <code>Window</code> object that
the <code>Document</code> is associated with. The <code>Document</code> must have a single child
<code>html</code> node, which itself has a single child <code>body</code> node. As soon as this
<code>Document</code> is created, the user agent must <span>implement the sandboxing</span> for
it. If the <span>browsing context</span> has a <span>creator <code>Document</code></span>, then
Expand Down

0 comments on commit ae22b7f

Please sign in to comment.