Hi,

I got (and another dev) such strange error on a HTML editor _javascript_ (xinha) with the new FireFox version. My understanding is that it is depending of the plugin installed (_javascript_ debugger). I have it only with the _javascript_ debugger installed... (http://xinha.gogo.co.nz/punbb/viewtopic.php?id=576)

I'm sorry not be able to tell you why, but I need this patch to work.. I didn't need it until now even if I used it all the time...

Anyway, using string as index for array is not in _javascript_ standard

Regards

sean schofield (JIRA) wrote:
    [ 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.
    

  

--
Guillaume Doumenc
StudioGdo : Maîtrisez votre communication...
Tél : +33 (0)6 11 95 24 78
Courriel : [EMAIL PROTECTED]

Reply via email to