Closed Bug 790520 Opened 12 years ago Closed 12 years ago

DnD dataTransfer api broken on Firefox 15

Categories

(Firefox :: Untriaged, defect)

15 Branch
x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 609284

People

(Reporter: liy099, Unassigned)

Details

(Keywords: html5)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120825192214

Steps to reproduce:

1. Open http://jsfiddle.net/mZeZc/
2. Drag a file and drop it into the red area


Actual results:

A alert box pops up saying 0, which is 1 on Chrome.


Expected results:

event.dataTransfer.files.length===0 on firefox 15, but 1 on Chrome
Severity: normal → critical
Component: Untriaged → File Handling
Keywords: html5
My about:support info:



  Application Basics

        Name
        Firefox

        Version
        15.0

        User Agent
        Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0

        Profile Directory

          Open Directory

        Enabled Plugins

          about:plugins

        Build Configuration

          about:buildconfig

        Crash Reports

          about:crashes

        Memory Use

          about:memory

  Extensions

        Name

        Version

        Enabled

        ID

        Adblock Plus
        2.1.2
        true
        {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

        AutoProxy
        0.4b2.2011041023
        true
        autoproxy@autoproxy.org

        DownThemAll!
        2.0.14
        true
        {DDC359D1-844A-42a7-9AA1-88A850A938A8}

        Echofon
        2.4.3
        true
        twitternotifier@naan.net

        Element Hiding Helper for Adblock Plus
        1.2.3
        true
        elemhidehelper@adblockplus.org

        Firebug
        1.10.3
        true
        firebug@software.joehewitt.com

        FireRainbow
        1.5
        true
        firerainbow@hildebrand.cz

        FlashGot
        1.4.8.1
        true
        {19503e42-ca3c-4c27-b1e2-9cdb2170ee34}

        Greasemonkey
        1.0
        true
        {e4a8a97b-f2ed-450b-b12d-ee082ba24781}

        RefControl
        0.8.16
        true
        {455D905A-D37C-4643-A9E2-F6FEFAA0424A}

        Screengrab  (fix version)
        0.96.6c
        true
        {02450914-cdd9-410f-b1da-db004e18c671}

        Stylish
        1.3
        true
        {46551EC9-40F0-4e47-8E18-8E5CF550CFB8}

        Theme Font & Size Changer
        6.1
        true
        {f69e22c7-bc50-414a-9269-0f5c344cd94c}

        UI Fixer
        1.4.4
        true
        ff4uifix@nikolakocic.com

        User Agent Switcher
        0.7.3
        true
        {e968fc70-8f95-4ab9-9e79-304de2a71ee1}

        Web Developer
        1.2.2
        true
        {c45c406e-ab73-11d8-be73-000a95be3b12}

        wmlbrowser
        0.7.26
        true
        {c4dc572a-3295-40eb-b30f-b54aa4cdc4b7}

        Flashblock
        1.5.15.1
        false
        {3d7eb24f-2740-49df-8937-200b1cc08f8a}

        Global Menu Bar integration
        3.4
        false
        globalmenu@ubuntu.com

        JavaScript Deobfuscator
        1.6.3
        false
        jsdeobfuscator@adblockplus.org

        Mason
        0.3.7.9
        false
        {F632A5EA-F825-4AE7-94B5-233CFBA9F423}

        Ubuntu Firefox Modifications
        2.1.1
        false
        ubufox@ubuntu.com

        XHTML Mobile Profile
        0.5.4
        false
        {8ea9957e-2953-402f-80e0-bceb5f169d6f}

  Important Modified Preferences

      Name

      Value

        accessibility.typeaheadfind
        true

        accessibility.typeaheadfind.flashBar
        0

        browser.cache.disk.capacity
        1048576

        browser.cache.disk.smart_size.first_run
        false

        browser.cache.disk.smart_size_cached_value
        1048576

        browser.places.smartBookmarksVersion
        4

        browser.startup.homepage_override.buildID
        20120825192214

        browser.startup.homepage_override.mstone
        15.0

        browser.tabs.animate
        false

        browser.tabs.closeWindowWithLastTab
        false

        dom.disable_window_move_resize
        true

        extensions.lastAppVersion
        15.0

        font.language.group
        zh-CN

        font.name.monospace.x-western
        WenQuanYi Micro Hei Mono

        font.name.monospace.zh-CN
        WenQuanYi Micro Hei Mono

        font.name.sans-serif.x-western
        WenQuanYi Micro Hei Mono

        font.name.sans-serif.zh-CN
        WenQuanYi Micro Hei Mono

        font.name.serif.x-western
        WenQuanYi Micro Hei Mono

        font.name.serif.zh-CN
        WenQuanYi Micro Hei Mono

        network.cookie.prefsMigrated
        true

        places.database.lastMaintenance
        1346750168

        places.history.expiration.transient_current_max_pages
        52771

        privacy.cpd.cookies
        false

        privacy.cpd.sessions
        false

        privacy.sanitize.migrateFx3Prefs
        true

        privacy.sanitize.timeSpan
        0

        security.warn_viewing_mixed
        false

  Graphics

        Adapter Description
        X.Org R300 Project -- Gallium 0.4 on ATI RV515

        Vendor ID
        X.Org R300 Project

        Device ID
        Gallium 0.4 on ATI RV515

        Driver Version
        2.1 Mesa 8.0.2

        WebGL Renderer
        X.Org R300 Project -- Gallium 0.4 on ATI RV515 -- 2.1 Mesa 8.0.2

        GPU Accelerated Windows
        0

        AzureBackend
        skia

  JavaScript

        Incremental GC
        0

  Library Versions

        Expected minimum version

        Version in use

        NSPR
        4.9.1
        4.9.1

        NSS
        3.13.6.0 Basic ECC
        3.13.6.0 Basic ECC

        NSS Util
        3.13.6.0
        3.13.6.0

        NSS SSL
        3.13.6.0 Basic ECC
        3.13.6.0 Basic ECC

        NSS S/MIME
        3.13.6.0 Basic ECC
        3.13.6.0 Basic ECC
Component: File Handling → Untriaged
Works for me
http://hg.mozilla.org/releases/mozilla-release/rev/0b774a1067fe
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1 ID:20120905151427
(In reply to Alice0775 White from comment #2)
> Works for me
> http://hg.mozilla.org/releases/mozilla-release/rev/0b774a1067fe
> Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1
> ID:20120905151427

Don't know about 15.0.1, will try after upgrading.
You need to use Nautilus. Other file managers will not work. There is a bug on this but can't find it at this moment.
Here we go bug 609284.
(In reply to Kevin Brosnan [:kbrosnan] from comment #5)
> Here we go bug 609284.


Indeed, looks like Firefox can't get along with thunar on DnD while Chrome can, thank you.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.