Right now we assume all resources are PNG, but we should allow other resources to be loaded (such as SVG) in the future.
<rdar://problem/31706590>
Created attachment 307478 [details] Patch
Committed r215509: <http://trac.webkit.org/changeset/215509>