Skip to content

Commit 348a9dc

Browse files
committed
specify that removing the sandbox root should error
1 parent ecde2e9 commit 348a9dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ when invoked, must run these steps:
239239
1. [=/Reject=] |result| with a {{TypeMismatchError}} and abort.
240240
1. If |entry| is not an empty directory and |options|.{{FileSystemRemoveOptions/recursive}} is `false`:
241241
1. [=/Reject=] |result| with an {{InvalidModificationError}} and abort.
242+
1. If |entry| is the root of a sandboxed file system:
243+
1. [=/Reject=] |result| with a {{NoModificationAllowedError}} and abort.
242244
1. If |entry| is a [=file entry=]:
243245
1. If |entry|'s path does not exist:
244246
1. [=/Reject=] |result| with a {{NotFoundError}} and abort.

0 commit comments

Comments
 (0)