[Webkit-unassigned] [Bug 74095] Cache visited link hash
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 8 10:09:56 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74095
Darin Adler <darin at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #118398|review? |review+
Flag| |
--- Comment #5 from Darin Adler <darin at apple.com> 2011-12-08 10:09:56 PST ---
(From update of attachment 118398)
View in context: https://bugs.webkit.org/attachment.cgi?id=118398&action=review
r=me assuming you fix the fastGetAttribute thing Andreas pointed out
> Source/WebCore/ChangeLog:15
> + Note that technically we would need to invalidate these hashes also on dynamic document base URL change
> + but that scenario seems to be unsupported by many other parts of the WebKit too.
Is there some way we could avoid digging ourselves deeper on this one? Perhaps a base URL change is unusual enough that we could afford to iterate the document when it happens?
> Source/WebCore/css/SelectorChecker.cpp:1321
> + else if (const AtomicString* attr = linkAttribute(node))
> + hash = visitedLinkHash(m_document->baseURL(), *attr);
Since we’re touching this code I would have spelled out the word attribute.
--
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