diff --git a/index.bs b/index.bs index d29fd71..26d3a94 100644 --- a/index.bs +++ b/index.bs @@ -13,6 +13,7 @@ Markup Shorthands: markdown yes
spec:url; type:interface; text:URL spec:html; type:attribute; for:Window; text:navigator +spec:fetch; type:method; text:fetch()Introduction {#intro} @@ -30,7 +31,7 @@ The Web Platform is the combination of technology standards defined by organizat A Web-interoperable Runtime is any ECMAScript-based application runtime environment that implements the subset of Web Platform APIs outlined in this specification. While this term is intentionally broad to also encompass Web Browsers, the primary focus here is on outlining expectations for non-browser runtimes. -Common API Index {#index} +Common API Index {#api-index} ========================= All Web-interoperable Runtimes 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 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. -Requirements for navigator.userAgent -==================================== +Requirements for navigator.userAgent {#navigator-useragent-requirements} +======================================================================== The globalThis.{{navigator}}.{{userAgent}} property is provided such that application code can reliably identify the runtime within which it is running. The value of the property is a string conforming to the
`User-Agent`
construction in RFC 7231: