@@ -120966,47 +120966,44 @@ interface <dfn interface>Navigator</dfn> {
120966
120966
data-x="dom-navigator-appCodeName">appCodeName</code></dfn> getter steps are to return
120967
120967
"<code data-x="">Mozilla</code>".</p>
120968
120968
120969
- <!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) -->
120970
-
120971
120969
<p>The <dfn attribute for="NavigatorID"><code data-x="dom-navigator-appName">appName</code></dfn>
120972
120970
getter steps are to return "<code data-x="">Netscape</code>".</p>
120973
120971
120974
120972
<p>The <dfn attribute for="NavigatorID"><code
120975
- data-x="dom-navigator-appVersion">appVersion</code></dfn> getter steps are to return the
120976
- appropriate string that starts with "<code data-x="">5.0 (</code>", as
120977
- follows:</p>
120973
+ data-x="dom-navigator-appVersion">appVersion</code></dfn> getter steps are:</p>
120978
120974
120979
120975
<ol>
120980
- <li>Let <var>trail</var> be the substring of <span data-x="default-user-agent-value">default
120981
- `<code>User-Agent</code>` value</span> that follows the "<code data-x="">Mozilla/</code>"
120982
- prefix.</li>
120983
- <!-- Fetch doesn't actually require the value to start with "Mozilla/5.0 (". -->
120976
+ <li><p>If the <span data-x="default-user-agent-value">default `<code>User-Agent</code>`
120977
+ value</span> does not start with `<code data-x="">Mozilla/5.0 (</code>`, then return the empty
120978
+ string.</p></li>
120984
120979
120985
- <li>
120986
- <dl class="switch"> <dt>If the < span data-x="concept-navigator-compatibility-mode">navigator
120987
- compatibility mode </span> is <i>Chrome</i> or <i>WebKit</i></dt>
120988
- <dd><p>Return <var>trail</var> .</p></dd >
120980
+ <li><p>Let <var>trail</var> be the substring of the <span
120981
+ data-x="default-user-agent-value">default `<code>User-Agent</code>` value</ span>, <span
120982
+ data-x="isomorphic decode">isomorphic decoded </span>, that follows the "<code
120983
+ data-x="">Mozilla/</code>" prefix .</p></li >
120989
120984
120990
- <dt>If the <span data-x="concept-navigator-compatibility-mode">navigator compatibility
120991
- mode</span> is <i>Gecko</i></dt >
120992
- <dd>
120993
- <p>If <var>trail</var> starts with "<code data-x="">5.0 (Windows</code>", then return "<code
120994
- data-x="">5.0 (Windows)</code>" .</p>
120985
+ <li>
120986
+ <dl class="switch" >
120987
+ <dt>If the <span data-x="concept-navigator-compatibility-mode">navigator compatibility
120988
+ mode</span> is <i>Chrome</i> or <i>WebKit</i></dt>
120989
+ <dd><p>Return <var>trail</var> .</p></dd >
120995
120990
120996
- <p>Otherwise, return the prefix of <var>trail</var> up to but not including the first U+003B
120997
- (;), concatenated with the character U+0029 RIGHT PARENTHESIS. For example, "<code
120998
- data-x="">5.0 (Macintosh)</code>", "<code data-x="">5.0 (Android 10)</code>", or "<code
120999
- data-x="">5.0 (X11)</code>".</p> <!-- Unclear if Gecko mode returning a shorter string that
121000
- doesn't contain the whole trail is needed for Web compat. -->
120991
+ <dt>If the <span data-x="concept-navigator-compatibility-mode">navigator compatibility
120992
+ mode</span> is <i>Gecko</i></dt>
120993
+ <dd>
120994
+ <p>If <var>trail</var> starts with "<code data-x="">5.0 (Windows</code>", then return "<code
120995
+ data-x="">5.0 (Windows)</code>".</p>
120996
+
120997
+ <p>Otherwise, return the prefix of <var>trail</var> up to but not including the first U+003B
120998
+ (;), concatenated with the character U+0029 RIGHT PARENTHESIS. For example, "<code
120999
+ data-x="">5.0 (Macintosh)</code>", "<code data-x="">5.0 (Android 10)</code>", or "<code
121000
+ data-x="">5.0 (X11)</code>".</p> <!-- Unclear if Gecko mode returning a shorter string that
121001
+ doesn't contain the whole trail is needed for Web compat. -->
121001
121002
</dd>
121002
121003
</dl>
121003
121004
</li>
121004
121005
</ol>
121005
121006
121006
- <!-- buildID: Mozilla only -->
121007
-
121008
- <!-- oscpu: Mozilla only -->
121009
-
121010
121007
<p>The <dfn attribute for="NavigatorID"><code data-x="dom-navigator-platform">platform</code></dfn>
121011
121008
getter steps are to return a string representing the platform on which the
121012
121009
browser is executing (e.g. "<code data-x="">MacIntel</code>", "<code data-x="">Win32</code>",
@@ -121021,7 +121018,6 @@ interface <dfn interface>Navigator</dfn> {
121021
121018
getter steps are to return the appropriate string from the following list:</p>
121022
121019
121023
121020
<dl class="switch">
121024
-
121025
121021
<dt>If the <span data-x="concept-navigator-compatibility-mode">navigator compatibility
121026
121022
mode</span> is <i>Chrome</i> or <i>WebKit</i></dt>
121027
121023
<dd><p>The string "<code data-x="">20030107</code>".</p></dd>
@@ -121031,8 +121027,6 @@ interface <dfn interface>Navigator</dfn> {
121031
121027
<dd><p>The string "<code data-x="">20100101</code>".</p></dd>
121032
121028
</dl>
121033
121029
121034
- <!-- securityPolicy: Mozilla only; always returns "" -->
121035
-
121036
121030
<p>The <dfn attribute for="NavigatorID"><code data-x="dom-navigator-userAgent">userAgent</code></dfn>
121037
121031
getter steps are to return the <span data-x="default-user-agent-value">default `<code>User-Agent</code>`
121038
121032
value</span>.</p>
@@ -121041,7 +121035,6 @@ interface <dfn interface>Navigator</dfn> {
121041
121035
getter steps are to return the appropriate string from the following list:</p>
121042
121036
121043
121037
<dl class="switch">
121044
-
121045
121038
<dt>If the <span data-x="concept-navigator-compatibility-mode">navigator compatibility
121046
121039
mode</span> is <i>Chrome</i></dt>
121047
121040
<dd><p>The string "<code data-x="">Google Inc.</code>".</p></dd>
@@ -121113,7 +121106,6 @@ interface <dfn interface>Navigator</dfn> {
121113
121106
121114
121107
<div w-nodev>
121115
121108
121116
- <!-- at time of testing, this was supported by Opera, Safari, and Mozilla only -->
121117
121109
<p>The <dfn attribute for="NavigatorLanguage"><code
121118
121110
data-x="dom-navigator-language">language</code></dfn> getter steps are to return a valid BCP 47
121119
121111
language tag representing either <span>a plausible language</span> or the user's most preferred
0 commit comments