[ http://issues.apache.org/jira/browse/TOMAHAWK-427?page=comments#action_12411969 ]
sean schofield commented on TOMAHAWK-427: ----------------------------------------- Things seems to work fine on latest firefox (without the patch.) Are we sure this fix is necessary? I have not heard anyone else having a problem with this javascript (which I borrowed from another open source project.) > Error in parsing cookie > ----------------------- > > Key: TOMAHAWK-427 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-427 > Project: MyFaces Tomahawk > Type: Bug > Components: Tree2 > Versions: 1.1.1 > Environment: Firefox v1.0.7 > Reporter: Guillaume Doumenc > Attachments: cookielib.js > > I get a strange behavior when getting attribMap name in cookie.js (line 103) > The behavior is fixed when I replace the line > for (var name in attribMap) > { > var value = attribMap[name]; > > by > for (var i=0;i<attribMap.length;i++) > { > var name = attribMap[i]; > var value = attribMap[name]; > In some case I got the "contains" method in name in the fist case ?? > Don't find any issue in bugzilla for the for in statement in javascript, but > I had other strange issue on this last version of Firefox/Javascript and > Firefox plugin installed as JavaScript debugger. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
