ResourceResponses for data URLs have their Source marked as Unknown
https://bugs.webkit.org/show_bug.cgi?id=172573
<rdar://problem/31786198>
Reviewed by Geoffrey Garen.
Source/WebCore:
ResourceResponses for data URLs have their Source marked as Unknown.
Now set their source to Network to maintain previous behavior when
we used to decode those data URLs on Network process side.
Test: fast/url/data-url-source.html
* loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::loadDataURL):
LayoutTests:
Add layout test coverage.
* fast/url/data-url-source-expected.txt: Added.
* fast/url/data-url-source.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@217407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 9d8dc30..1e38de54 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,16 @@
+2017-05-24 Chris Dumez <cdumez@apple.com>
+
+ ResourceResponses for data URLs have their Source marked as Unknown
+ https://bugs.webkit.org/show_bug.cgi?id=172573
+ <rdar://problem/31786198>
+
+ Reviewed by Geoffrey Garen.
+
+ Add layout test coverage.
+
+ * fast/url/data-url-source-expected.txt: Added.
+ * fast/url/data-url-source.html: Added.
+
2017-05-24 Fujii Hironori <Hironori.Fujii@sony.com>
[Win] An assertion fails if the custom cursor image isn't loaded yet