Changeset 196189 in webkit


Ignore:
Timestamp:
Feb 5, 2016 1:53:00 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Fix iOS API tests after r196082
https://bugs.webkit.org/show_bug.cgi?id=153900

Patch by Alex Christensen <achristensen@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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r196158 r196189  
     12016-02-05  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix iOS API tests after r196082
     4        https://bugs.webkit.org/show_bug.cgi?id=153900
     5
     6        Reviewed by Jer Noble.
     7
     8        * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
     9        (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
     10        [WebView initialize] doesn't call JSC::initializeThreading on iOS.
     11
    1122016-02-04  Jason Marcell  <jmarcell@apple.com>
    213
  • trunk/Tools/TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm

    r196093 r196189  
    2929
    3030#import "PlatformUtilities.h"
     31#import <JavaScriptCore/InitializeThreading.h>
    3132#import <WebKit/WebView.h>
    3233#import <WebCore/FrameLoadRequest.h>
     
    109110    virtual void SetUp()
    110111    {
     112#if PLATFORM(IOS)
     113        JSC::initializeThreading();
     114#endif
    111115        view = [[WebView alloc] initWithFrame:NSZeroRect];
    112116        view.frameLoadDelegate = [[[TestNSURLSessionLoaderDelegate alloc] init] autorelease];
Note: See TracChangeset for help on using the changeset viewer.