Open Bug 497496 Opened 16 years ago Updated 2 years ago

nsDragService::GetTargetDragData() unnecessarily requests selections in unsupported data types

Categories

(Core :: Widget: Gtk, defect, P5)

x86
Linux
defect

Tracking

()

People

(Reporter: karlt, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: perf)

The list of supported data types is available through the GdkDragContext, but this list is not checked before requesting that the source application convert the selection to the (often unsupported) type. One common case this hits is reading numDropItems from an nsIDragSession, as is done when constructing an nsDOMDataTransfer. (The data is requested in text/uri-list form, whether or not this is available.) Attachment 271701 [details] [diff] for bug 179658 addresses this (but apparently it has issues that need to be resolved).
Keywords: perf
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.