WebDragClient::startDrag's convertImageToBitmap will happily call createGraphicsContext on a null ShareableBitmap. It shouldn't do this, because the ShareableBitmap can be null for a variety of reasons. In addition, FrameSnapshottingMac::snapshotDragImage will happily waste time "painting" a 0x0 image, which it will then return and will eventually make its way to WebDragClient::startDrag, which will try to turn it into a ShareableBitmap and assert or crash because it has no size. <rdar://problem/14213012>
Created attachment 207791 [details] wrong version This one should be easy to test.
Comment on attachment 207791 [details] wrong version Attachment 207791 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1292500
Comment on attachment 207791 [details] wrong version Attachment 207791 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1288620
Created attachment 207798 [details] patch
http://trac.webkit.org/changeset/153511
*** Bug 119027 has been marked as a duplicate of this bug. ***