[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
Fri Sep 7 08:44:51 PDT 2007


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





------- Comment #14 from ddkilzer at webkit.org  2007-09-07 08:44 PDT -------
* STEPS TO REPRODUCE
1. Download weird_cookies.html (Attachment #15373) and place on local web
server.  (These tests assume the web server listens on Port 8000.)
2. Access http://localhost:8000/weird_cookies.html.
3. Click "testCookies" button.
4. Verify that "No Cookies!" message appears.
5. Click "addCookie" button.
6. Click "OK" to dismiss alert.
7. Click "testCookies" button.
8. Verify that "Got Cookies!" message appears.
9. Click "deleteCookie" button.
10. Click "OK" to dismiss alert.
11. Click "testCookies" button.
12. Verify that "No Cookies!" message appears.

Repeat steps 3-12:
- Replacing "localhost" with "127.0.0.1".
- Replacing "127.0.0.1" with the hostname of your computer.
- Replacing the hostname of your computer with your computer's IP address.


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