Title: [229061] trunk/Source/WebCore
Revision
229061
Author
commit-qu...@webkit.org
Date
2018-02-27 08:39:11 -0800 (Tue, 27 Feb 2018)

Log Message

Potential privacy issue: DNS prefetching can be re-enabled
https://bugs.webkit.org/show_bug.cgi?id=182924

Patch by Milan Crha <mc...@redhat.com> on 2018-02-27
Reviewed by Michael Catanzaro.

* dom/Document.cpp:
(WebCore::Document::parseDNSPrefetchControlHeader):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (229060 => 229061)


--- trunk/Source/WebCore/ChangeLog	2018-02-27 14:00:02 UTC (rev 229060)
+++ trunk/Source/WebCore/ChangeLog	2018-02-27 16:39:11 UTC (rev 229061)
@@ -1,3 +1,13 @@
+2018-02-27  Milan Crha  <mc...@redhat.com>
+
+        Potential privacy issue: DNS prefetching can be re-enabled
+        https://bugs.webkit.org/show_bug.cgi?id=182924
+
+        Reviewed by Michael Catanzaro.
+
+        * dom/Document.cpp:
+        (WebCore::Document::parseDNSPrefetchControlHeader):
+
 2018-02-26  Antoine Quint  <grao...@apple.com>
 
         [Web Animations] Implement the procedure to set the target effect of an animation

Modified: trunk/Source/WebCore/dom/Document.cpp (229060 => 229061)


--- trunk/Source/WebCore/dom/Document.cpp	2018-02-27 14:00:02 UTC (rev 229060)
+++ trunk/Source/WebCore/dom/Document.cpp	2018-02-27 16:39:11 UTC (rev 229061)
@@ -5765,6 +5765,9 @@
 
 void Document::parseDNSPrefetchControlHeader(const String& dnsPrefetchControl)
 {
+    if (!settings().dnsPrefetchingEnabled())
+        return;
+
     if (equalLettersIgnoringASCIICase(dnsPrefetchControl, "on") && !m_haveExplicitlyDisabledDNSPrefetch) {
         m_isDNSPrefetchEnabled = true;
         return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to