[Webkit-unassigned] [Bug 126720] New: Improper conditional request handling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 9 14:16:24 PST 2014


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

           Summary: Improper conditional request handling
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lee at bigcartel.com


This has been an issue at least since the public release version of safari shipped with Mavericks as far as I can tell. Possibly earlier. The symptoms are the periodic appearance of a blank page when refreshing. It appears to be due to improper handling of conditional requests when refresh is requested by the user. 

# Steps to reproduce
 * Access a resource that delivers conditional content (Cache-control: public as well so things are actually cached)
 * Open web inspector and hit return in your URL bar till you note safari sending conditional requests and receiving 304s back
 * Refresh the page (cmd+r or refresh in url bar)

# Result
A blank page should appear.

# Expected result
The page content should be rendered

On the final/full refresh safari seems to be sending a conditional request (if-none-match present in the request headers). The server responds appropriately with a 304 response and a blank body. It's as if Webkit assumes that sent an unconditional request and fails to load the response from cache.

For reference the following URL exhibits the behavior described in the Mavericks build of Safari and the latest nightly as of writing.
http://pilotthisplanedown.bigcartel.com

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