[Webkit-unassigned] [Bug 38428] HTTP code 500 (and other non-4xx codes) wrongfully treated as success for subresources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 3 10:48:13 PDT 2010


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|<script> onerror not        |HTTP code 500 (and other
                   |executed if server returns  |non-4xx codes) wrongfully
                   |a 500 response              |treated as success for
                   |                            |subresources
           Platform|PC                          |All
         OS/Version|Mac OS X 10.6               |All
             Status|UNCONFIRMED                 |NEW
          Component|WebCore JavaScript          |Page Loading
                 CC|                            |beidson at apple.com,
                   |                            |koivisto at iki.fi
     Ever Confirmed|0                           |1




--- Comment #2 from Alexey Proskuryakov <ap at webkit.org>  2010-05-03 10:48:12 PST ---
Yes, we wrongfully only treat 4xx as error for subresources:

    if (resource->response().httpStatusCode() / 100 == 4) {
        // Treat a 4xx response like a network error for all resources but
images (which will ignore the error and continue to load for 
        // legacy compatibility).
        resource->httpStatusCodeError();
        return;
    }

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