Skip to content

Commit

Permalink
Use "current settings object" in the frameElement origin check
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 #1431.
  • Loading branch information
domenic committed Jul 18, 2016
1 parent f444d45 commit 921499f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Expand Up @@ -77085,7 +77085,7 @@ dictionary <dfn>DragEventInit</dfn> : <span>MouseEventInit</span> {
container</span>.</p></li>

<li><p>If <var>container</var>'s <span>node document</span>'s <span>origin</span> is not
<span>same origin-domain</span> with the <span>entry settings object</span>'s
<span>same origin-domain</span> with the <span>current settings object</span>'s
<span>origin</span>, then return null and abort these steps.</p></li>

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

0 comments on commit 921499f

Please sign in to comment.