From 37f7e8727678e411e2edd4449f867ff5b4a74279 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 22 Apr 2022 03:20:33 -0400 Subject: [PATCH] Return on out-of-bounds dataTransfer.items.remove() Tests: https://github.com/web-platform-tests/wpt/pull/33737. Closes #2925. --- source | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source b/source index 427c6bdc19a..6fade6d4947 100644 --- a/source +++ b/source @@ -79651,6 +79651,9 @@ DND-v5: DataTransferItem? read/write mode, throw an "InvalidStateError" DOMException.

+
  • If the drag data store does not contain an indexth item, then + return.

  • +
  • Remove the indexth item from the drag data store.