[Webkit-unassigned] [Bug 40995] New: Data returned in certain XHR events are not meaningful or wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 22 10:48:36 PDT 2010


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

           Summary: Data returned in certain XHR events are not meaningful
                    or wrong
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sng at rim.com


Scenario One:
- Send XHR to a known HTML file (i.e. status should be 200)
- OnLoad, OnLoadStart always returns event with both loaded and total value =0, and lengthComputable=false
- OnProgess is working fine, passing the right data back

Scenario Two:
- Send XHR to a known HTML file (i.e. status should be 200) with unknown content length (No Content-Length header send back)
- OnProgress event returns total that is garbage (i.e. some arbitrary large number) Should it be 0?

Scenario Three:
- Send XHR to cross origin location where it's not allowed
- ONError always returns event with both loaded and total value =0, and lengthComputable=false

Scenario Four:
- Send XHR and then abort
- OnAbort always returns event with both loaded and total value =0, and lengthComputable=false

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