Bug 9466 - Assertion failure when dragging an image from the document into Safari's address bar
Summary: Assertion failure when dragging an image from the document into Safari's addr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: data:text/html,<img%20src="http://www...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 06:43 PDT by mitz
Modified: 2006-06-17 08:25 PDT (History)
0 users

See Also:


Attachments
Proposed patch (3.82 KB, patch)
2006-06-16 07:07 PDT, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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