[Webkit-unassigned] [Bug 129946] New: Regression: Session Cookies dropped from Application Cache (Appcache) Manifest Request

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 7 17:39:42 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=129946

           Summary: Regression: Session Cookies dropped from Application
                    Cache (Appcache) Manifest Request
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.9
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihir.ray at gmail.com


Created an attachment (id=226191)
 --> (https://bugs.webkit.org/attachment.cgi?id=226191&action=review)
Contains master page appcache.html. This page will load an iframe which installs application cache.

Starting Safari 7.0.2 the Session Cookies are not included in the appcache manifest request. 

Only cookies with expiry date or cookies which are marked as HttpOnly are added to manifest request.

Steps to reproduce:

1. Create manifest file 

eg. test.manifest

CACHE MANIFEST
# v. 1

CACHE:
appcache.html

NETWORK:
*


2.    Create a manifest loader file eg. manifestloader.html points to manifest.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html manifest="test.manifest">
    <head></head><body></body>
</html>


3.    Inside appcache.html add code to do below steps:
•    On page load add two cookies 
•    First cookie for root path (session cookie)
•    Second cookie for root path with expiry date set to today + 4 days
•    Add code to load an iframe whose src is set to manifestloader.html.
•    When iframe loads it will request test.manifest.

Expected Results:

Check the test.manifest request in n/w trace in safari or fiddler. It should have two cookies on the request. 

Actual Results:

The manifest request (test.manifest) only has one cookie present on request. This is the second cookie with expiry date set. The session cookie is missing.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list