Skip to content

Commit 5a87256

Browse files
committed
Cleanup
1 parent 6e06412 commit 5a87256

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11338,7 +11338,7 @@ To <dfn>expand a extension data spec</dfn> given |extension data spec|:
1133811338

1133911339
1. Let |installation type| be a value of <code>type</code> field of |extension data spec|.
1134011340

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=].
1134211342

1134311343
1. Switch on the value of the <code>installation type</code>:
1134411344

@@ -11356,7 +11356,7 @@ To <dfn>expand a extension data spec</dfn> given |extension data spec|:
1135611356
<dt>"<code>base64</code>"
1135711357
<dd>
1135811358
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>"].
1136011360
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=].
1136111361

1136211362
</dl>
@@ -11412,7 +11412,7 @@ The <dfn export for=commands>webExtensions.install</dfn> command installs an ext
1141211412
</dl>
1141311413

1141411414
<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:
1141611416

1141711417
1. If installing extensions isn't supported return [=error=] with error code [=unsupported operation=].
1141811418

@@ -11422,7 +11422,7 @@ The [=remote end steps=] with |session| and |command parameters| are:
1142211422

1142311423
1. If |extension directory entry| does not include file <code>manifest.json</code> return [=error=] with [=error code=] [=invalid web-extension=].
1142411424

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

1142711427
1. Let |allow private browsing| be a value of <code>allowPrivateBrowsing</code> field of |command parameters| if present, or false otherwise.
1142811428

0 commit comments

Comments
 (0)