myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Doumenc <gdoum...@studiogdo.com>
Subject Re: [jira] Commented: (TOMAHAWK-427) Error in parsing cookie
Date Tue, 16 May 2006 14:12:29 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
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...
(<a class="moz-txt-link-freetext" href="http://xinha.gogo.co.nz/punbb/viewtopic.php?id=576">http://xinha.gogo.co.nz/punbb/viewtopic.php?id=576</a>)<br>
<br>
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...<br>
<br>
Anyway, using string as index for array is not in javascript standard <br>
<br>
Regards<br>
<br>
sean schofield (JIRA) wrote:
<blockquote cite="mid545151.1147787646645.JavaMail.jira@brutus"
 type="cite">
  <pre wrap="">    [ <a class="moz-txt-link-freetext" href="http://issues.apache.org/jira/browse/TOMAHAWK-427?page=comments#action_12411969">http://issues.apache.org/jira/browse/TOMAHAWK-427?page=comments#action_12411969</a>
] 

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.)

  </pre>
  <blockquote type="cite">
    <pre wrap="">Error in parsing cookie
-----------------------

         Key: TOMAHAWK-427
         URL: <a class="moz-txt-link-freetext" href="http://issues.apache.org/jira/browse/TOMAHAWK-427">http://issues.apache.org/jira/browse/TOMAHAWK-427</a>
     Project: MyFaces Tomahawk
        Type: Bug
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">  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&lt;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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<b>Guillaume Doumenc</b><br>
<b><i>StudioGdo : Maîtrisez votre communication...</i></b><br>
Tél : +33 (0)6 11 95 24 78<br>
Courriel : <a href="mailto:gdoumenc@studiogdo.com">gdoumenc@studiogdo.com</a></div>
</body>
</html>


Mime
View raw message