[Webkit-unassigned] [Bug 22298] New: Sometime upload progress is not reported for uploads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 16 14:08:39 PST 2008


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

           Summary: Sometime upload progress is not reported for uploads
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sam at webkit.org
                CC: darin at apple.com, ap at webkit.org


Due to the way upload progress events (used only by XHR right now) are
implemented on Tiger can cause a race condition happen where a ResourceHandle
didFinishLoading callback is called before a didSendData callback.  The issue
seems to be that the callOnMainThread call that is used by FormDataStreamMac to
communicate that data has been sent is is not synchronized with main thread
callbacks CFNetwork makes for didFinishLoading.  This is not an issue on
Windows or Leopard, as CFNetwork has provided support for upload progress
themselves.


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