Skip to content

Commit

Permalink
Return on out-of-bounds dataTransfer.items.remove()
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Apr 22, 2022
1 parent 9377d86 commit 37f7e87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source
Expand Up @@ -79651,6 +79651,9 @@ DND-v5: <span>DataTransferItem</span>? <span data-x="dom-DataTransferItemList-a
data-x="concept-dnd-rw">read/write mode</i>, throw an
<span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>

<li><p>If the <span>drag data store</span> does not contain an <var>index</var>th item, then
return.</p></li>

<li><p>Remove the <var>index</var>th item from the <span>drag data store</span>.</p></li>
</ol>

Expand Down

0 comments on commit 37f7e87

Please sign in to comment.