Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add early return to JS dialogs triggered from different origin-domain iframes #6297

Merged
merged 1 commit into from
Feb 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -93527,6 +93527,11 @@ function sendData(data) {
data-x="concept-document-window">associated <code>Document</code></span> has the <span>sandboxed
modals flag</span> set, then return true.</p></li>

<li><p>If <var>window</var>'s <span>relevant settings object</span>'s <span
data-x="concept-settings-object-origin">origin</span> and <var>window</var>'s <span>relevant
settings object</span>'s <span>top-level origin</span> are not <span>same origin-domain</span>,
then return true.</p></li>

<li>If <var>window</var>'s <span>relevant agent</span>'s <span
data-x="concept-agent-event-loop">event loop</span>'s <span>termination nesting level</span> is
nonzero, then optionally return true.</li>
Expand Down Expand Up @@ -123225,6 +123230,7 @@ INSERT INTERFACES HERE
Cao Yipeng,
Carlos Amengual,
Carlos Gabriel Cardona,
Carlos Ibarra L&oacute;pez, <!-- carlosjoan91 on GitHub -->
Carlos Perell&oacute; Mar&iacute;n,
Carolyn MacLeod,
Casey Leask,
Expand Down