| Summary: | http/tests/xmlhttprequest/workers/methods.html sometimes times out with disk cache enabled | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | kling | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Antti Koivisto
2015-01-27 18:55:42 PST
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 |