Changeset 190755 in webkit
- Timestamp:
- Oct 8, 2015 3:59:15 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r190754 r190755 1 2015-10-08 Chris Dumez <cdumez@apple.com> 2 3 data: URLs should not be preloaded 4 https://bugs.webkit.org/show_bug.cgi?id=149829 5 6 Reviewed by Darin Adler. 7 8 Fix review comments after r190605: 9 Use protocolIs() instead of String::startsWith(). 10 11 * html/parser/HTMLPreloadScanner.cpp: 12 (WebCore::TokenPreloadScanner::StartTagScanner::shouldPreload): 13 1 14 2015-10-08 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebCore/html/parser/HTMLPreloadScanner.cpp
r190641 r190755 238 238 return false; 239 239 240 if ( m_urlToLoad.startsWith("data:", false))240 if (protocolIs(m_urlToLoad, "data")) 241 241 return false; 242 242
Note: See TracChangeset
for help on using the changeset viewer.