data: URLs should not be preloaded
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Oct 2015 22:59:15 +0000 (22:59 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Oct 2015 22:59:15 +0000 (22:59 +0000)
commit303af1b22a82ef1ad9dba85c07c96f97a851fe7b
tree2e13206a6b398ae22acc8670ca82145970953d1f
parent25a6c8c763a8bf3cd0bd1144f3c3b4ce7d44d176
data: URLs should not be preloaded
https://bugs.webkit.org/show_bug.cgi?id=149829

Reviewed by Darin Adler.

Fix review comments after r190605:
Use protocolIs() instead of String::startsWith().

* html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::StartTagScanner::shouldPreload):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/parser/HTMLPreloadScanner.cpp