Refactor URL and image writing so layer-violating parts are in Editor, not Pasteboard (Mac-only at first)
Created attachment 210229 [details] Patch
Comment on attachment 210229 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=210229&action=review > Source/WebCore/editing/Editor.cpp:1173 > +// FIXME: Should this be a member function of HitTestResult? I'd say so.
Committed r154939: <http://trac.webkit.org/changeset/154939>
Created attachment 210242 [details] don't use cachedImage without initialization Didn't compile here on mac because of using cachedImage without initializing it. I guess you meant it to be as in the attached patch. It's just for your info so you may include that in a follow-up patch.
Looks like this may have caused a new assertion failure: http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r154943%20(9803)/editing/pasteboard/copy-standalone-image-crash-log.txt
Comment on attachment 210242 [details] don't use cachedImage without initialization Those look like good changes. Let me take care of this.
I think the crash is caused by the same thing that Tobias Netzel repotted.