[Webkit-unassigned] [Bug 50589] New: don't fire error handler for empty 404 script

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 6 14:21:50 PST 2010


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

           Summary: don't fire error handler for empty 404 script
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ojan at chromium.org
                CC: eric at webkit.org, abarth at webkit.org


Created an attachment (id=75735)
 --> (https://bugs.webkit.org/attachment.cgi?id=75735&action=review)
test case

The script element fires the load event and not the error event for a script that 404s but returns 0 bytes. See the test case. Firefox fires the error handler in this case. 

Note: The test depends on the HTTP server returning an empty 404 response. If that changed, obviously the test case would no longer be valid. :)

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