Title: [196189] trunk/Tools
- Revision
- 196189
- Author
- commit-qu...@webkit.org
- Date
- 2016-02-05 13:53:00 -0800 (Fri, 05 Feb 2016)
Log Message
Fix iOS API tests after r196082
https://bugs.webkit.org/show_bug.cgi?id=153900
Patch by Alex Christensen <achristen...@webkit.org> on 2016-02-05
Reviewed by Jer Noble.
* TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
(TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
[WebView initialize] doesn't call JSC::initializeThreading on iOS.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (196188 => 196189)
--- trunk/Tools/ChangeLog 2016-02-05 21:41:24 UTC (rev 196188)
+++ trunk/Tools/ChangeLog 2016-02-05 21:53:00 UTC (rev 196189)
@@ -1,3 +1,14 @@
+2016-02-05 Alex Christensen <achristen...@webkit.org>
+
+ Fix iOS API tests after r196082
+ https://bugs.webkit.org/show_bug.cgi?id=153900
+
+ Reviewed by Jer Noble.
+
+ * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
+ (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
+ [WebView initialize] doesn't call JSC::initializeThreading on iOS.
+
2016-02-04 Jason Marcell <jmarc...@apple.com>
The status message for passing combined builder queues should say "all builds succeeded" when expanded.
Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm (196188 => 196189)
--- trunk/Tools/TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm 2016-02-05 21:41:24 UTC (rev 196188)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm 2016-02-05 21:53:00 UTC (rev 196189)
@@ -28,6 +28,7 @@
#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
#import "PlatformUtilities.h"
+#import <_javascript_Core/InitializeThreading.h>
#import <WebKit/WebView.h>
#import <WebCore/FrameLoadRequest.h>
#import <WebCore/MainFrame.h>
@@ -108,6 +109,9 @@
virtual void SetUp()
{
+#if PLATFORM(IOS)
+ JSC::initializeThreading();
+#endif
view = [[WebView alloc] initWithFrame:NSZeroRect];
view.frameLoadDelegate = [[[TestNSURLSessionLoaderDelegate alloc] init] autorelease];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes