Skip to content

Commit 183a2ce

Browse files
committed
make "bytes module script" lowercase
1 parent f8b1b09 commit 183a2ce

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64221,7 +64221,7 @@ o............A....e
6422164221
console.log("Binary data length:", logoBytes.byteLength);
6422264222
&lt;/script></code></pre>
6422364223

64224-
<p>The <span>Bytes module script</span> will return a <code>Uint8Array</code> object containing
64224+
<p>The <span>bytes module script</span> will return a <code>Uint8Array</code> object containing
6422564225
the raw bytes of the fetched resource. Unlike <span data-x="JSON module script">JSON module scripts</span>
6422664226
which require a specific MIME type, bytes modules can be used to import binary data from any resource.</p>
6422764227
</div>
@@ -112119,7 +112119,7 @@ document.querySelector("button").addEventListener("click", bound);
112119112119
script">JavaScript module scripts</span>;</p></li>
112120112120

112121112121
<li><p>a <span>Synthetic Module Record</span>, for <span data-x="CSS module script">CSS module
112122-
scripts</span>, <span data-x="JSON module script">JSON module scripts</span>, and <span data-x="Bytes module script">Bytes module scripts</span>;</p></li>
112122+
scripts</span>, <span data-x="JSON module script">JSON module scripts</span>, and <span data-x="bytes module script">bytes module scripts</span>;</p></li>
112123112123

112124112124
<li><p>a <span>WebAssembly Module Record</span>, for <span data-x="WebAssembly module
112125112125
script">WebAssembly module scripts</span>; or</p></li>
@@ -112222,15 +112222,15 @@ document.querySelector("button").addEventListener("click", bound);
112222112222
</li>
112223112223

112224112224
<li>
112225-
<p>A <span>module script</span> is a <dfn export>Bytes module script</dfn> if its <span
112225+
<p>A <span>module script</span> is a <dfn export>bytes module script</dfn> if its <span
112226112226
data-x="concept-script-record">record</span> is a <span>Synthetic Module Record</span>, and it
112227-
was created via the <span data-x="creating a Bytes module script">create a Bytes module
112228-
script</span> algorithm. Bytes module scripts represent binary data as Uint8Array backed by
112227+
was created via the <span data-x="creating a bytes module script">create a Bytes module
112228+
script</span> algorithm. bytes module scripts represent binary data as Uint8Array backed by
112229112229
an immutable ArrayBuffer.</p>
112230112230

112231112231
<!--
112232112232
This definition is not super-rigorous, but it doesn't need to be for now. If we ever start
112233-
testing if something is a Bytes module script in algorithms, instead of just referring to the
112233+
testing if something is a bytes module script in algorithms, instead of just referring to the
112234112234
concept, then we should consider adding a type item to the module script struct.
112235112235
-->
112236112236
</li>
@@ -112246,7 +112246,7 @@ document.querySelector("button").addEventListener("click", bound);
112246112246
throw exceptions on evaluation, the <span data-x="concept-script-script-fetch-options">fetch
112247112247
options</span> and <span data-x="concept-script-base-url">base URL</span> of <span data-x="CSS
112248112248
module script">CSS module scripts</span>, <span data-x="JSON module script">JSON module
112249-
scripts</span>, and <span data-x="Bytes module script">Bytes module scripts</span> are always null.</p>
112249+
scripts</span>, and <span data-x="bytes module script">bytes module scripts</span> are always null.</p>
112250112250

112251112251
<p>The <dfn>active script</dfn> is determined by the following algorithm:</p>
112252112252

@@ -113142,7 +113142,7 @@ document.querySelector("button").addEventListener("click", bound);
113142113142
data-x="concept-response-url">URL</span>, and <var>options</var>.</p></li>
113143113143

113144113144
<li><p>If <var>moduleType</var> is "<code data-x="">bytes</code>", then set <var>moduleScript</var> to
113145-
the result of <span>creating a Bytes module script</span> given <var>bodyBytes</var> and
113145+
the result of <span>creating a bytes module script</span> given <var>bodyBytes</var> and
113146113146
<var>settingsObject</var>.</p></li>
113147113147

113148113148
<li>
@@ -113465,7 +113465,7 @@ document.querySelector("button").addEventListener("click", bound);
113465113465
<li><p>Return <var>script</var>.</p></li>
113466113466
</ol>
113467113467

113468-
<p>To <dfn data-x="creating a Bytes module script">create a Bytes module script</dfn>, given a
113468+
<p>To <dfn data-x="creating a bytes module script">create a bytes module script</dfn>, given a
113469113469
byte sequence <var>bytes</var> and an <span>environment settings object</span> <var>settings</var>:</p>
113470113470

113471113471
<ol>

0 commit comments

Comments
 (0)