Open Bug 689991 Opened 13 years ago Updated 1 year ago

Data flavors from drags of text from the address bar are all text flavors, whereas previous versions included link flavors.

Categories

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

6 Branch
x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: rhemalinder, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
Build ID: 20110902133214

Steps to reproduce:

I dreagged a link from the address bar by clicking in the address bar, selecting the text with ctrl-A, and then dragged that text to a Java application window that accepts drops.


Actual results:

All of the returned data flavors are text based.
This does not happen in other versions of Firefox.

 Here is the list of returned data flavors on FF 6.

mimetype=application/x-java-serialized-object;representationclass=java.lang.String
mimetype=text/plain;representationclass=java.io.Reader
mimetype=text/plain;representationclass=java.lang.String
mimetype=text/plain;representationclass=java.nio.CharBuffer
mimetype=text/plain;representationclass=[C]
mimetype=text/plain;representationclass=java.io.InputStream;charset=unicode
mimetype=text/plain;representationclass=java.nio.ByteBuffer;charset=UTF-16
mimetype=text/plain;representationclass=[B;charset=UTF-16]
mimetype=text/plain;representationclass=java.io.InputStream;charset=UTF-8
mimetype=text/plain;representationclass=java.nio.ByteBuffer;charset=UTF-8
mimetype=text/plain;representationclass=[B;charset=UTF-8]
mimetype=text/plain;representationclass=java.io.InputStream;charset=UTF-16BE
mimetype=text/plain;representationclass=java.nio.ByteBuffer;charset=UTF-16BE
mimetype=text/plain;representationclass=[B;charset=UTF-16BE]
mimetype=text/plain;representationclass=java.io.InputStream;charset=UTF-16LE
mimetype=text/plain;representationclass=java.nio.ByteBuffer;charset=UTF-16LE
mimetype=text/plain;representationclass=[B;charset=UTF-16LE]
mimetype=text/plain;representationclass=java.io.InputStream;charset=ISO-8859-1
mimetype=text/plain;representationclass=java.nio.ByteBuffer;charset=ISO-8859-1
mimetype=text/plain;representationclass=[B;charset=ISO-8859-1]
mimetype=text/plain;representationclass=java.io.InputStream;charset=MacRoman
mimetype=text/plain;representationclass=java.nio.ByteBuffer;charset=MacRoman
mimetype=text/plain;representationclass=[B;charset=MacRoman]
mimetype=text/plain;representationclass=java.io.InputStream;charset=US-ASCII
mimetype=text/plain;representationclass=java.nio.ByteBuffer;charset=US-ASCII
mimetype=text/plain;representationclass=[B;charset=US-ASCII]


Expected results:

The same data flavors that appear for links, like the ones given when the icon next to the address bar is dragged, should be applied to urls dragged from the address bar.
Severity: normal → S3
Component: General → DOM: Copy & Paste and Drag & Drop
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.