window.ondragdrop not cancellable with return false (NN4 compatibility)

NEW
Unassigned

Status

()

defect
P3
normal
19 years ago
3 months ago

People

(Reporter: martin.honnen, Unassigned)

Tracking

Trunk
Future
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Reporter

Description

19 years ago
With NN4 you can cancel the loading of a dropped link by returning false in the 
ondragdrop handler. This doesn't work in M17 (checked on windows 95) but should 
otherwise the ondragdrop handler is not compatible to NN4.
Keywords: 4xp
Target Milestone: --- → Future
This bug has been marked "future" because the original netscape engineer working 
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way 
-- please attach your concern to the bug for reconsideration.

Comment 3

19 years ago
Updating QA Contact.
QA Contact: janc → lorca

Comment 4

19 years ago
The real problem is that the event is not implemented. YANNI.
Reassigning QA Contact for all open and unverified bugs previously under Lorca's
care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok

Comment 6

18 years ago
QA contact updated
QA Contact: gerardok → madhur

Updated

17 years ago
QA Contact: madhur → rakeshmishra

Updated

17 years ago
QA Contact: rakeshmishra → trix

Comment 7

16 years ago
OnDragDrop event is useful and necessary. It should be implemented for 1.4.

Comment 8

16 years ago
.
Assignee: joki → saari
QA Contact: trix → ian

Comment 9

14 years ago
Currently the event isn't fired at all (the alert doesn't show), so this bug could be marked as a dup of bug 112288
See http://developer.mozilla.org/en/docs/DOM:window.ondragdrop - you can use e.stopPropagation() to cancel the loading:

window.addEventListener("dragdrop", testfunc, false);
function testfunc(event) {
    alert("dragdrop!");
    event.stopPropagation();
}
Assignee: saari → nobody
QA Contact: ian → events
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.