You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on May 28, 2025. It is now read-only.
[x86] [ARM] WOCCatalog Foundation Tests - In URL Session, clicking Resume crashes the app #1844
Checked reference platform, this is indeed expected to crash. We were previously passing nil value for resumeData and expecting the session to return a nil.
Activity
rajsesh commentedon Jan 27, 2017
Allen Ballway (@aballway) This is a result of #1607.
[self _registerDownloadTask:newTask withCompletionHandler:completionHandler];
is called in multiple places in NSURLSession, but if resumeData is nil, we insert a nil object into the array and blow up.
rajsesh commentedon Jan 27, 2017
Not clear if reference platform allows this.
rajsesh commentedon Jan 27, 2017
Checked reference platform, this is indeed expected to crash. We were previously passing nil value for resumeData and expecting the session to return a nil.
NSURLSession should throw for creating tasks with nil request or resu…
Release 1702.1 (#1992)