Bug 19658 - Safari 4 Developer Preview - setting document.cookie isn't working
Summary: Safari 4 Developer Preview - setting document.cookie isn't working
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 11:49 PDT by Robbie Paplin
Modified: 2014-07-12 18:56 PDT (History)
1 user (show)

See Also:


Attachments
Javascript Cookie Detection Test (1.33 KB, text/html)
2008-06-18 11:51 PDT, Robbie Paplin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robbie Paplin 2008-06-18 11:49:19 PDT
The attached page has Javascript code to detect if cookies are enabled. The page will set a cookie, and then immediately try to read that cookie value. It appears that the cookie value isn't getting set by the script.
Comment 1 Robbie Paplin 2008-06-18 11:51:35 PDT
Created attachment 21821 [details]
Javascript Cookie Detection Test
Comment 2 Robbie Paplin 2008-06-18 11:52:21 PDT
Comment on attachment 21821 [details]
Javascript Cookie Detection Test

Change mime type to html
Comment 3 Robbie Paplin 2008-06-18 12:08:29 PDT
1. You need to empty your cookie cache before navigating to the test page in order to get the expected results.

2. The bug doesn't seem to repro consistently. When I ran this page from the local file system, it seems to repro. When I ran it from https://bugs.webkit.org, it doesn't seem to happen.