Skip to content

Commit

Permalink
Remove callerRealm from HostEnsureCanCompileStrings
Browse files Browse the repository at this point in the history
  • Loading branch information
antosart committed Apr 22, 2022
1 parent 37f7e87 commit e0c1a94
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -94557,17 +94557,17 @@ dictionary <dfn dictionary>PromiseRejectionEventInit</dfn> : <span>EventInit</sp
operations, that vary depending on the host environment. This section defines them for user
agent hosts.</p>

<h5><dfn data-x="the-hostensurecancompilestrings-implementation">HostEnsureCanCompileStrings</dfn>(<var>callerRealm</var>, <var>calleeRealm</var>)</h5>
<h5><dfn data-x="the-hostensurecancompilestrings-implementation">HostEnsureCanCompileStrings</dfn>(<var>realm</var>)</h5>

<p>JavaScript contains an <span>implementation-defined</span> <span
data-x="js-HostEnsureCanCompileStrings">HostEnsureCanCompileStrings</span>(<var>callerRealm</var>,
<var>calleeRealm</var>) abstract operation. User agents must use the following implementation:
data-x="js-HostEnsureCanCompileStrings">HostEnsureCanCompileStrings</span>(<var>realm</var>)
abstract operation. User agents must use the following implementation:
<ref spec=JAVASCRIPT>

<ol>
<li><p>Perform ? <span
data-x="csp-EnsureCSPDoesNotBlockStringCompilation">EnsureCSPDoesNotBlockStringCompilation</span>(<var>callerRealm</var>,
<var>calleeRealm</var>). <ref spec=CSP></p></li>
data-x="csp-EnsureCSPDoesNotBlockStringCompilation">EnsureCSPDoesNotBlockStringCompilation</span>(<var>realm</var>).
<ref spec=CSP></p></li>
</ol>

<h5 id="the-hostpromiserejectiontracker-implementation"><dfn>HostPromiseRejectionTracker</dfn>(<var>promise</var>, <var>operation</var>)</h5>
Expand Down Expand Up @@ -98372,8 +98372,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
<li><p>If <var>nesting level</var> is greater than 5, and <var>timeout</var> is less than 4,
then set <var>timeout</var> to 4.</p></li>

<li><p>Let <var>callerRealm</var> be the <span>current Realm Record</span>, and
<var>calleeRealm</var> be <var>global</var>'s <span data-x="concept-relevant-realm">relevant
<li><p>Let <var>realm</var> be <var>global</var>'s <span data-x="concept-relevant-realm">relevant
Realm</span>.</p></li>

<li><p>Let <var>initiating script</var> be the <span>active script</span>.</p></li>
Expand Down Expand Up @@ -98402,9 +98401,9 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
<li><p>Assert: <var>handler</var> is a string.</p></li>

<li><p>Perform <span
data-x="the-hostensurecancompilestrings-implementation">HostEnsureCanCompileStrings</span>(<var>callerRealm</var>,
<var>calleeRealm</var>). If this throws an exception, catch it, <span>report the
exception</span>, and abort these steps.</p></li>
data-x="the-hostensurecancompilestrings-implementation">HostEnsureCanCompileStrings</span>(<var>realm</var>).
If this throws an exception, catch it, <span>report the exception</span>, and abort these
steps.</p></li>

<li><p>Let <var>settings object</var> be <var>global</var>'s <span>relevant settings
object</span>.</p></li>
Expand Down

0 comments on commit e0c1a94

Please sign in to comment.