Bug 84223

Summary: [BlackBerry] HTTP GET header has a "Cookie" when refreshing a page after cookies have been cleared.
Product: WebKit Reporter: Jason Liu <jasonliuwebkit>
Component: WebKit BlackBerryAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: rwlbuis, staikos, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Jason Liu 2012-04-17 19:05:22 PDT
How To reproduce
1. Launch the browser
2. Go to the following website: http://63.64.187.235/longterm_cookie.php
3. Go to the following website: http://63.64.187.235/plain_cookie.php
4. Go to the following website: http://63.64.187.235/cookie_result1.php
5. Clear all cookies
6. Refresh the page
7. Put the input cursor in the URL bar and hit GO


Expected Results
2. A long term cookie is stored.  The cookie expires in 5-minutes
3. A session cookie is stored
4. The pages displays the following, or similar
   [--- BEGIN PAGE CONTENT ---]
        These are the cookies received from your browser: 
        1: test = 1
        2: lt_test = 1
   [--- END PAGE CONTENT ---]
5. All Cookies are deleted
6. The pages displays the following, or similar
   [--- BEGIN PAGE CONTENT ---]
        These are the cookies received from your browser: 
   [--- END PAGE CONTENT ---]
7. The pages displays the following, or similar
   [--- BEGIN PAGE CONTENT ---]
        These are the cookies received from your browser: 
   [--- END PAGE CONTENT ---]


Actual Results
2. As expected
3. As expected
4. As expected
5. Web Inspected does not show any cookies.
6. The pages displays the following, or similar
   [--- BEGIN PAGE CONTENT ---]
        These are the cookies received from your browser: 
        1: test = 1
        2: lt_test = 1
   [--- END PAGE CONTENT ---]
7. The pages displays the following, or similar
   [--- BEGIN PAGE CONTENT ---]
        These are the cookies received from your browser: 
   [--- END PAGE CONTENT ---]
Comment 1 Jason Liu 2012-04-17 20:46:13 PDT
Created attachment 137650 [details]
Patch
Comment 2 George Staikos 2012-04-18 01:09:55 PDT
Comment on attachment 137650 [details]
Patch

Change cookieHeaderMayDirty to cookieHeaderMayBeDirty
Comment 3 Jason Liu 2012-04-18 02:38:47 PDT
Created attachment 137662 [details]
Patch
Comment 4 WebKit Review Bot 2012-04-18 03:56:53 PDT
Comment on attachment 137662 [details]
Patch

Clearing flags on attachment: 137662

Committed r114498: <http://trac.webkit.org/changeset/114498>
Comment 5 WebKit Review Bot 2012-04-18 03:56:58 PDT
All reviewed patches have been landed.  Closing bug.