Bug 22298 - Sometimes upload progress is not reported on Tiger
Summary: Sometimes upload progress is not reported on Tiger
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2008-11-16 14:08 PST by Sam Weinig
Modified: 2011-11-03 17:36 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 mitz 2011-11-03 17:36:58 PDT
Tiger is no longer supported.