From ad47fb7f84f73c8a2b347eb5a373a4ea701dd73f Mon Sep 17 00:00:00 2001 From: Kiara Rose Date: Wed, 19 Feb 2025 14:38:15 -0800 Subject: [PATCH] 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 --- specification/webdriver-classic.bs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/specification/webdriver-classic.bs b/specification/webdriver-classic.bs index d75f98bd..be4ca701 100644 --- a/specification/webdriver-classic.bs +++ b/specification/webdriver-classic.bs @@ -120,10 +120,11 @@ Repository: w3c/webextensions error with error code unsupported operation. -
  • Let value be the result of - getting the property"value" from - parameters. If value is - null, return +

  • If type hint is "base64", let value + be the result of getting the property "value" from + parameters. If type hint is "path" or "archivePath", + let value be the result of getting the property "path" from + parameters. If value is null, return error with error code invalid argument.