[Webkit-unassigned] [Bug 198298] REGRESSION (r245756) [Mac] 2 TestWebKitAPI.DownloadProgress* and TestWebKitAPI._WKDownload.DownloadMonitorCancel are flaky timeouts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 30 09:31:06 PDT 2019


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

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #370906|review?                     |review+
              Flags|                            |

--- Comment #6 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 370906
  --> https://bugs.webkit.org/attachment.cgi?id=370906
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=370906&action=review

> Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:629
> +                auto resumeDataReference = [resumeData isKindOfClass:[NSData class]] ? IPC::DataReference { static_cast<const uint8_t*>(resumeData.bytes), resumeData.length } : IPC::DataReference { };

Silently failing to use resumeData seems quite unfortunate. What are we losing today, and what will make resuming fail in the future? We should at least assert that resumeData is one of the types known today.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190530/979b5dbf/attachment.html>


More information about the webkit-unassigned mailing list