Skip to content

Commit ad47fb7

Browse files
committed
Update specification for loading web extensions in WebDriver Classic
As specified in the BiDi spec, the resource for "path" and "archivePath" should be held in parameters["path"] and "base64" should be in parameters["value"]. https://www.w3.org/TR/webdriver-bidi/#command-webExtension-install
1 parent 75ba00c commit ad47fb7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

specification/webdriver-classic.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,11 @@ Repository: w3c/webextensions
120120
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a>
121121
with <a href="https://w3c.github.io/webdriver/#dfn-error">
122122
error code</a> unsupported operation.
123-
<li type='a'><p>Let <var>value</var> be the result of
124-
getting the property"<code>value</code>" from
125-
<var>parameters</var>. If <var>value</var> is
126-
<code>null</code>, return
123+
<li type='a'><p>If <var>type hint</var> is "base64", let <var>value</var>
124+
be the result of getting the property "<code>value</code>" from
125+
<var>parameters</var>. If <var>type hint</var> is "path" or "archivePath",
126+
let <var>value</var> be the result of getting the property "<code>path</code>" from
127+
<var>parameters</var>. If <var>value</var> is <code>null</code>, return
127128
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a>
128129
with <a href="https://w3c.github.io/webdriver/#dfn-error">
129130
error code</a> invalid argument.

0 commit comments

Comments
 (0)