[Webkit-unassigned] [Bug 42500] New: HTMLLinkElement ignores dnsPrefetchingEnabled setting
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jul 17 11:36:48 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42500
Summary: HTMLLinkElement ignores dnsPrefetchingEnabled setting
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: opendarwin at lapcatsoftware.com
A setting to disable DNS prefetching was landed in svn r62284:
http://trac.webkit.org/changeset/62284/trunk
DNS prefetching is done by the ResourceHandle::prepareForURL() function. Most calls to prepareForURL() are protected by a check of whether DNS prefetching is enabled. However, HTMLLinkElement does not perform such a check:
https://trac.webkit.org/browser/trunk/WebCore/html/HTMLLinkElement.cpp
193 if (m_relAttribute.m_isDNSPrefetch && m_url.isValid() && !m_url.isEmpty())
194 ResourceHandle::prepareForURL(m_url);
A check should be added here to make sure DNS prefetching is enabled before triggering DNS prefetching.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list