Skip to content

Commit

Permalink
Remove owners for shared and service workers (#651)
Browse files Browse the repository at this point in the history
SHA: ee2f188
Reason: push, by jrandolf

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jrandolf-2 and github-actions[bot] committed Feb 5, 2024
1 parent d7d4121 commit aff5752
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions index.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/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://w3c.github.io/webdriver-bidi/" rel="canonical">
<meta content="3b6953908799d0ce50ddd5d01979b616be6388f7" name="document-revision">
<meta content="ee2f18823c47347900ff97a91ba4f3ff74b67f81" name="document-revision">
<style>
var {
color: #cd5c5c
Expand Down Expand Up @@ -567,7 +567,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">WebDriver BiDi</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-02-01">1 February 2024</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-02-05">5 February 2024</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand Down Expand Up @@ -7042,14 +7042,12 @@ <h5 class="heading settled" data-level="7.5.3.11" id="type-script-RealmInfo"><sp

script.SharedWorkerRealmInfo = {
script.BaseRealmInfo,
type: "shared-worker",
owners: [+script.Realm]
type: "shared-worker"
}

script.ServiceWorkerRealmInfo = {
script.BaseRealmInfo,
type: "service-worker"
owners: [*script.Realm]
}

script.WorkerRealmInfo = {
Expand Down Expand Up @@ -7171,24 +7169,18 @@ <h5 class="heading settled" data-level="7.5.3.11" id="type-script-RealmInfo"><sp
<dt><var>global object</var> is a <code class="idl"><a data-link-type="idl" href="https://html.spec.whatwg.org/multipage/workers.html#sharedworkerglobalscope" id="ref-for-sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object
<dd>
<ol>
<li data-md>
<p>Let <var>owners</var> be the result of <a data-link-type="dfn" href="#get-the-workers-owners" id="ref-for-get-the-workers-owners①">get the worker’s owners</a> given <var>global object</var>.</p>
<li data-md>
<p class="assertion">Assert: <var>owners</var> has at least one item.</p>
<li data-md>
<p>Let <var>realm info</var> be a <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ordered-map" id="ref-for-ordered-map⑦⓪">map</a> matching the <code>script.SharedWorkerRealmInfo</code> production,
with the <code>realm</code> field set to <var>realm id</var>, the <code>origin</code> field
set to <var>origin</var>, and the <code>owners</code> field set to <var>owners</var>.</p>
with the <code>realm</code> field set to <var>realm id</var>, and the <code>origin</code> field
set to <var>origin</var>.</p>
</ol>
<dt><var>global object</var> is a <code class="idl"><a data-link-type="idl" href="https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope" id="ref-for-serviceworkerglobalscope">ServiceWorkerGlobalScope</a></code> object
<dd>
<ol>
<li data-md>
<p>Let <var>owners</var> be the result of <a data-link-type="dfn" href="#get-the-workers-owners" id="ref-for-get-the-workers-owners②">get the worker’s owners</a> given <var>global object</var>.</p>
<li data-md>
<p>Let <var>realm info</var> be a <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ordered-map" id="ref-for-ordered-map⑦①">map</a> matching the <code>script.ServiceWorkerRealmInfo</code> production,
with the <code>realm</code> field set to <var>realm id</var>, the <code>origin</code> field
set to <var>origin</var>, and the <code>owners</code> field set to <var>owners</var>.</p>
with the <code>realm</code> field set to <var>realm id</var>, and the <code>origin</code> field
set to <var>origin</var>.</p>
</ol>
<dt><var>global object</var> is a <code class="idl"><a data-link-type="idl" href="https://html.spec.whatwg.org/multipage/workers.html#workerglobalscope" id="ref-for-workerglobalscope②">WorkerGlobalScope</a></code> object
<dd>
Expand Down Expand Up @@ -11503,7 +11495,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['serialize-primitive-protocol-value'] = {"dfnID": "serialize-primitive-protocol-value", "url": "#serialize-primitive-protocol-value", "dfnText": "serialize primitive protocol value", "refSections": [{"refs": [{"id": "ref-for-serialize-primitive-protocol-value"}], "title": "7.5.3.14. The script.RemoteValue Type"}], "external": false};
window.dfnpanelData['deserialize-primitive-protocol-value'] = {"dfnID": "deserialize-primitive-protocol-value", "url": "#deserialize-primitive-protocol-value", "dfnText": "deserialize primitive protocol value", "refSections": [{"refs": [{"id": "ref-for-deserialize-primitive-protocol-value"}], "title": "7.5.3.7. The script.LocalValue Type"}], "external": false};
window.dfnpanelData['get-the-browsing-context'] = {"dfnID": "get-the-browsing-context", "url": "#get-the-browsing-context", "dfnText": "get the browsing context", "refSections": [{"refs": [{"id": "ref-for-get-the-browsing-context"}], "title": "7.5.3.13. The script.RemoteReference Type"}], "external": false};
window.dfnpanelData['get-the-workers-owners'] = {"dfnID": "get-the-workers-owners", "url": "#get-the-workers-owners", "dfnText": "get the worker\u2019s owners", "refSections": [{"refs": [{"id": "ref-for-get-the-workers-owners"}, {"id": "ref-for-get-the-workers-owners\u2460"}, {"id": "ref-for-get-the-workers-owners\u2461"}], "title": "7.5.3.11. The script.RealmInfo Type"}], "external": false};
window.dfnpanelData['get-the-workers-owners'] = {"dfnID": "get-the-workers-owners", "url": "#get-the-workers-owners", "dfnText": "get the worker\u2019s owners", "refSections": [{"refs": [{"id": "ref-for-get-the-workers-owners"}], "title": "7.5.3.11. The script.RealmInfo Type"}], "external": false};
window.dfnpanelData['get-the-realm-info'] = {"dfnID": "get-the-realm-info", "url": "#get-the-realm-info", "dfnText": "get the realm info", "refSections": [{"refs": [{"id": "ref-for-get-the-realm-info"}], "title": "7.5.3.11. The script.RealmInfo Type"}, {"refs": [{"id": "ref-for-get-the-realm-info\u2460"}], "title": "7.5.4.5. The script.getRealms Command"}, {"refs": [{"id": "ref-for-get-the-realm-info\u2461"}, {"id": "ref-for-get-the-realm-info\u2462"}], "title": "7.5.5.2. The script.realmCreated Event"}], "external": false};
window.dfnpanelData['scriptremotereference'] = {"dfnID": "scriptremotereference", "url": "#scriptremotereference", "dfnText": "script.RemoteReference", "refSections": [{"refs": [{"id": "ref-for-scriptremotereference"}, {"id": "ref-for-scriptremotereference\u2460"}], "title": "7.5.3.7. The script.LocalValue Type"}], "external": false};
window.dfnpanelData['deserialize-remote-reference'] = {"dfnID": "deserialize-remote-reference", "url": "#deserialize-remote-reference", "dfnText": "deserialize remote reference", "refSections": [{"refs": [{"id": "ref-for-deserialize-remote-reference"}], "title": "7.3.3.2. The browsingContext.captureScreenshot Command"}, {"refs": [{"id": "ref-for-deserialize-remote-reference\u2460"}], "title": "7.5.3.7. The script.LocalValue Type"}, {"refs": [{"id": "ref-for-deserialize-remote-reference\u2461"}], "title": "7.8.2.1. input.ElementOrigin"}, {"refs": [{"id": "ref-for-deserialize-remote-reference\u2462"}], "title": "7.8.3.3. The input.setFiles Command"}], "external": false};
Expand Down

0 comments on commit aff5752

Please sign in to comment.