Skip to content

Commit

Permalink
allow overwriting moves by default
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sully committed Dec 7, 2022
1 parent fd187fa commit e2526d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ method steps are:
1. Set |destinationEntry|'s [=entry/name=] to |newName|.
1. If |entry| is [=the same as=] |destinationEntry|,
[=/resolve=] |result| with `undefined`.
1. If |destinationEntry| exists in the underlying file system:
1. [=/Reject=] |result| with an "{{InvalidModificationError}}" {{DOMException}}
and abort.

1. Let |accessSource| be the result of running |entry|'s
[=entry/request access=] given "`readwrite`".
Expand Down Expand Up @@ -331,7 +328,7 @@ method steps are:
1. If the underlying move operation throws an exception, [=/reject=]
|result| with that exception and abort.

Issue(68): Better specify what possible exceptions this could throw.
Issue(11): Better specify what possible exceptions this could throw.

1. Set |entry|'s [=entry/name=] to |newName|.

Expand Down

0 comments on commit e2526d0

Please sign in to comment.