@@ -104748,10 +104748,11 @@ document.querySelector("button").addEventListener("click", bound);
104748
104748
<var>moduleRequest</var>.</p></li>
104749
104749
104750
104750
<li><p><span>Assert</span>: the result of running the <span>module type allowed</span> steps
104751
- given <var>moduleType</var> and <var>settingsObject</var> is true. Otherwise we would not have
104752
- reached this point because a failure would have been raised when inspecting
104753
- <var>moduleRequest</var>.[[Attributes]] in <a href="#validate-requested-module-specifiers">create
104754
- a JavaScript module script</a> or <span>fetch a single imported module script</span>.</p></li>
104751
+ given <var>moduleType</var> and <var>settingsObject</var>'s <span data-x="environment settings
104752
+ object's realm">realm</span> is true. Otherwise we would not have reached this point because a
104753
+ failure would have been raised when inspecting <var>moduleRequest</var>.[[Attributes]] in
104754
+ <a href="#validate-requested-module-specifiers">create a JavaScript module script</a> or
104755
+ <span>fetch a single imported module script</span>.</p></li>
104755
104756
104756
104757
<li><p>Let <var>moduleMap</var> be <var>settingsObject</var>'s <span
104757
104758
data-x="concept-settings-object-module-map">module map</span>.</p></li>
@@ -104891,8 +104892,8 @@ document.querySelector("button").addEventListener("click", bound);
104891
104892
request</span> steps given <var>moduleRequest</var>.</p></li>
104892
104893
104893
104894
<li><p>If the result of running the <span>module type allowed</span> steps given
104894
- <var>moduleType</var> and <var>settingsObject</var> is false, then run <var>onComplete</var>
104895
- given null, and return.</p></li>
104895
+ <var>moduleType</var> and <var>settingsObject</var>'s <span data-x="environment settings object's
104896
+ realm">realm</span> is false, then run <var>onComplete</var> given null, and return.</p></li>
104896
104897
104897
104898
<li><p><span>Fetch a single module script</span> given <var>url</var>, <var>fetchClient</var>,
104898
104899
<var>destination</var>, <var>options</var>, <var>settingsObject</var>, <var>referrer</var>,
@@ -105054,7 +105055,8 @@ document.querySelector("button").addEventListener("click", bound);
105054
105055
105055
105056
<li>
105056
105057
<p>If the result of running the <span>module type allowed</span> steps given
105057
- <var>moduleType</var> and <var>settings</var> is false, then:</p>
105058
+ <var>moduleType</var> and <var>settings</var>'s <span data-x="environment settings object's
105059
+ realm">realm</span> is false, then:</p>
105058
105060
105059
105061
<ol>
105060
105062
<li><p>Let <var>error</var> be a new <code>TypeError</code> exception.</p></li>
@@ -105179,16 +105181,15 @@ document.querySelector("button").addEventListener("click", bound);
105179
105181
</ol>
105180
105182
105181
105183
<p>The <dfn>module type allowed</dfn> steps, given a <span>string</span> <var>moduleType</var>
105182
- and an <span>environment settings object </span> <var>settings </var>, are as follows:</p>
105184
+ and a <span>realm </span> <var>realm </var>, are as follows:</p>
105183
105185
105184
105186
<ol>
105185
105187
<li><p>If <var>moduleType</var> is not "<code data-x="">javascript</code>", "<code
105186
105188
data-x="">css</code>", or "<code data-x="">json</code>", then return false.</p></li>
105187
105189
105188
105190
<li><p>If <var>moduleType</var> is "<code data-x="">css</code>" and the
105189
105191
<code>CSSStyleSheet</code> interface is not <span data-x="idl-exposed">exposed</span> in
105190
- <var>settings</var>'s <span data-x="environment settings object's realm">realm</span>, then
105191
- return false.</p></li>
105192
+ <var>realm</var>, then return false.</p></li>
105192
105193
105193
105194
<li><p>Return true.</p></li>
105194
105195
</ol>
0 commit comments