Skip to content

Commit f91410e

Browse files
authored
Fix some Bikeshed link errors and warnings (#70)
1 parent 3ad70a4 commit f91410e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Markup Shorthands: markdown yes
1313
<pre class=link-defaults>
1414
spec:url; type:interface; text:URL
1515
spec:html; type:attribute; for:Window; text:navigator
16+
spec:fetch; type:method; text:fetch()
1617
</pre>
1718

1819
Introduction {#intro}
@@ -30,7 +31,7 @@ The Web Platform is the combination of technology standards defined by organizat
3031
A <dfn>Web-interoperable Runtime</dfn> is any ECMAScript-based application runtime environment that implements the subset of Web Platform APIs outlined in this specification.
3132
While this term is intentionally broad to also encompass Web Browsers, the primary focus here is on outlining expectations for non-browser runtimes.
3233

33-
Common API Index {#index}
34+
Common API Index {#api-index}
3435
=========================
3536

3637
All <a>Web-interoperable Runtimes</a> conforming to this specification SHALL implement each of the following Web Platform APIs in accordance with their normative requirements except where modified here. Where any conforming runtime environment chooses (either by necessity or otherwise) to diverge from a normative requirement of the specification, clear explanations of such divergence MUST be made clearly and readily available in the documentation.
@@ -113,8 +114,8 @@ The exact type of the global scope (`globalThis`) can vary across runtimes. Most
113114

114115
With many runtimes, adding a new global-scoped property can introduce breaking changes when the new global conflicts with existing application code. Many Web Platform APIs define global properties using the `readonly` attribute. To avoid introducing breaking changes, runtimes conforming to this specification MAY choose to ignore the `readonly` attribute for properties being added to the global scope.
115116

116-
Requirements for navigator.userAgent
117-
====================================
117+
Requirements for navigator.userAgent {#navigator-useragent-requirements}
118+
========================================================================
118119

119120
The globalThis.{{navigator}}.{{userAgent}} property is provided such that application code can reliably identify the runtime within which it is running.
120121
The value of the property is a string conforming to the <code class="idl"><a data-link-type="idl" href="https://datatracker.ietf.org/doc/html/rfc7231#section-5.5.3">`User-Agent`</a></code> construction in RFC 7231:

0 commit comments

Comments
 (0)