I'm making some changes to calendar-dnd-listener for this. The fix is cleaner if I use the non-vendor specific data transfer apis. I noticed however that `ThreadOnPaneDragStart` adds 3 additional items to the data transfer: https://searchfox.org/comm-central/source/mail/base/content/msgMail3PaneWindow.js#1793 This gives the DataTransfer.items property a length of 4 items instead of one. Additionally the deprecated, vendor specific `mozItemCount` property remains at 1. I can't help but feel like this is either a bug or wrong use of the data transfer. Do we need to have 4 items sent for a message data transfer?
Bug 1683460 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I'm making some changes to calendar-dnd-listener for this. The fix is cleaner if I use the non-vendor specific data transfer apis. I noticed however that `ThreadOnPaneDragStart` adds 3 additional items to the data transfer: https://searchfox.org/comm-central/source/mail/base/content/msgMail3PaneWindow.js#1793 This gives the DataTransfer.items property a length of 4 items instead of one and I would have to add code for this case if I keep using the standard apis. Additionally the deprecated, vendor specific `mozItemCount` property remains at 1 so I can't help but feel like this is either a bug or wrong use of the data transfer. Do we need to have 4 items sent for a message data transfer? I prefer to use the standard apis because this route detects the ics file quite nicely.