You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
• If trail starts with "5.0 (Windows", then return "5.0 (Windows)".
944
+
• Otherwise, return the prefix of trail up to but not including the first U+003B (;), concatenated with the character U+0029 RIGHT PARENTHESIS. For example, "5.0 (Macintosh)", "5.0 (Android 10)", or "5.0 (X11)".
945
+
</li>
925
946
</ul>
926
947
</li>
927
948
</ol>
928
-
929
-
<pclass="trans-note">【†
930
-
これらの ~Assert は、
931
-
この訳による補完
932
-
— 原文は、
933
-
これらの条件を満たすかのように記されている
934
-
(満たさない場合の挙動が指定されていない
935
-
— `既定の~User-Agent値$は`実装定義$なので、
936
-
理論上は満たさない可能性もあるにもかかわらず)。
937
-
】</p>
938
-
939
-
◎
940
-
The appVersion getter steps are to return the appropriate string that starts with "5.0 (", as follows:
941
-
• Let trail be the substring of default `User-Agent` value that follows the "Mozilla/" prefix.
942
-
• If the navigator compatibility mode is Chrome or WebKit
943
-
•• Return trail.
944
-
• If the navigator compatibility mode is Gecko
945
-
•• If trail starts with "5.0 (Windows", then return "5.0 (Windows)".
946
-
•• Otherwise, return the prefix of trail up to but not including the first U+003B (;), concatenated with the character U+0029 RIGHT PARENTHESIS. For example, "5.0 (Macintosh)", "5.0 (Android 10)", or "5.0 (X11)".
Registers a handler for scheme at url. For example, an online telephone messaging service could register itself as a handler of the sms: scheme, so that if the user clicks on such a link, they are given the opportunity to use that web site. [SMS]
Although these days detecting PDF viewer support can be done via navigator.pdfViewerEnabled, for historical reasons, there are a number of complex and intertwined interfaces that provide the same capability, which legacy code relies on. This section specifies both the simple modern variant and the complicated historical one.
0 commit comments