Relative URLs aren’t resolved correctly when the base URL is an applewebdata: URL. Loading the HTML string "<img src='relative.jpg'>" results in the image’s src property evaluating to something like applewebdata://D5439AC2-A80D-41D9-9DCE-3A61F54E56E0relative.jpg instead of applewebdata://D5439AC2-A80D-41D9-9DCE-3A61F54E56E0/relative.jpg (notice the missing forward slash).
<rdar://problem/29582309>
Created attachment 296571 [details] Patch
Comment on attachment 296571 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=296571&action=review Thanks for the quick fix! > Source/WebCore/ChangeLog:4 > + https://bugs.webkit.org/show_bug.cgi?id=165621 Radar URL?
http://trac.webkit.org/changeset/209572
rdar://problem/29582309