Skip to content

Commit

Permalink
Merge pull request #650 from w3c/getcontexts-sidepanel-tweak
Browse files Browse the repository at this point in the history
SHA: 2449c71
Reason: push, by oliverdunk

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
oliverdunk and github-actions[bot] committed Jul 2, 2024
1 parent 7994339 commit a422e5f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions specification/window.browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://w3c.github.io/webextensions/specification/window.browser.html" rel="canonical">
<meta content="e5dc7c955da5a93893b8a13d5a30fb849595dc26" name="document-revision">
<meta content="2449c718dbcdb8cc7d6cf8476ea409ecf4bc4da9" name="document-revision">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down Expand Up @@ -648,7 +648,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">window.browser</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#CG-DRAFT">Draft Community Group Report</a>, <time class="dt-updated" datetime="2024-06-29">29 June 2024</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#CG-DRAFT">Draft Community Group Report</a>, <time class="dt-updated" datetime="2024-07-02">2 July 2024</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand Down Expand Up @@ -724,7 +724,7 @@ <h3 class="heading settled" id="introduction"><span class="content">Introduction
</section>
<section>
<h3 class="heading settled" id="window-interface"><span class="content"> <a class="idl-code" data-link-type="attribute" href="#dom-window-browser" id="ref-for-dom-window-browser"><code>window.browser</code></a> API </span></h3>
<p><code class="idl"><a data-link-type="idl" href="#dom-serviceworkerglobalscope-browser" id="ref-for-dom-serviceworkerglobalscope-browser">browser</a></code> is UA defined attribute exposed on <code class="idl"><a data-link-type="idl" href="https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-window" id="ref-for-dom-window">window</a></code>. When implemented,
<p><code class="idl"><a data-link-type="idl" href="#dom-window-browser" id="ref-for-dom-window-browser">browser</a></code> is UA defined attribute exposed on <code class="idl"><a data-link-type="idl" href="https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-window" id="ref-for-dom-window">window</a></code>. When implemented,
it MUST be used only for WebExtension related functionality.</p>
</section>
<pre class="idl highlight def"><c- b>partial</c-> <c- b>interface</c-> <a class="idl-code" data-link-type="interface" href="https://html.spec.whatwg.org/multipage/nav-history-apis.html#window" id="ref-for-window"><c- g>Window</c-></a> {
Expand All @@ -734,11 +734,11 @@ <h3 class="heading settled" id="window-interface"><span class="content"> <a clas
</pre>
<section>
<h3 class="heading settled" id="worker-interface"><span class="content"> Worker API </span></h3>
<p>When <code class="idl"><a data-link-type="idl" href="#dom-serviceworkerglobalscope-browser" id="ref-for-dom-serviceworkerglobalscope-browser">browser</a></code> is defined on <code class="idl"><a data-link-type="idl" href="https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-window" id="ref-for-dom-window①">window</a></code>, it SHOULD also be exposed on <code class="idl"><a data-link-type="idl" href="https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope" id="ref-for-serviceworkerglobalscope">ServiceWorkerGlobalScope</a></code> of origins associated with WebExtensions.
It MUST be used exclusively for WebExtension purposes, however the contents of each instance of <code class="idl"><a data-link-type="idl" href="#dom-serviceworkerglobalscope-browser" id="ref-for-dom-serviceworkerglobalscope-browser">browser</a></code> is UA defined.</p>
<p>When <code class="idl"><a data-link-type="idl" href="#dom-window-browser" id="ref-for-dom-window-browser">browser</a></code> is defined on <code class="idl"><a data-link-type="idl" href="https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-window" id="ref-for-dom-window①">window</a></code>, it SHOULD also be exposed on <code class="idl"><a data-link-type="idl" href="https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope" id="ref-for-serviceworkerglobalscope">ServiceWorkerGlobalScope</a></code> of origins associated with WebExtensions.
It MUST be used exclusively for WebExtension purposes, however the contents of each instance of <code class="idl"><a data-link-type="idl" href="#dom-window-browser" id="ref-for-dom-window-browser">browser</a></code> is UA defined.</p>
</section>
<pre class="idl highlight def"><c- b>partial</c-> <c- b>interface</c-> <a class="idl-code" data-link-type="interface" href="https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope" id="ref-for-serviceworkerglobalscope①"><c- g>ServiceWorkerGlobalScope</c-></a> {
<c- b>attribute</c-> <a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-object" id="ref-for-idl-object①"><c- b>object</c-></a> <dfn class="dfn-paneled idl-code" data-dfn-for="ServiceWorkerGlobalScope" data-dfn-type="attribute" data-export data-type="object" id="dom-serviceworkerglobalscope-browser"><code><c- g>browser</c-></code></dfn>;
<c- b>attribute</c-> <a class="idl-code" data-link-type="interface" href="https://webidl.spec.whatwg.org/#idl-object" id="ref-for-idl-object①"><c- b>object</c-></a> <dfn class="idl-code" data-dfn-for="ServiceWorkerGlobalScope" data-dfn-type="attribute" data-export data-type="object" id="dom-serviceworkerglobalscope-browser"><code><c- g>browser</c-></code><a class="self-link" href="#dom-serviceworkerglobalscope-browser"></a></dfn>;
};
</pre>
</main>
Expand Down Expand Up @@ -1134,8 +1134,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I
window.dfnpanelData['9f156e6b'] = {"dfnID": "9f156e6b", "url": "https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-window", "dfnText": "window", "refSections": [{"refs": [{"id": "ref-for-dom-window"}], "title": "\n window.browser API\n "}, {"refs": [{"id": "ref-for-dom-window\u2460"}], "title": "\n Worker API\n "}], "external": true};
window.dfnpanelData['86d2a717'] = {"dfnID": "86d2a717", "url": "https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope", "dfnText": "ServiceWorkerGlobalScope", "refSections": [{"refs": [{"id": "ref-for-serviceworkerglobalscope"}], "title": "\n Worker API\n "}, {"refs": [{"id": "ref-for-serviceworkerglobalscope\u2460"}], "title": "Unnumbered Section"}], "external": true};
window.dfnpanelData['efd1ec5d'] = {"dfnID": "efd1ec5d", "url": "https://webidl.spec.whatwg.org/#idl-object", "dfnText": "object", "refSections": [{"refs": [{"id": "ref-for-idl-object"}, {"id": "ref-for-idl-object\u2460"}], "title": "Unnumbered Section"}], "external": true};
window.dfnpanelData['dom-window-browser'] = {"dfnID": "dom-window-browser", "url": "#dom-window-browser", "dfnText": "browser", "refSections": [{"refs": [{"id": "ref-for-dom-window-browser"}], "title": "\n window.browser API\n "}], "external": false};
window.dfnpanelData['dom-serviceworkerglobalscope-browser'] = {"dfnID": "dom-serviceworkerglobalscope-browser", "url": "#dom-serviceworkerglobalscope-browser", "dfnText": "browser", "refSections": [{"refs": [{"id": "ref-for-dom-serviceworkerglobalscope-browser"}], "title": "\n window.browser API\n "}, {"refs": [{"id": "ref-for-dom-serviceworkerglobalscope-browser\u2460"}, {"id": "ref-for-dom-serviceworkerglobalscope-browser\u2461"}], "title": "\n Worker API\n "}], "external": false};
window.dfnpanelData['dom-window-browser'] = {"dfnID": "dom-window-browser", "url": "#dom-window-browser", "dfnText": "browser", "refSections": [{"refs": [{"id": "ref-for-dom-window-browser"}, {"id": "ref-for-dom-window-browser\u2460"}], "title": "\n window.browser API\n "}, {"refs": [{"id": "ref-for-dom-window-browser\u2461"}, {"id": "ref-for-dom-window-browser\u2462"}], "title": "\n Worker API\n "}], "external": false};
</script>
<script>/* Boilerplate: script-dom-helper */
function query(sel) { return document.querySelector(sel); }
Expand Down

0 comments on commit a422e5f

Please sign in to comment.