Skip to content

Commit 44da679

Browse files
authored
WindowProxy and Location use ordinary internal methods by default
Fixes #4189.
1 parent 24f44e8 commit 44da679

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79104,15 +79104,15 @@ interface <dfn>BarProp</dfn> {
7910479104
<code>Window</code> object wrapped by the <span>browsing context</span>'s associated
7910579105
<code>WindowProxy</code> object is changed.</p>
7910679106

79107+
<p>The <code>WindowProxy</code> exotic object must use the ordinary internal methods except where
79108+
it is explicitly specified otherwise below.</p>
79109+
7910779110
<p>There is no <code>WindowProxy</code> <span>interface object</span>.</p>
7910879111

7910979112
<p>Every <code>WindowProxy</code> object has a <dfn data-x="concept-windowproxy-window"
7911079113
data-export="">[[Window]]</dfn> internal slot representing the wrapped <code>Window</code>
7911179114
object.</p>
7911279115

79113-
<p>The <code>WindowProxy</code> object internal methods are described in the subsections
79114-
below.</p>
79115-
7911679116
<p class="note">Although <code>WindowProxy</code> is named as a "proxy", it does not do
7911779117
polymorphic dispatch on its target's internal methods as a real proxy would, due to a desire to
7911879118
reuse machinery between <code>WindowProxy</code> and <code>Location</code> objects. As long as the
@@ -81673,10 +81673,10 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
8167381673
<hr>
8167481674

8167581675
<p id="location-internal-methods">As explained earlier, the <code>Location</code> exotic object
81676-
requires additional logic beyond IDL for security purposes. The internal slot and internal methods
81677-
<code>Location</code> objects must implement are defined below.</p>
81676+
requires additional logic beyond IDL for security purposes. The <code>Location</code> object must
81677+
use the ordinary internal methods except where it is explicitly specified otherwise below.</p>
8167881678

81679-
<p>Every <code>Location</code> object has a <dfn>[[DefaultProperties]]</dfn> internal slot
81679+
<p>Also, every <code>Location</code> object has a <dfn>[[DefaultProperties]]</dfn> internal slot
8168081680
representing its own properties at time of its creation.</p>
8168181681

8168281682
<h5 id="location-getprototypeof">[[GetPrototypeOf]] ( )</h5>

0 commit comments

Comments
 (0)