myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Doumenc (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOMAHAWK-427) Error in parsing cookie
Date Wed, 10 May 2006 07:34:04 GMT
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


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


Mime
View raw message