Scraping the document for hostnames to prefetch should be limited to HTTP documents. But <link rel="dns-prefetch"> should probably always work.
<rdar://problem/8602552>
This is a regression from <http://trac.webkit.org/changeset/63622>.
Created attachment 72711 [details] proposed fix
Committed <http://trac.webkit.org/changeset/71159>.