Open
Bug 989764
Opened 11 years ago
Updated 4 years ago
Possibility to freeze drag-and-drop function on Firefox and an external program
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: william.maller, Unassigned)
Details
Attachments
(1 file)
1.23 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140314220517
Steps to reproduce:
After adding the following javascript lines in my page, I noticed that the drag and drop function would freeze if the alert popup (used as a callback) wasn't closed.
document.addEventListener('dragover', function(e) {
e.preventDefault();
e.stopPropagation();
});
document.addEventListener('drop', function(e) {
e.preventDefault();
e.stopPropagation();
alert('Callback...');
});
Actual results:
The drag and drop is disabled in firefox: links cannot be drag to the tab bar, toolbars cannot be personnalized by drag and drop.
Plus the program from where the file/text was drag-and-dropped into firefox, is totally freezed (for instance, Windows desktop will not work anymore)
The bug stops as soon as the alert used as a callback is closed.
Comment 1•4 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•