[Webkit-unassigned] [Bug 14515] document.cookie doesn't work when hostname is localhost; does work when hostname is 127.0.0.1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 4 07:02:12 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14515
------- Comment #8 from jsp at pkc.com 2007-09-04 07:02 PDT -------
Here's what I can test. Version 2 in the table below is Safari 2.0.4 (419.3)
running on PowerPC Mac OS X 10.4.10; version 3 is Safari 3.0.3 (522.15.5)
running on Windows XP. In each case, the browser and server are running on the
same machine, and the first attachment is the test page. In the version 2/OS X
case, I used the tiny server attached to this bug (on port 8000). In the
version 3/Windows XP case, I used IIS (on port 80), since it's already running
on my machine.
Version | localhost | <host name> | 127.0.0.1 | <real IP address> | file:
--------+-----------+-------------+-----------+-------------------+------
2 | succeeds | succeeds | succeeds | succeeds | fails
3 | fails | fails | succeeds | succeeds | fails
For completeness, I ran an additional test. Using Safari 3 on XP, I loaded the
test case from the Macintosh. Once again, if I specify the host name, the test
fails, but if I specify an IP address, it succeeds.
Bottom line: Safari 3 on Windows fails when the host is specified by URL, where
Safari 2 on OS X succeeds. The obvious next question is what happens with
Safari 3 on OS X. I'm a little reluctant to do the necessary install, but will
do so if necessary (particularly if no one else can reproduce this with Safari
3 on a Mac).
--
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