Closed Bug 1913262 Opened 1 month ago Closed 1 month ago

DragEvent's dataTransfer property is null for ondragend

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

Firefox 129
defect

Tracking

()

RESOLVED DUPLICATE of bug 1911486

People

(Reporter: staende_leuchtet0a, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0

Steps to reproduce:

Set an EventListener breakpoint on dragend event on this page: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dragend_event, drag the example div, release and examine dataTransfer object.

Actual results:

dataTransfer property of DragEvent seems to be null although the specification requires it to be not null, if I understood it correctly.

Expected results:

Non-null dataTransfer object.

First discovered this issue through an exception thrown on Blazor WASM framework which I reported here: https://github.com/dotnet/aspnetcore/issues/57309#issuecomment-2286678267. AspNetCore maintainers believe its a FF bug which let me to report it here.

This issue seems to have been introduced only in 129. 128.0.3 did not exhibit this behaviour.

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript: WebAssembly' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → JavaScript: WebAssembly
Product: Firefox → Core
Component: JavaScript: WebAssembly → DOM: Copy & Paste and Drag & Drop
Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 1911486
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.