Skip to content

Commit 527ab83

Browse files
committed
Align WD classic action names with BiDi spec
1 parent 2734519 commit 527ab83

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

specification/webdriver-classic.bs

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Group: wecg
66
Status: w3c/CG-DRAFT
77
URL: https://w3c.github.io/webextensions/specification/webdriver-classic.html
88
Editor: Kiara Rose, Apple, [email protected]
9-
Abstract: This specification defines how web extensions should be loaded and unloaded in WebDriver Classic.
9+
Abstract: This specification defines how web extensions should be installed and uninstalled in WebDriver Classic.
1010
Repository: w3c/webextensions
1111
</pre>
1212

@@ -15,7 +15,7 @@ Repository: w3c/webextensions
1515
<em>This section is non-normative.</em>
1616

1717
This specification is non-normative.The intention of this spec is to
18-
document how extensions should be loaded/unloaded in WebDriver Classic,
18+
document how extensions should be installed/uninstalled in WebDriver Classic,
1919
for browser vendors who choose to implement it.
2020
</section>
2121
<section>
@@ -25,13 +25,13 @@ Repository: w3c/webextensions
2525
<tr>
2626
<td>POST</td>
2727
<td>/session/{<var>session id</var>}/webextension</td>
28-
<td>Load WebExtension</td>
28+
<td>Install WebExtension</td>
2929
</tr>
3030

3131
<tr>
3232
<td>DELETE</td>
3333
<td>/session/{<var>session id</var>}/webextension/{<var>extension id</var>}</td>
34-
<td>Unload WebExtension</td>
34+
<td>Uninstall WebExtension</td>
3535
</tr>
3636
</table>
3737
</section>
@@ -51,21 +51,21 @@ Repository: w3c/webextensions
5151
<td>404
5252
<td><code>no such web extension</code>
5353
<td>No web extension matching the given extension id was found
54-
amongst the <var>session</var>&apos;s loaded extensions.
54+
amongst the <var>session</var>&apos;s installed extensions.
5555
</tr>
5656

5757
<tr>
58-
<td>unable to load extension
58+
<td>unable to install extension
5959
<td>500
60-
<td><code>unable to load extension</code>
61-
<td>A command to load an extension could not be satisfied.
60+
<td><code>unable to install extension</code>
61+
<td>A command to install an extension could not be satisfied.
6262
</tr>
6363

6464
<tr>
65-
<td>unable to unload extension
65+
<td>unable to uninstall extension
6666
<td>500
67-
<td><code>unable to unload extension</code>
68-
<td>A command to unload an extension could not be satisfied.
67+
<td><code>unable to uninstall extension</code>
68+
<td>A command to uninstall an extension could not be satisfied.
6969
</tr>
7070
</table>
7171
</section>
@@ -79,7 +79,7 @@ Repository: w3c/webextensions
7979
This section describes the interaction with WebExtensions.
8080

8181
<section>
82-
<h3>Load WebExtension</h3>
82+
<h3>Install WebExtension</h3>
8383
<table class="simple jsoncommand">
8484
<tr>
8585
<th>HTTP Method</th>
@@ -103,7 +103,7 @@ Repository: w3c/webextensions
103103
<a href="https://w3c.github.io/webdriver/#dfn-error">error code</a>
104104
no such window.
105105

