[Webkit-unassigned] [Bug 207028] New: [Cocoa] Remove NSURLSessionResumeInfoLocalPath workaround where not needed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 30 19:26:42 PST 2020


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

            Bug ID: 207028
           Summary: [Cocoa] Remove NSURLSessionResumeInfoLocalPath
                    workaround where not needed
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: david_quesada at apple.com

CFNetwork fixed rdar://problem/34745171 in iOS 13 and macOS 10.15, which means that WebKit no longer needs the workaround of adding “NSURLSessionResumeInfoLocalPath” to resume data before creating a download task. However, the OS conditional in Download::resume() is set up so that non-Mac builds and 10.15-or-later Mac builds still attempt that workaround in the #else block. This workaround doesn’t have any effect (since CFNetwork changed the internal format of the resume data in macOS Mojave / iOS 12), and its presence only leaves the potential for a bug in the future if the format of the resume data blob is significantly changed in the future. We should remove this “workaround”. (keeping the first part of the #if/else around for Mojave)

-- 
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/20200131/f44e50cf/attachment-0001.htm>


More information about the webkit-unassigned mailing list