You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11338,7 +11338,7 @@ To <dfn>expand a extension data spec</dfn> given |extension data spec|:
11338
11338
11339
11339
1. Let |installation type| be a value of <code>type</code> field of |extension data spec|.
11340
11340
11341
-
1. If installing |installation type| isn't supported return [=error=] with error code [=unsupported operation=].
11341
+
1. If installing |installation type| isn't supported return [=error=] with [=error code=][=unsupported operation=].
11342
11342
11343
11343
1. Switch on the value of the <code>installation type</code>:
11344
11344
@@ -11356,7 +11356,7 @@ To <dfn>expand a extension data spec</dfn> given |extension data spec|:
11356
11356
<dt>"<code>base64</code>"
11357
11357
<dd>
11358
11358
1. Let |archive path| be a value of <code>path</code> field of |extension data spec|.
11359
-
1. Let |bytes| be [=for giving-base64 decode=] |extension data spec|["<code>path</code>"].
11359
+
1. Let |bytes| be [=forgiving-base64 decode=] |extension data spec|["<code>path</code>"].
11360
11360
1. Perform any implementation-defined steps to extract ZIP from |bytes| and let |entry| by a [=directory entry=] representing the extraction result, if this fails return [=error=] with [=error code=][=invalid web-extension=].
11361
11361
11362
11362
</dl>
@@ -11412,7 +11412,7 @@ The <dfn export for=commands>webExtensions.install</dfn> command installs an ext
11412
11412
</dl>
11413
11413
11414
11414
<div algorithm="remote end steps for webExtensions.install">
11415
-
The [=remote end steps=] with |session| and |command parameters| are:
11415
+
The [=remote end steps=] with |command parameters| are:
11416
11416
11417
11417
1. If installing extensions isn't supported return [=error=] with error code [=unsupported operation=].
11418
11418
@@ -11422,7 +11422,7 @@ The [=remote end steps=] with |session| and |command parameters| are:
11422
11422
11423
11423
1. If |extension directory entry| does not include file <code>manifest.json</code> return [=error=] with [=error code=][=invalid web-extension=].
11424
11424
11425
-
1. Perform implementation defined steps to install |extension directory entry|. If this fails, return [=error=] with [=error code=][=invalid extension=]. Otherwise let |extension id| be the unique identifier of the newly installed extension.
11425
+
1. Perform implementation defined steps to install |extension directory entry|. If this fails, return [=error=] with [=error code=][=invalid web-extension=]. Otherwise let |extension id| be the unique identifier of the newly installed extension.
11426
11426
11427
11427
1. Let |allow private browsing| be a value of <code>allowPrivateBrowsing</code> field of |command parameters| if present, or false otherwise.
0 commit comments