Bug 153885

Summary: [iOS Simulator] WebCoreNSURLSessionTest API tests BasicOperation and InvalidateEmpty failing
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: achristensen, ap, jer.noble
Priority: P2    
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 9.0   
Attachments:
Description Flags
Patch none

Ryan Haddad
Reported 2016-02-04 12:47:59 PST
[iOS Simulator] WebCoreNSURLSessionTest API tests BasicOperation and InvalidateEmpty failing Started with <https://trac.webkit.org/changeset/196082> <https://build.webkit.org/builders/Apple%20iOS%209%20Simulator%20Release%20WK2%20%28Tests%29/builds/2843> Tests that failed: WebCoreNSURLSessionTest.BasicOperation WebCoreNSURLSessionTest.InvalidateEmpty
Attachments
Patch (1.93 KB, patch)
2016-02-04 17:26 PST, Jer Noble
no flags
Jer Noble
Comment 1 2016-02-04 13:22:29 PST
Interesting. I'll take a look.
Jer Noble
Comment 2 2016-02-04 17:26:30 PST
Alex Christensen
Comment 3 2016-02-04 17:30:16 PST
I also have solutions to this in https://bugs.webkit.org/show_bug.cgi?id=153900
Jer Noble
Comment 4 2016-02-04 18:20:08 PST
For the meanwhile, before the more drastic change is made to +[WebView initialize], can we r+ this to get the iOS tests unblocked?
Alex Christensen
Comment 5 2016-02-04 19:31:52 PST
If we're just trying to fix tests, I think https://bugs.webkit.org/attachment.cgi?id=270700&action=review is a better solution than adding more UIKit SPI usage.
Alexey Proskuryakov
Comment 6 2016-02-04 21:17:08 PST
Comment on attachment 270706 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=270706&action=review > Tools/TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:48 > +SOFT_LINK(UIKit, _UIApplicationLoadWebKit, void, (void), ()) If this is necessary for WebKit tests, should we do this in shared code? The fix in https://bugs.webkit.org/show_bug.cgi?id=153900 seems preferable still, but I don't know if there is some reason why we can't do initialization in WebKit.
Jer Noble
Comment 7 2016-02-05 13:52:48 PST
*** This bug has been marked as a duplicate of bug 153900 ***
Note You need to log in before you can comment on or make changes to this bug.