Skip to content

Commit 1917e89

Browse files
jimevanssfdcshs96c
authored andcommitted
Explicitly specify returning shadow roots from script
1 parent 56f84e6 commit 1917e89

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

index.html

+11
Original file line numberDiff line numberDiff line change
@@ -6415,6 +6415,10 @@ <h3>Executing Script</h3>
64156415
<dd><p>Return the <a data-lt="deserialize a web element">deserialized</a>
64166416
<a>web element</a> of <var>value</var>.
64176417

6418+
<dt><a>Object</a> that <a>represents a shadow root</a>
6419+
<dd><p>Return the <a data-lt="deserialize a shadow root">deserialized</a>
6420+
<a>shadow root</a> of <var>value</var>.
6421+
64186422
<dt>instance of <a>Array</a>
64196423
<dt>instance of <a>Object</a>
64206424
<dd><p>Return the result of running the <a>clone an object</a> algorithm
@@ -6463,6 +6467,13 @@ <h3>Executing Script</h3>
64636467
<p>Otherwise return <a>success</a> with data set to the <var>web
64646468
element reference object</var> for <var>value</var>.
64656469

6470+
<dt>instance of <a>shadow root</a>
6471+
<dd><p>If the <var>shadow root</var> <a>is detached</a>,
6472+
return <a>error</a> with <a>error code</a> <a>detached shadow root</a>.
6473+
6474+
<p>Otherwise return <a>success</a> with data set to the <var>shadow
6475+
root reference object</var> for <var>value</var>.
6476+
64666477
<dt>a <a><code>WindowProxy</code></a> object
64676478
<dd><p>If the associated <a>browsing context</a>
64686479
of the <a><code>WindowProxy</code></a> object

0 commit comments

Comments
 (0)