Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-427

Error in parsing cookie

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.1.1
    • None
    • Tree2
    • None
    • Firefox v1.0.7

    Description

      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.

      Attachments

        1. cookielib.js
          5 kB
          Guillaume Doumenc

        Activity

          People

            Unassigned Unassigned
            gdoumenc Guillaume Doumenc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: