Closed Bug 1732526 Opened 3 years ago Closed 3 years ago

Convert image data from DnD to nsIInputStream

Categories

(Core :: Widget: Gtk, task)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: evilpie, Assigned: evilpie)

References

Details

Attachments

(1 file)

For some reason we use nsIInputStream as a way of indicating that an nsITransferable flavor contains an image. We already do this conversion for the clipboard in https://searchfox.org/mozilla-central/rev/b517c9f37b5287039f3dde53876281d70523d16f/widget/gtk/nsClipboard.cpp#361, but not yet in the drag service.

Blocks: 1732528
Assignee: nobody → evilpies
Status: NEW → ASSIGNED

I also think we should look into sharing more of the clipboard and DnD code.

Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1d1ae065205b Convert image data from DnD to nsIInputStream. r=stransky
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: