From d91dbd8b0830213a79c3a9cc6c7ff8ccdc7bf3db Mon Sep 17 00:00:00 2001 From: Sam Sneddon Date: Thu, 20 Feb 2025 15:27:33 -0800 Subject: [PATCH 1/2] Add webdriver-classic.bs to the specs published on GitHub Pages --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index aa207e33..a5c1f818 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,6 +30,8 @@ jobs: include: - name: specification source: ./specification/index.bs + - name: webdriver-classic + source: ./specification/webdriver-classic.bs - name: window-browser source: ./specification/window.browser.bs From cf3cbfba0d006159f9054d0d6fce576b0ef5d7f3 Mon Sep 17 00:00:00 2001 From: Sam Sneddon Date: Thu, 20 Feb 2025 15:34:22 -0800 Subject: [PATCH 2/2] Fix HTML validation errors in webdriver-classic.bs See https://github.com/w3c/webextensions/actions/runs/13446680991/job/37573446021 --- specification/webdriver-classic.bs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/webdriver-classic.bs b/specification/webdriver-classic.bs index d75f98bd..90972a6b 100644 --- a/specification/webdriver-classic.bs +++ b/specification/webdriver-classic.bs @@ -109,29 +109,29 @@ Repository: w3c/webextensions unsupported operation.
  • Let type hint be the result of getting the property "type" from parameters. -

      -
    1. If type hint does not have the value of +

        +
      1. If type hint does not have the value of "path", "archivePath", or "base64", return error with error code invalid argument. -

      2. If the implementation does not support loading web +

      3. If the implementation does not support loading web extensions using type hint, return error with error code unsupported operation. -

      4. Let value be the result of +

      5. Let value be the result of getting the property"value" from parameters. If value is null, return error with error code invalid argument. -

      6. If type hint has the value "path" and the +

      7. 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". -

      8. If type hint has the value "archivePath" +

      9. 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 @@ -139,7 +139,7 @@ Repository: w3c/webextensions fails, return error with error code unable to load extension. -

      10. If type hint has the value "base64" and the +

      11. 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