Bug 22298

Summary: Sometimes upload progress is not reported on Tiger
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ap, darin, mitz
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Macintosh   
OS: OS X 10.4   

Description Sam Weinig 2008-11-16 14:08:39 PST
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.
Comment 1 Sam Weinig 2008-11-16 14:14:06 PST
<rdar://problem/6375992>
Comment 2 mitz 2011-11-03 17:36:58 PDT
Tiger is no longer supported.