[Webkit-unassigned] [Bug 14499] DOM history object is not updated properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 14 13:50:45 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=14499


johneseif at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johneseif at gmail.com




------- Comment #4 from johneseif at gmail.com  2008-04-14 13:50 PDT -------
I think the problem is in FrameLoader::getHistoryLength()

return page->backForwardList()->backListCount() + 1;

should be

return page->backForwardList()->backListCount() + 1 +
page->backForwardList()->forwardListCount();

to match Firefox.  Without the +1, it would match IE (which also counts pages
in the forward history).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list