RESOLVED INVALID 60940
TimeBomb [Qt] QWebHistoryItem.lastVisited() returns an invalid, non-relevant date
https://bugs.webkit.org/show_bug.cgi?id=60940
Summary [Qt] QWebHistoryItem.lastVisited() returns an invalid, non-relevant date
usaman2010us
Reported 2011-05-16 18:53:05 PDT
When grabbing QWebHistory from QWebView, and then grabbing any item[s] from the QWebHistory, the title() and url() methods work fine, but the lastVisited() method returns QDateTime("Wed Dec 31 16:00:00 1969") every single time, despite being valid (tested via isValid()).
Attachments
Benjamin Poulain
Comment 1 2011-05-18 05:07:29 PDT
Would you mind attaching a test case? Which version of Qt/WebKit do you use?
Andreas Kling
Comment 2 2011-05-23 06:14:54 PDT
Suspicious comment from QWebHistoryItem::lastVisited(): //FIXME : this will be wrong unless we correctly set lastVisitedTime ourselves
Robert Hogan
Comment 3 2011-06-20 13:15:54 PDT
(In reply to comment #2) > Suspicious comment from QWebHistoryItem::lastVisited(): > > //FIXME : this will be wrong unless we correctly set lastVisitedTime ourselves Should this fixed or deprecated? It seems like dispatchDidAddBackForwardItem() would be the place to set it if we want to fix it. Other ports expose it to the client, and let them set it. No other port has anything at all in dispatchDidAddBackForwardItem()!
Note You need to log in before you can comment on or make changes to this bug.