WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 58252
WebKit2: links don’t update to look visited
https://bugs.webkit.org/show_bug.cgi?id=58252
Summary
WebKit2: links don’t update to look visited
Sam Weinig
Reported
2011-04-11 11:53:43 PDT
WebKit2: links don’t update to look visited
Attachments
Patch
(2.87 KB, patch)
2011-04-11 12:00 PDT
,
Sam Weinig
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2011-04-11 12:00:24 PDT
Created
attachment 89043
[details]
Patch
Anders Carlsson
Comment 2
2011-04-11 12:02:15 PDT
Comment on
attachment 89043
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=89043&action=review
> Source/WebKit2/WebProcess/WebProcess.cpp:281 > + for (size_t i = 0; i < linkHashes.size(); ++i) { > + HashMap<uint64_t, RefPtr<WebPageGroupProxy> >::const_iterator it = m_pageGroupMap.begin(); > + HashMap<uint64_t, RefPtr<WebPageGroupProxy> >::const_iterator end = m_pageGroupMap.end(); > + for (; it != end; ++it) > + Page::visitedStateChanged(PageGroup::pageGroup(it->second->identifier()), linkHashes[i]); > + }
Could you add a FIXME here specifying that we might not want to track visited links per context but per page group?
> Source/WebKit2/WebProcess/WebProcess.cpp:289 > - Page::allVisitedStateChanged(sharedPageGroup()); > + HashMap<uint64_t, RefPtr<WebPageGroupProxy> >::const_iterator it = m_pageGroupMap.begin(); > + HashMap<uint64_t, RefPtr<WebPageGroupProxy> >::const_iterator end = m_pageGroupMap.end(); > + for (; it != end; ++it) > + Page::allVisitedStateChanged(PageGroup::pageGroup(it->second->identifier()));
Ditto.
Sam Weinig
Comment 3
2011-04-11 12:13:45 PDT
Fixed in
r83472
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug