Skip to content

Commit

Permalink
Assign document's origin during creation
Browse files Browse the repository at this point in the history
Fixes #256.
  • Loading branch information
annevk authored and domenic committed Apr 29, 2016
1 parent 4cf3a82 commit b94d600
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -80101,8 +80101,15 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
<dt>If the <code>Document</code>'s <span data-x="the document's address">address</span>'s <span
data-x="concept-url-scheme">scheme</span> is a <span>network scheme</span></dt>

<dd><p>A copy of <span>the <code>Document</code>'s address</span>'s <span
data-x="concept-url-origin">origin</span>.</p></dd>
<dd>
<p>A copy of <span>the <code>Document</code>'s address</span>'s <span
data-x="concept-url-origin">origin</span> assigned when the <code>Document</code> is
created.</p>

<p class="note">The <code data-x="dom-document-open">document.open()</code> method can change
<span>the <code>Document</code>'s address</span> to "<code>about:blank</code>". Therefore the
<span>origin</span> is assigned when the <code>Document</code> is created.</p>
</dd>


<dt>If the <code>Document</code> is the initial "<code>about:blank</code>" document</dt>
Expand Down

0 comments on commit b94d600

Please sign in to comment.