@@ -57838,6 +57838,22 @@ o............A....e
57838
57838
<li><p>Let <var>CORS setting</var> be the current state of the element's <code
57839
57839
data-x="attr-script-crossorigin">crossorigin</code> content attribute.</p></li>
57840
57840
57841
+ <li>
57842
+ <p>Let <var>module script credentials mode</var> be determined by switching on <var>CORS
57843
+ setting</var>:</p>
57844
+
57845
+ <dl class="switch">
57846
+ <dt><span data-x="attr-crossorigin-none">No CORS</span></dt>
57847
+ <dd>"<code data-x="">omit</code>"</dd>
57848
+
57849
+ <dt><span data-x="attr-crossorigin-anonymous">Anonymous</span></dt>
57850
+ <dd>"<code data-x="">same-origin</code>"</dd>
57851
+
57852
+ <dt><span data-x="attr-crossorigin-none">Use Credentials</span></dt>
57853
+ <dd>"<code data-x="">include</code>"</dd>
57854
+ </dl>
57855
+ </li>
57856
+
57841
57857
<li>
57842
57858
57843
57859
<p>If the <code>script</code> element has a <code data-x="attr-script-nonce">nonce</code>
@@ -57891,27 +57907,9 @@ o............A....e
57891
57907
57892
57908
<dt>"<code data-x="">module</code>"</dt>
57893
57909
<dd>
57894
- <ol>
57895
- <li>
57896
- <p>Let <var>credentials mode</var> be determined by switching on <var>CORS
57897
- setting</var>:</p>
57898
-
57899
- <dl class="switch">
57900
- <dt><span data-x="attr-crossorigin-none">No CORS</span></dt>
57901
- <dd>"<code data-x="">omit</code>"</dd>
57902
-
57903
- <dt><span data-x="attr-crossorigin-anonymous">Anonymous</span></dt>
57904
- <dd>"<code data-x="">same-origin</code>"</dd>
57905
-
57906
- <dt><span data-x="attr-crossorigin-none">Use Credentials</span></dt>
57907
- <dd>"<code data-x="">include</code>"</dd>
57908
- </dl>
57909
- </li>
57910
-
57911
- <li><p><span>Fetch a module script tree</span> given <var>url</var>, <var>settings</var>,
57912
- "<code data-x="">script</code>", <var>cryptographic nonce</var>, <var>parser state</var>,
57913
- and <var>credentials mode</var>.</p></li>
57914
- </ol>
57910
+ <p><span>Fetch a module script tree</span> given <var>url</var>, <var>settings</var>,
57911
+ "<code data-x="">script</code>", <var>cryptographic nonce</var>, <var>parser state</var>,
57912
+ and <var>module script credentials mode</var>.</p>
57915
57913
</dd>
57916
57914
</dl>
57917
57915
@@ -57971,8 +57969,9 @@ o............A....e
57971
57969
document</span>'s <span>document base URL</span>.</p></li>
57972
57970
57973
57971
<li><p>Let <var>script</var> be the result of <span>creating a module script</span> using
57974
- <var>source text</var>, <var>settings</var>, <var>base URL</var>, and <var>CORS
57975
- setting</var>.</p></li>
57972
+ <var>source text</var>, <var>settings</var>, <var>base URL</var>, <var>cryptographic
57973
+ nonce</var>, <var>parser state</var>, and <var>module script credentials
57974
+ mode</var>.</p></li>
57976
57975
57977
57976
<li><p>If this returns null, set <span data-x="concept-script-script">the script's
57978
57977
script</span> to null and abort these substeps; <span>the script is ready</span>.</p></li>
@@ -86838,8 +86837,8 @@ interface <dfn>NavigatorOnLine</dfn> {
86838
86837
86839
86838
<li><p>Let <var>module script</var> be the result of <span>creating a module script</span> given
86840
86839
<var>source text</var>, <var>module map settings object</var>, <var>response</var>'s <span
86841
- data-x="concept-response-url">url</span>, <var>credentials mode</var>, and <var> cryptographic
86842
- nonce</var>.</p></li>
86840
+ data-x="concept-response-url">url</span>, <var>cryptographic
86841
+ nonce</var>, <var>parser state</var>, and <var>credentials mode</var> .</p></li>
86843
86842
86844
86843
<li>
86845
86844
<p>Set the value of the entry in <var>module map</var> whose key is <var>url</var> to
@@ -86942,8 +86941,8 @@ interface <dfn>NavigatorOnLine</dfn> {
86942
86941
</ol>
86943
86942
86944
86943
<p>To <dfn data-x="creating a module script">create a module script</dfn>, given some script
86945
- source, an <span>environment settings object</span>, a script base URL, a credentials mode , a
86946
- cryptographic nonce , and a parser state :</p>
86944
+ source, an <span>environment settings object</span>, a script base URL, a cryptographic nonce , a
86945
+ parser state , and a credentials mode :</p>
86947
86946
86948
86947
<ol>
86949
86948
@@ -86975,15 +86974,15 @@ interface <dfn>NavigatorOnLine</dfn> {
86975
86974
<li><p>Set <var>script</var>'s <span data-x="concept-module-script-base-url">base URL</span> to
86976
86975
the script base URL provided.</p></li>
86977
86976
86978
- <li><p>Set <var>script</var>'s <span data-x="concept-module-script-credentials-mode">credentials
86979
- mode</span> to the credentials mode provided.</p></li>
86980
-
86981
86977
<li><p>Set <var>script</var>'s <span data-x="concept-module-script-nonce">cryptographic
86982
86978
nonce</span> to the cryptographic nonce provided.</p></li>
86983
86979
86984
86980
<li><p>Set <var>script</var>'s <span data-x="concept-module-script-parser">parser state</span>
86985
86981
to the parser state.</p></li>
86986
86982
86983
+ <li><p>Set <var>script</var>'s <span data-x="concept-module-script-credentials-mode">credentials
86984
+ mode</span> to the credentials mode provided.</p></li>
86985
+
86987
86986
<li><p>Return <var>script</var>.</p></li>
86988
86987
86989
86988
</ol>
0 commit comments