[Webkit-unassigned] [Bug 24472] New: history.length does not return number of elements in history list
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 9 15:56:49 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24472
Summary: history.length does not return number of elements in
history list
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: manueldeschamps at yahoo.com
This seems like it is a bug in our implementation. The behavior (previously
unspecified) is now spec in
http://www.whatwg.org/specs/web-apps/current-work/#dom-history-length Please
file a bug.
Thanks,
Sam
On Mar 9, 2009, at 3:41 PM, Manuel Deschamps wrote:
Hello guys,
It is been while!.. I had a question for you about the History object.
In IE and Firefox, history.length returns the number of elements in the history
list while in Safari and Opera the same property returns the "index" of the
page in the history list.
Example:
1) launch browser X
2) go to www.apple.com
3) then go to www.yahoo.com
4) click the back button
5) type javascript:alert(history.length)
in IE,FF the value is 2, in Safari 3/4 the value is 1
So my question is, is this a bug in Safari or IE and FF are not following the
standard correctly? :)
Thanks
_________________________________________
Manuel Deschamps | Software Engineer - Yahoo! Mail
tel: 408-336-0493 | manueldr at yahoo-inc.com
--
Configure bugmail: https://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