Skip to content

Make crossOriginObject.then undefined for promises #3242

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

Merged
merged 2 commits into from
Feb 7, 2018
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
19 changes: 12 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -77793,13 +77793,6 @@ console.assert(iframeWindow.frameElement === null);
caller needs to throw a <span>"<code>SecurityError</code>"</span> <code>DOMException</code>.</p>

<ol>
<li><p>If <var>P</var> is <span>@@toStringTag</span>, <span>@@hasInstance</span>, or
<span>@@isConcatSpreadable</span>, then return <span>PropertyDescriptor</span>{
[[Value]]: undefined,
[[Writable]]: false,
[[Enumerable]]: false,
[[Configurable]]: true }.</p></li>

<li><p>Let <var>crossOriginKey</var> be a tuple consisting of the <span>current settings
object</span>, <var>O</var>'s <span>relevant settings object</span>, and <var>P</var>.</p></li>

Expand Down Expand Up @@ -77875,6 +77868,14 @@ console.assert(iframeWindow.frameElement === null);
</ol>
</li>

<li><p>If <var>P</var> is "<code data-x="">then</code>", <span>@@toStringTag</span>,
<span>@@hasInstance</span>, or <span>@@isConcatSpreadable</span>, then return
<span>PropertyDescriptor</span>{
[[Value]]: undefined,
[[Writable]]: false,
[[Enumerable]]: false,
[[Configurable]]: true }.</p></li>

<li><p>Return undefined.</p></li>
</ol>

Expand Down Expand Up @@ -77947,6 +77948,10 @@ console.assert(iframeWindow.frameElement === null);
</ol>
</li>

<li><p>If <var>keys</var> <span data-x="list contains">does not contain</span> "<code
data-x="">then</code>", then <span data-x="list append">append</span> "<code
data-x="">then</code>" to <var>keys</var>.</p></li>

<li><p>Return the concatenation of <var>keys</var> and « <span>@@toStringTag</span>,
<span>@@hasInstance</span>, <span>@@isConcatSpreadable</span> ».</p></li>
</ol>
Expand Down