Bug 13964 - ASSERT in pasteboard code when dragging SVG
Summary: ASSERT in pasteboard code when dragging SVG
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.carto.net/neumann/webkitsv...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 03:19 PDT by Eric Seidel (no email)
Modified: 2012-05-19 08:36 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2007-06-01 03:19:32 PDT
ASSERTION FAILED: MimeTypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])
(/Stuff/Projects/WebKit/WebKit/Misc/WebNSPasteboardExtras.mm:253 -[NSPasteboard(WebExtras) _web_writeImage:element:URL:title:archive:types:])

Try to drag the image, somehow you end up getting the mime type "image/svg+xml" instead of png, or whatever it should be.
Comment 1 Eric Seidel (no email) 2007-06-01 03:20:25 PDT
It seems the right hand isn't talking to the left hand.  The drag should only be possible because of the jpg used in the SVG, but somehow WebKit ends up getting the svg mime type for the drag instead of the expected jpg mime type.  I think.
Comment 2 Nikolas Zimmermann 2010-07-08 01:25:54 PDT
Changed component to SVG, so it shows up in my all-svg-bugs search.
Comment 3 Rob Buis 2011-06-03 14:04:18 PDT
It seems nowadays on OS X dragging of images in SVG doesn't work at all? If that is wrong, are we tracking that? This assert/bug is probably not accurate anymore.
Cheers,

Rob.
Comment 4 Nikolas Zimmermann 2012-05-19 08:36:41 PDT
Right, it only works for SVGs that are loaded via SVGImage, e.g. embedded in a <html:img> - as intended. Closing bug.