@@ -2603,7 +2603,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
2603
2603
<li>A <dfn data-x-href="https://fetch.spec.whatwg.org/#local-scheme">local scheme</dfn></li>
2604
2604
<li>A <dfn data-x-href="https://fetch.spec.whatwg.org/#fetch-scheme">fetch scheme</dfn></li>
2605
2605
<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>
2607
2607
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#concept-header-extract-mime-type">extract a MIME type</dfn></li>
2608
2608
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#legacy-extract-an-encoding">legacy extract an encoding</dfn></li>
2609
2609
<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> {
121071
121071
data-x="dom-navigator-appVersion">appVersion</code></dfn> getter steps are:</p>
121072
121072
121073
121073
<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>
121077
121080
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
121080
121082
data-x="isomorphic decode">isomorphic decoded</span>, that follows the "<code
121081
121083
data-x="">Mozilla/</code>" prefix.</p></li>
121082
121084
@@ -121126,8 +121128,8 @@ interface <dfn interface>Navigator</dfn> {
121126
121128
</dl>
121127
121129
121128
121130
<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>
121131
121133
121132
121134
<p>The <dfn attribute for="NavigatorID"><code data-x="dom-navigator-vendor">vendor</code></dfn>
121133
121135
getter steps are to return the appropriate string from the following list:</p>
0 commit comments