Bug 9466

Summary: Assertion failure when dragging an image from the document into Safari's address bar
Product: WebKit Reporter: mitz
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: data:text/html,<img%20src="http://www.ibm.com/i/v14/t/ibm-logo.gif">
Attachments:
Description Flags
Proposed patch darin: review+

Description mitz 2006-06-16 06:43:05 PDT
With a debug build, the ASSERT([view isKindOfClass:[WebHTMLView class]]) in -[WebHTMLView _topHTMLView] fails when you open the URL (or any document containing a non-linking image) in Safari and drag the image into the address bar.

When not using a debug build, the operation succeeds, but subsequently the web view no longer accepts URLs dragged and dropped into it.
Comment 1 mitz 2006-06-16 07:07:29 PDT
Created attachment 8868 [details]
Proposed patch
Comment 2 Darin Adler 2006-06-16 10:40:21 PDT
Comment on attachment 8868 [details]
Proposed patch

Looks OK. r=me
Comment 3 Adele Peterson 2006-06-17 08:25:20 PDT
fixed in r14897