@@ -2526,6 +2526,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
25262526 <li><dfn data-x-href="https://fetch.spec.whatwg.org/#http-cors-protocol">CORS protocol</dfn></li>
25272527 <li><dfn data-x="default-user-agent-value" data-x-href="https://fetch.spec.whatwg.org/#default-user-agent-value">default `<code>User-Agent</code>` value</dfn></li>
25282528 <li><dfn data-x-href="https://fetch.spec.whatwg.org/#concept-header-extract-mime-type">extract a MIME type</dfn></li>
2529+ <li><dfn data-x-href="https://fetch.spec.whatwg.org/#legacy-extract-an-encoding">legacy extract an encoding</dfn></li>
25292530 <li><dfn data-x="concept-fetch" data-x-href="https://fetch.spec.whatwg.org/#concept-fetch">fetch</dfn></li>
25302531 <li><dfn data-x-href="https://fetch.spec.whatwg.org/#concept-http-redirect-fetch">HTTP-redirect fetch</dfn></li>
25312532 <li><dfn data-x-href="https://fetch.spec.whatwg.org/#ok-status">ok status</dfn></li>
@@ -93384,9 +93385,17 @@ document.querySelector("button").addEventListener("click", bound);
9338493385 unlike the other script-fetching algorithms in this section.</p>
9338593386 </li>
9338693387
93387- <li><p>If <var>response</var>'s <span data-x="Content-Type">Content Type metadata</span>, if
93388- any, specifies a character encoding, and the user agent supports that encoding, then set
93389- <var>character encoding</var> to that encoding (ignoring the passed-in value).</p></li>
93388+ <li><p>Let <var>potentialMIMETypeForEncoding</var> be the result of <span data-x="extract a MIME
93389+ type">extracting a MIME type</span> given <var>response</var>'s <span
93390+ data-x="concept-response-header-list">header list</span>.</p></li>
93391+
93392+ <li>
93393+ <p>Set <var>character encoding</var> be the result of <span data-x="legacy extract an
93394+ encoding">legacy extracting an encoding</span> given <var>potentialMIMETypeForEncoding</var> and
93395+ <var>character encoding</var>.</p>
93396+
93397+ <p class="note">This intentionally ignores the <span>MIME type essence</span>.</p>
93398+ </li>
9339093399
9339193400 <li>
9339293401 <p>Let <var>source text</var> be the result of <span data-x="decode">decoding</span>
0 commit comments