@@ -2603,7 +2603,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
26032603 <li>A <dfn data-x-href="https://fetch.spec.whatwg.org/#local-scheme">local scheme</dfn></li>
26042604 <li>A <dfn data-x-href="https://fetch.spec.whatwg.org/#fetch-scheme">fetch scheme</dfn></li>
26052605 <li><dfn data-x-href="https://fetch.spec.whatwg.org/#http-cors-protocol">CORS protocol</dfn></li>
2606- <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>
2606+ <li><dfn data-x="environment- default-user-agent-value" data-x-href="https://fetch.spec.whatwg.org/#environment- default-user-agent-value">environment default `<code>User-Agent</code>` value</dfn></li>
26072607 <li><dfn data-x-href="https://fetch.spec.whatwg.org/#concept-header-extract-mime-type">extract a MIME type</dfn></li>
26082608 <li><dfn data-x-href="https://fetch.spec.whatwg.org/#legacy-extract-an-encoding">legacy extract an encoding</dfn></li>
26092609 <li><dfn data-x="concept-fetch" data-x-href="https://fetch.spec.whatwg.org/#concept-fetch">fetch</dfn></li>
@@ -121071,12 +121071,14 @@ interface <dfn interface>Navigator</dfn> {
121071121071 data-x="dom-navigator-appVersion">appVersion</code></dfn> getter steps are:</p>
121072121072
121073121073 <ol>
121074- <li><p>If the <span data-x="default-user-agent-value">default `<code>User-Agent</code>`
121075- value</span> does not start with `<code data-x="">Mozilla/5.0 (</code>`, then return the empty
121076- string.</p></li>
121074+ <li><p>Let <var>userAgent</var> be <span>this</span>'s <span>relevant settings object</span>'s
121075+ <span data-x="environment-default-user-agent-value">environment default `<code>User-Agent</code>`
121076+ value</span>.</p></li>
121077+
121078+ <li><p>If <var>userAgent</var> does not start with `<code data-x="">Mozilla/5.0 (</code>`, then
121079+ return the empty string.</p></li>
121077121080
121078- <li><p>Let <var>trail</var> be the substring of the <span
121079- data-x="default-user-agent-value">default `<code>User-Agent</code>` value</span>, <span
121081+ <li><p>Let <var>trail</var> be the substring of <var>userAgent</var>, <span
121080121082 data-x="isomorphic decode">isomorphic decoded</span>, that follows the "<code
121081121083 data-x="">Mozilla/</code>" prefix.</p></li>
121082121084
@@ -121126,8 +121128,8 @@ interface <dfn interface>Navigator</dfn> {
121126121128 </dl>
121127121129
121128121130 <p>The <dfn attribute for="NavigatorID"><code data-x="dom-navigator-userAgent">userAgent</code></dfn>
121129- getter steps are to return the <span data-x="default-user-agent-value">default `<code>User-Agent</code>`
121130- value</span>.</p>
121131+ getter steps are to return <span>this</span>'s <span>relevant settings object</span>'s <span
121132+ data-x="environment-default-user-agent-value">environment default `<code>User-Agent</code>` value</span>.</p>
121131121133
121132121134 <p>The <dfn attribute for="NavigatorID"><code data-x="dom-navigator-vendor">vendor</code></dfn>
121133121135 getter steps are to return the appropriate string from the following list:</p>
0 commit comments