Use the complete url when blocking images.
Image urls that are relative to a base url need to be resolved before looking at
the scheme.
Bug: 2455482
diff --git a/WebCore/loader/DocLoader.cpp b/WebCore/loader/DocLoader.cpp
index 54dc733..8c0a1b2 100644
--- a/WebCore/loader/DocLoader.cpp
+++ b/WebCore/loader/DocLoader.cpp
@@ -331,7 +331,7 @@
if (!m_blockNetworkImage)
return false;
- KURL kurl(ParsedURLString, url);
+ KURL kurl = m_doc->completeURL(url);
if (kurl.protocolIs("http") || kurl.protocolIs("https"))
return true;