Skip to content

Commit

Permalink
Use current settings object in content document definition
Browse files Browse the repository at this point in the history
Since this is a same origin-domain check, we can use any settings
object, as they are all same origin-domain. Part of whatwg#1430.
  • Loading branch information
domenic authored and Alice Boxhall committed Jan 7, 2019
1 parent a161c6f commit 94fce56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -77026,7 +77026,7 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> {
<li><p>Let <var>document</var> be <var>context</var>'s <span>active document</span>.</p></li>

<li><p>If <var>document</var>'s <span>origin</span> and the <span>origin</span> specified by the
<span>incumbent settings object</span> are not <span>same origin-domain</span>, then return
<span>current settings object</span> are not <span>same origin-domain</span>, then return
null.</p></li>

<li><p>Return <var>document</var>.</p></li>
Expand Down

0 comments on commit 94fce56

Please sign in to comment.