[Webkit-unassigned] [Bug 46943] New: [chromium] getData('text/uri-list') should return the same thing that was passed to setData('text/uri-list')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 30 17:14:10 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46943

           Summary: [chromium] getData('text/uri-list') should return the
                    same thing that was passed to setData('text/uri-list')
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dcheng at chromium.org
                CC: tony at chromium.org


Right now, we strip out comments and potentially change line endings. It's probably nice to have it return the same thing that was passed in (the comments might be useful, for instance).

How do other browsers handle it?
IE8: Calling setData('URL') doesn't work. The only time you can set URLs in IE seems to be when you're dragging anchors--and it's not you setting it, it's implicitly set by the browser.
IE9: Same as IE8 as far as I can tell. I could be wrong though.
Firefox: Seems to handle URL and text/uri-list as separate types. Also allows anything to be set in the 'URL' member.
Safari: My test isn't working in Safari at the moment, but as far as I can tell, it probably returns what you set for text/uri-list (and URL as well, though that's probably a bug).

As I interpret the standard, getData('URL') should never return an invalid URL.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list