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

Make window.window/frames/self deal with no browsing context #4410

Merged
merged 1 commit into from
Oct 16, 2019
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
8 changes: 5 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3019,6 +3019,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-execution-contexts">JavaScript execution context</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#execution-context-stack">JavaScript execution context stack</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-code-realms">JavaScript realm</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-lexical-environments">EnvironmentRecord</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-built-in-function-objects">NewTarget</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#running-execution-context">running JavaScript execution context</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#surrounding-agent">surrounding agent</dfn></li>
Expand Down Expand Up @@ -79750,9 +79751,10 @@ dictionary <dfn>WindowPostMessageOptions</dfn> : <span>PostMessageOptions</span>
<span>browsing context</span>.</span></p>

<p>The <dfn><code data-x="dom-window">window</code></dfn>, <dfn><code
data-x="dom-frames">frames</code></dfn>, and <dfn><code data-x="dom-self">self</code></dfn> IDL
attributes, on getting, must all return this <code>Window</code> object's <span>browsing
context</span>'s <code>WindowProxy</code> object.</p>
data-x="dom-frames">frames</code></dfn>, and <dfn><code data-x="dom-self">self</code></dfn>
attributes' getters must return this <code>Window</code> object's <span
data-x="concept-relevant-realm">relevant Realm</span>.[[GlobalEnv]]'s
<span>EnvironmentRecord</span>'s [[GlobalThisValue]].</p>

<p>The <dfn><code data-x="dom-document">document</code></dfn> IDL attribute, on getting, must
return this <code>Window</code> object's <span data-x="concept-document-window">associated
Expand Down