Next step: be able to build KURL based on NSUrl and relative URL parsed from page.
Created attachment 140416 [details] Patch
Work in progress, I still need to add parsing of relative URLs.
Created attachment 142888 [details] Patch
Created attachment 146750 [details] Patch
Unfortunately, even the simplest URL test require relative URL to work. So although I can now run the tests, none of them succeed. Next I'll have to fix parsing of relative URL.
Comment on attachment 146750 [details] Patch Attachment 146750 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/12938237
Created attachment 146753 [details] Patch
Yeah, adding relative URLs is probably high on the TODO list.
Committed r120250: <http://trac.webkit.org/changeset/120250>