Skip to content

Commit 76a9a4a

Browse files
committed
Drop performance from ShadowRealms.
Apparently it is no longer exposed there.
1 parent c4b12f0 commit 76a9a4a

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

source

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -92275,11 +92275,6 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
9227592275
fetched modules found in the principal realm's module map, so this map never contains entries
9227692276
which are null or "<code data-x="">fetching</code>".</p>
9227792277
</dd>
92278-
92279-
<dt><p>A <dfn data-x="synthetic-realm-settings-object-performance" for="synthetic realm settings
92280-
object"><code>Performance</code> object</dfn></p></dt>
92281-
92282-
<dd><p>A <code>Performance</code> object.</p></dd>
9228392278
</dl>
9228492279

9228592280
<p><span data-x="synthetic realm">Synthetic realms</span> are created with <span data-x="global
@@ -96599,10 +96594,6 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
9659996594
<li><p>Set <var>settings</var>'s <span data-x="synthetic-realm-settings-object-module-map">module
9660096595
map</span> to a new <span>module map</span>, initially empty.</p></li>
9660196596

96602-
<li><p>Set <var>settings</var>'s <span
96603-
data-x="synthetic-realm-settings-object-performance"><code>Performance</code> object</span> to a
96604-
<span>new</span> <code>Performance</code> object in <var>realm</var>.</p></li>
96605-
9660696597
<li><p>Set <var>realm</var>.[[HostDefined]] to <var>settings</var>.</p></li>
9660796598

9660896599
<li><p><span>Define the global property references</span> on <var>realm</var>.[[GlobalObject]],
@@ -96628,31 +96619,6 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
9662896619

9662996620
<li><p>Perform ! <span>DefinePropertyOrThrow</span>(<var>realm</var>.[[GlobalObject]], "self",
9663096621
<var>selfDescriptor</var>).</p></li>
96631-
96632-
<li>
96633-
<p>Let <var>performanceSteps</var> be the following series of steps:</p>
96634-
96635-
<ol>
96636-
<li><p>Let <var>thisValue</var> be the result of <span data-x="get the ShadowRealm global
96637-
object">getting the ShadowRealm global object</span> with <var>realm</var> and the <b>this</b>
96638-
value.</p></li>
96639-
<li><p>Return <var>thisValue</var>'s <span data-x="concept-global-object-realm">realm</span>'s
96640-
<span data-x="concept-realm-settings-object">environment settings object</span>'s <span
96641-
data-x="synthetic-realm-settings-object-performance"><code>Performance</code>
96642-
object</span>.</p></li>
96643-
</ol>
96644-
</li>
96645-
96646-
<li><p>Let <var>performanceGetter</var> be
96647-
<span>CreateBuiltinFunction</span>(<var>performanceSteps</var>, 0, "get performance", « »,
96648-
<var>realm</var>).</p></li>
96649-
96650-
<li><p>Let <var>performanceDescriptor</var> be the <span>PropertyDescriptor</span>{[[Get]]:
96651-
<var>performanceGetter</var>, [[Set]]: undefined, [[Enumerable]]: true, [[Configurable]]:
96652-
true}.</p></li>
96653-
96654-
<li><p>Perform ! <span>DefinePropertyOrThrow</span>(<var>realm</var>.[[GlobalObject]],
96655-
"performance", <var>performanceDescriptor</var>).</p></li>
9665696622
</ol>
9665796623

9665896624
To <dfn>get the ShadowRealm global object</dfn> given <var>calleeRealm</var> and

0 commit comments

Comments
 (0)