Skip to content

Commit 26412c5

Browse files
committed
Disallow simple dialogs from different-origin domain iframes
Closes #5407.
1 parent ecd23cf commit 26412c5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

source

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93527,6 +93527,11 @@ function sendData(data) {
9352793527
data-x="concept-document-window">associated <code>Document</code></span> has the <span>sandboxed
9352893528
modals flag</span> set, then return true.</p></li>
9352993529

93530+
<li><p>If <var>window</var>'s <span>relevant settings object</span>'s <span
93531+
data-x="concept-settings-object-origin">origin</span> and <var>window</var>'s <span>relevant
93532+
settings object</span>'s <span>top-level origin</span> are not <span>same origin-domain</span>,
93533+
then return true.</p></li>
93534+
9353093535
<li>If <var>window</var>'s <span>relevant agent</span>'s <span
9353193536
data-x="concept-agent-event-loop">event loop</span>'s <span>termination nesting level</span> is
9353293537
nonzero, then optionally return true.</li>
@@ -123225,6 +123230,7 @@ INSERT INTERFACES HERE
123225123230
Cao Yipeng,
123226123231
Carlos Amengual,
123227123232
Carlos Gabriel Cardona,
123233+
Carlos Ibarra L&oacute;pez, <!-- carlosjoan91 on GitHub -->
123228123234
Carlos Perell&oacute; Mar&iacute;n,
123229123235
Carolyn MacLeod,
123230123236
Casey Leask,

0 commit comments

Comments
 (0)