diff --git a/index.html b/index.html index 88179a51..cc81b0ea 100644 --- a/index.html +++ b/index.html @@ -1040,6 +1040,18 @@
no such extension
+ unable to load extension
+ unable to unload extension
+ 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.
+
+ 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
+ " 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" 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 " 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
+ " 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 " 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.
+ 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
+ [" 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.
+
+ Load WebExtension
+
+
+
+
+
+
+ HTTP Method
+ URI Template
+
+
+POST
+ /session/{session id}/webextension
+
+
+
+type
" from parameters.
+
+
+ value
" from
+ parameters. If value is
+ null
, return error with
+ error code invalid argument.
+ value
".
+ value
". If this extraction fails, return error
+ with error code unable to load extension.
+ value
". If this extraction
+ fails, return error with error code
+ unable to load extension.
+ Unload WebExtension
+
+
+
+
+
+
+ HTTP Method
+ URI Template
+
+
+DELETE
+ /session/{session id}/webextension/{extension id}
+
+
+extension id
"].
+
+