[Webkit-unassigned] [Bug 14515] New: 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 Jul 3 12:44:06 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14515
Summary: document.cookie doesn't work when hostname is localhost;
does work when hostname is 127.0.0.1
Product: WebKit
Version: 522+ (nightly)
Platform: PC
URL: http://developer.apple.com/internet/safari/faq.html#anch
or6
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Major
Priority: P3
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dan at fabulich.com
Expose the attached HTML document on a webserver running on localhost.
(For your convenience, I've provided a simple python script to expose a
webserver on port 8000. Just save tinyWebServer.py and weird_cookies.html in
the same directory and then run tinyWebServer.py.)
Open WebKit and browse to the URL at http://localhost:8000/weird_cookies.html
Click on "testCookies". You'll get a message: "No Cookies!" Click on
"addCookie". You'll get a message: "cookie added". Click on "testCookies"
again. You'll get the old message: "No Cookies!" but at this point it should
say "Got Cookies!"
Now browse to the URL http://127.0.0.1:8000/weird_cookies.html
Click on "testCookies". You'll get a message: "No Cookies!" Click on
"addCookie". You'll get a message: "cookie added". Click on "testCookies"
again. You'll get a message: "Got Cookies!"
Using WebKit-r23922 built on 02 July 2007 on Windows XP SP2.
--
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