run-webkit-tests --release -2 http/tests/xmlhttprequest/workers/methods.html --iterations=100
Created attachment 245505 [details] patch
Comment on attachment 245505 [details] patch From the doc: "An invocation of a handler block with the done flag set, zero error and data set to dispatch_data_empty indicates that the I/O operation has encountered EOF." r=me.
Created attachment 245579 [details] better patch
Comment on attachment 245579 [details] better patch View in context: https://bugs.webkit.org/attachment.cgi?id=245579&action=review r=me with nit. > Source/WebKit2/NetworkProcess/cache/NetworkCacheStorageCocoa.mm:381 > + didCallCompletionHandler = true; Could you please add a ASSERT(!didCallCompletionHandler) before this? I am not 100% convinced this will be called only once with done==Yes, even after reading the doc.
Better fix: https://trac.webkit.org/r179327