You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+93-1Lines changed: 93 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1812,6 +1812,96 @@ The [=remote end steps=] with |session| and <var ignore>command parameters</var>
1812
1812
1813
1813
</div>
1814
1814
1815
+
#### The browser.createPartition Command #### {#command-browser-createPartition}
1816
+
1817
+
The <dfn export for=commands>browser.createPartition</dfn> command creates a storage partition for a group of browsing contexts.
1818
+
1819
+
<dl>
1820
+
<dt>Command Type</dt>
1821
+
<dd>
1822
+
<pre class="cddl remote-cddl">
1823
+
browser.Close = (
1824
+
method: "browser.createPartition",
1825
+
params: EmptyParams,
1826
+
)
1827
+
</pre>
1828
+
</dd>
1829
+
<dt>Return Type</dt>
1830
+
<dd>
1831
+
<pre class="cddl local-cddl">
1832
+
browser.createPartitionResult = {
1833
+
partition: browser.Partition
1834
+
}
1835
+
</pre>
1836
+
</dd>
1837
+
</dl>
1838
+
1839
+
<div algorithm="remote end steps for browser.createPartition">
1840
+
1841
+
</div>
1842
+
1843
+
#### The browser.closePartition Command #### {#command-browser-closePartition}
1844
+
1845
+
The <dfn export for=commands>browser.closePartition</dfn> command closes the partition and all browsing contexts in it without running before unload handlers.
1846
+
1847
+
<dl>
1848
+
<dt>Command Type</dt>
1849
+
<dd>
1850
+
<pre class="cddl remote-cddl">
1851
+
browser.Close = (
1852
+
method: "browser.closePartition",
1853
+
params: {
1854
+
partition: browser.Partition
1855
+
},
1856
+
)
1857
+
</pre>
1858
+
</dd>
1859
+
<dt>Return Type</dt>
1860
+
<dd>
1861
+
<pre class="cddl local-cddl">
1862
+
browser.closePartitionResult = {
1863
+
partition: browser.Partition
1864
+
}
1865
+
</pre>
1866
+
</dd>
1867
+
</dl>
1868
+
1869
+
<div algorithm="remote end steps for browser.closePartition">
1870
+
1871
+
</div>
1872
+
1873
+
#### The browser.getPartitions Command #### {#command-browser-getPartitions}
1874
+
1875
+
The <dfn export for=commands>browser.getPartitions</dfn> command returns a list of existing partitions in the browser instance.
0 commit comments