[Webkit-unassigned] [Bug 13102] Javascript error messages on patagonia.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 7 08:35:41 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13102





------- Comment #13 from tappas1776 at yahoo.com  2007-04-07 08:35 PDT -------
This was the function I updated, note the last line:

accept: function() {
    if (typeof (navigator.cookieEnabled) == 'boolean') {
      return navigator.cookieEnabled;
    }
    Cookie.set('_test', '1');
    return (Cookie.erase('_test') == '1');
  }

While debugging this I discovered that the bug never surfaced for us because
all of our supported browsers offer the "cookieEnabled" property and, hence,
never got down to the bottom of the function.  I commented out the
'cookieEnabled' portion of the code to force Firefox to the bottom and was able
to reproduce the error you all reported.  It now properly returns a bool.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list