Skip to content

Commit e6f4e20

Browse files
update window.browser spec
1 parent 5ec0095 commit e6f4e20

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

specification/window.browser.bs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/
2121
</pre>
2222

2323
<section class="non-normative">
24-
## Introduction {#introduction}
24+
## Introduction
2525
<em>This section is non-normative.</em>
2626

2727
Browser extensions are programs to extend the capabilities of web browsers.
2828
Although not standardized at first, web browsers have independently implemented a common interoperable set of extension APIs, called WebExtensions.
2929

3030
Modern WebExtensions are an evolution of a system originally introduced in
31-
Chrome version 3. In that system, any API that was added was put under the
31+
Chromium. In that system, any API that was added was put under the
3232
<code>chrome</code> namespace. When WebExtensions were adopted outside of
3333
Chromium, other vendors used the more neutral <code>browser</code> namespace.
34-
That <code>browser</code> is now considered to canonically correct namespace
34+
That <code>browser</code> is now considered the canonically correct namespace
3535
for all WebExtension APIs. Some interactions with WebExtensions (such as
36-
external messaging from content scripts to background processes) necessitate
36+
external messaging from websites to background processes) necessitate
3737
the exposure of this namespace to the web.
3838

3939
Given that, this document defines <code>window.browser</code> as reserved for
@@ -65,15 +65,12 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/
6565
Worker API
6666
</h3>
6767

68-
When {{browser}} is defined on {{window}}, it SHOULD also be implemented on {{ServiceWorkerGlobalScope}} and {{DedicatedWorkerGlobalScope}}.
69-
It MUST be used exclusivly for WebExtension purposes, however the contents of each instance of {{browser}} is UA defined.
68+
When {{browser}} is defined on {{window}}, it SHOULD also be exposed on {{ServiceWorkerGlobalScope}}
69+
of origins associated with WebExtensions.
70+
It MUST be used exclusively for WebExtension purposes, however the contents of each instance of {{browser}} is UA defined.
7071
</section>
7172

7273
<pre class="idl">
73-
partial interface DedicatedWorkerGlobalScope {
74-
attribute object browser;
75-
};
76-
7774
partial interface ServiceWorkerGlobalScope {
7875
attribute object browser;
7976
};

0 commit comments

Comments
 (0)