User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20060426 Firefox/188.8.131.52 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:184.108.40.206) Gecko/20060426 Firefox/220.127.116.11 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.
The new drag and drop api added in bug 356295 makes nsDragAndDrop.js obsolete.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.