Open Bug 50582 Opened 24 years ago Updated 1 year ago

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


(Core :: DOM: UI Events & Focus Handling, defect, P3)

Windows 95





(Reporter: martin.honnen, Unassigned)



(1 file)

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.
Updating QA Contact.
QA Contact: janc → lorca
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
QA contact updated
QA Contact: gerardok → madhur
QA Contact: madhur → rakeshmishra
QA Contact: rakeshmishra → trix
OnDragDrop event is useful and necessary. It should be implemented for 1.4.
Assignee: joki → saari
QA Contact: trix → ian
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 - you can use e.stopPropagation() to cancel the loading:

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