106-
<li><p>If loading web extensions isn't supported, return
106+
<li><p>If installing web extensions isn't supported, return
107107
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a>
108108
with <a href="https://w3c.github.io/webdriver/#dfn-error">error code</a>
109109
unsupported operation.
@@ -115,7 +115,7 @@ Repository: w3c/webextensions
115115
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a>
116116
with <a href="https://w3c.github.io/webdriver/#dfn-error">
117117
error code</a> invalid argument.
118-
<li><p>If the implementation does not support loading web
118+
<li><p>If the implementation does not support installing web
119119
extensions using <var>type hint</var>, return
120120
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a>
121121
with <a href="https://w3c.github.io/webdriver/#dfn-error">
@@ -129,39 +129,39 @@ Repository: w3c/webextensions
129129
with <a href="https://w3c.github.io/webdriver/#dfn-error">
130130
error code</a> invalid argument.
131131
<li><p>If <var>type hint</var> has the value "path" and the
132-
implementation supports loading a web extension given a
133-
path to it's resources, the implementation should load the
132+
implementation supports installing a web extension given a
133+
path to it's resources, the implementation should install the
134134
extension located at the path stored in "<code>value</code>".
135135
<li><p>If <var>type hint</var> has the value "archivePath"
136-
and the implementation supports loading a web extension
136+
and the implementation supports installing a web extension
137137
given a path to a ZIP of it's resources, the implementation
138-
should extract the ZIP and load the extension located at
138+
should extract the ZIP and install the extension located at
139139
the path stored in "<code>value</code>". If this extraction
140140
fails, return <a href="https://w3c.github.io/webdriver/#dfn-error">
141141
error</a> with <a href="https://w3c.github.io/webdriver/#dfn-error">
142-
error code</a> unable to load extension.
142+
error code</a> unable to install extension.
143143
<li><p>If <var>type hint</var> has the value "base64" and the
144-
implementation supports loading a web extension given a
144+
implementation supports installing a web extension given a
145145
Base64 encoded string of the ZIP representation of the
146146
extension's resources, the implementation should extract
147147
the archive from the encoded string stored in
148148
"<code>value</code>". If this extraction fails, return
149149
error with <a href="https://w3c.github.io/webdriver/#dfn-error">
150-
error code</a> unable to load extension.
150+
error code</a> unable to install extension.
151151
</ol>
152-
<li><p>If the extension fails to load, return
152+
<li><p>If the extension fails to install, return
153153
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a> with
154154
<a href="https://w3c.github.io/webdriver/#dfn-error">error code</a>
155-
unable to load extension.
156-
<li><p>Let <var>result</var> be the identifier of the loaded extension.
155+
unable to install extension.
156+
<li><p>Let <var>result</var> be the identifier of the installed extension.
157157

158158
<li><p>Return success with <var>result</var>.
159159
</ol>
160160

161-
</section> <!-- /Load WebExtension -->
161+
</section> <!-- /Install WebExtension -->
162162

163163
<section>
164-
<h3>Unload WebExtension</h3>
164+
<h3>Uninstall WebExtension</h3>
165165
<table class="simple jsoncommand">
166166
<tr>
167167
<th>HTTP Method</th>
@@ -185,27 +185,27 @@ Repository: w3c/webextensions
185185
<a href="https://w3c.github.io/webdriver/#dfn-error">error code</a>
186186
no such window.
187187

188-
<li><p>If unloading web extensions isn't supported, return
188+
<li><p>If uninstalling web extensions isn't supported, return
189189
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a>
190190
with <a href="https://w3c.github.io/webdriver/#dfn-error">
191191
error code</a> unsupported operation.
192192

193193
<li><p>Let <var>extension id</var> be <var>URL variables</var>
194194
["<code>extension id</code>"].
195195

196-
<li><p>If the browser has no web extension loaded with an id equal to
196+
<li><p>If the browser has no web extension installed with an id equal to
197197
<var>extension id</var>, return
198198
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a> code
199199
no such web extension.
200200

201-
<li><p>Perform any implementation defined steps to unload the extension.
201+
<li><p>Perform any implementation defined steps to uninstall the extension.
202202
If these steps failed, return
203203
<a href="https://w3c.github.io/webdriver/#dfn-error">error</a>
204204
with <a href="https://w3c.github.io/webdriver/#dfn-error">error code</a>
205-
unable to unload extension.
205+
unable to uninstall extension.
206206

207207
<li><p>Return success with data <code>null</code>.
208208
</ol>
209-
</section> <!-- /Unload WebExtension -->
209+
</section> <!-- /Uninstall WebExtension -->
210210
</section> <!-- /WebExtensions -->
211211
</section> <!-- /Commands -->

0 commit comments

Comments
 (0)