Closed
Bug 340089
Opened 19 years ago
Closed 17 years ago
Exceptions thrown in onDrop function of nsDragAndDrop.js leads to side effects
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mimecuvalo, Unassigned)
Details
Attachments
(1 file)
1.60 KB,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
If an exception is thrown while in the onDrop function, the browser will start to load the transferData as a url into the browser. The url it loads depends on what text is in the transferData.
I will attach a sample test case shortly.
Reproducible: Always
Steps to Reproduce:
1. Open test case in chrome.
2. Perform drag and drop operation. Exception is thrown manually in the code.
3. Get redirected to a url.
Actual Results:
Get redirected to a url.
Expected Results:
Don't get redirected.
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•17 years ago
|
||
The new drag and drop api added in bug 356295 makes nsDragAndDrop.js obsolete.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•