no such extension
+ No extension matching the given extension id was found.
+
+
no such frame
404
@@ -1292,6 +1311,20 @@ unable to load extension
+ A command to load an extension could not be satisfied.
+
+
+
+ unable to unload extension
+ 500
+ unable to unload extension
+ A command to unload an extension could not be satisfied.
+
+
unexpected alert open
500
@@ -11368,6 +11401,121 @@ The WebExtensions API provides an interface that allows extensions to modify +and enhance the capability of the browser. This section describes the interaction +with WebExtensions. + +
HTTP Method | URI Template |
---|---|
POST | /session/{session id}/webextension |
The remote end steps, given session, URL +variables and parameters are: + +
If session's current browsing context + is no longer open, return error with error + code no such window. + +
If loading web extensions isn't supported, return error with + error code unsupported operation. +
Let type hint be the result of getting the property
+ "type
" from parameters.
+
If type hint does not have the value of + "path", "archivePath", or "base64", return error with + error code invalid argument. +
If the implementation does not support loading web + extensions using type hint, return error + with error code unsupported operation. +
Let value be the result of
+ getting the property"value
" from
+ parameters. If value is
+ null
, return error with
+ error code invalid argument.
+
If type hint has the value "path" and the
+ implementation supports loading a web extension given a path to
+ it's resources, the implementation should load the extension
+ located at the path stored in "value
".
+
If type hint has the value "archivePath"
+ and the implementation supports loading a web extension given a
+ path to a ZIP of it's resources, the implementation should extract
+ the ZIP and load the extension located at the path stored in
+ "value
". If this extraction fails, return error
+ with error code unable to load extension.
+
If type hint has the value "base64" and the
+ implementation supports loading a web extension given a Base64
+ encoded string of the ZIP representation of the extension's
+ resources, the implementation should extract the archive from the
+ encoded string stored in "value
". If this extraction
+ fails, return error with error code
+ unable to load extension.
+
If the extension fails to load, return error with + error code unable to load extension. +
Let result be the identifier of the loaded extension. + +
Return success with result. +
HTTP Method | URI Template |
---|---|
DELETE | /session/{session id}/webextension/{extension id} |
The remote end steps, given session, URL +variables and parameters are: + +
If session's current browsing context + is no longer open, return error with error + code no such window. + +
If unloading web extensions isn't supported, return error with + error code unsupported operation. + +
Let extension id be URL variables
+ ["extension id
"].
+
+
If the browser has no web extension installed with an id equal to + extension id, return error code + no such extension. + +
Perform any implementation defined steps to unload the extension. + If these steps failed, return error with error code + unable to unload extension. + +