Changeset 144068 in webkit
- Timestamp:
- Feb 26, 2013, 9:50:46 AM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
html/DOMURL.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r144067 r144068 1 2013-02-26 Antti Koivisto <antti@apple.com> 2 3 REGRESSION(r143986): fast/files/revoke-blob-url.html asserts 4 https://bugs.webkit.org/show_bug.cgi?id=110885 5 6 Reviewed by Alexey Proskuryakov. 7 8 The ResourceRequest string constructor assumes that the string is a valid URL. Use KURL constructor instead. 9 10 * html/DOMURL.cpp: 11 (WebCore::DOMURL::revokeObjectURL): 12 1 13 2013-02-26 Dean Jackson <dino@apple.com> 2 14 -
trunk/Source/WebCore/html/DOMURL.cpp
r143986 r144068 115 115 return; 116 116 117 ResourceRequest request(urlString); 117 KURL url(KURL(), urlString); 118 ResourceRequest request(url); 118 119 #if ENABLE(CACHE_PARTITIONING) 119 120 request.setCachePartition(scriptExecutionContext->topOrigin()->cachePartition()); … … 121 122 MemoryCache::removeRequestFromCache(scriptExecutionContext, request); 122 123 123 KURL url(KURL(), urlString);124 124 HashSet<String>& blobURLs = scriptExecutionContext->publicURLManager().blobURLs(); 125 125 if (blobURLs.contains(url.string())) {
Note:
See TracChangeset
for help on using the changeset viewer.