[Webkit-unassigned] [Bug 54108] Slow loads stall initial layout/paint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 09:07:52 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54108





--- Comment #1 from Silvio <silvio.ventres at gmail.com>  2011-02-09 09:07:52 PST ---
A draft domain-comparison procedure for new url, to be inserted in CachedResourceLoader::preload():


-- unchecked-draft --

newHost = url.host().isNull() ? "" : url.host();
docHost = m_document->securityOrigin()->host();

//find the second dot or beginning of the String
newHostDomain = newHost.substr(newHost.substr(0,newHost.find_last_of('.')).find_last_of('.')+1);
docHostDomain = docHost.substr(docHost.substr(0,docHost.find_last_of('.')).find_last_of('.')+1);

if(equalIgnoringCase(docHostDomain,newHostDomain))
  requestPreload(..)
else
  m_pendingPreloads.append(..)

---------------------

-- 
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