[Webkit-unassigned] [Bug 13596] New: Implement .onprogress handler on XMLHttpRequest objects to support progressive download content length information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 5 10:26:04 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13596

           Summary: Implement .onprogress handler on XMLHttpRequest objects
                    to support progressive download content length
                    information
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ml at graougraou.com


In current WebKit nightlies, the only mean I found to get information about a
progressive download is through a rather inefficient method: querying
.responseText.length and getting the Content-Length header on each call of
.onreadystatechange handler. Mozilla support a special .onprogress handler
which is passed an event object with a .position and .totalSize properties as
an argument. This is mentioned
on the MozDev page http://developer.mozilla.org/en/docs/XMLHttpRequest.

See bug http://bugs.webkit.org/show_bug.cgi?id=13595 to see how bad the current
technique is.


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