Open Bug 906393 Opened 7 years ago Updated 2 years ago

getData() in drag-and-drop event handler does not return empty string when drag data store is in protected mode.

Categories

(Core :: DOM: Events, defect, P5)

26 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: evolution.jimmy, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130803192641

Steps to reproduce:

Try to get value of getData() in `dragenter` event handler. 


Actual results:

getData() returns the actual data.


Expected results:

getData() should return empty string, as specification notes: http://www.w3.org/TR/html5/editing.html#drag-data-store-item-list
Severity: normal → critical
Version: 23 Branch → 26 Branch
This problem still exists in Firefox 26 Nightly.
Attachment #791774 - Attachment mime type: text/plain → text/html
Severity: critical → normal
Component: Untriaged → DOM: Events
Product: Firefox → Core
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.