[Webkit-unassigned] [Bug 20491] New: XHR sometimes says xhr.status == 204 when it should be 200

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 23 01:46:59 PDT 2008


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

           Summary: XHR sometimes says xhr.status == 204 when it should be
                    200
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://damowmow.com/playground/bugs/unfiled/010.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ian at hixie.ch


STEPS TO REPRODUCE
 1. Load http://damowmow.com/playground/bugs/unfiled/010.html
 2. You may need to reload a couple of times.

ACTUAL RESULTS
 204 204

EXPECTED RESULTS
 PASS (second XHR's status should be 200)

The test page does two XHRs back to back. The first returns:

   HTTP/1.1 204 No Content
   Content-Type: text/plain

The second returns:

   HTTP/1.1 200 OK
   Content-Type: text/plain

   Testing...

It appears that the second time the 204 page is hit, the Content-Type line in
the 204 response causes the 204 response to "leak" its status code to the next
XHR.


-- 
Configure bugmail: https://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