Bug 5054 - Crash with dataTransfer.setDragImage
Summary: Crash with dataTransfer.setDragImage
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 13:26 PDT by Alexey Proskuryakov
Modified: 2005-12-26 14:08 PST (History)
1 user (show)

See Also:


Attachments
test case (302 bytes, text/html)
2005-09-19 13:26 PDT, Alexey Proskuryakov
no flags Details
crash log (23.01 KB, text/plain)
2005-09-19 13:28 PDT, Alexey Proskuryakov
no flags Details
add the missing type check (832 bytes, patch)
2005-10-09 21:21 PDT, Darin Adler
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2005-09-19 13:26:30 PDT
Steps to reproduce:
1. Open the attached test case
2. Try to drag the text

Results: crash. Tried with 2.0.1 and ToT.

I do not know if the test case is correct code, but anyway, it shouldn't crash :)
Comment 1 Alexey Proskuryakov 2005-09-19 13:26:50 PDT
Created attachment 3947 [details]
test case
Comment 2 Alexey Proskuryakov 2005-09-19 13:28:31 PDT
Created attachment 3948 [details]
crash log
Comment 3 Darin Adler 2005-10-09 20:32:47 PDT
Found a simple fix.
Comment 4 Darin Adler 2005-10-09 21:21:35 PDT
Created attachment 4281 [details]
add the missing type check
Comment 5 Dave Hyatt 2005-10-09 21:43:26 PDT
Comment on attachment 4281 [details]
add the missing type check

r=me