Changeset 239643 in webkit


Ignore:
Timestamp:
Jan 4, 2019 3:53:22 PM (5 years ago)
Author:
achristensen@apple.com
Message:

Fix API test after r239631
https://bugs.webkit.org/show_bug.cgi?id=193118

  • TestWebKitAPI/Tests/WebKit/UserMedia.cpp:

(TestWebKitAPI::TEST):
This test relied on m_maximumProcessCount being set to 1 in ProcessPoolConfiguration::createWithLegacyOptions.
Do the same thing via the API to fix the test.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r239640 r239643  
     12019-01-04  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix API test after r239631
     4        https://bugs.webkit.org/show_bug.cgi?id=193118
     5
     6        * TestWebKitAPI/Tests/WebKit/UserMedia.cpp:
     7        (TestWebKitAPI::TEST):
     8        This test relied on m_maximumProcessCount being set to 1 in ProcessPoolConfiguration::createWithLegacyOptions.
     9        Do the same thing via the API to fix the test.
     10
    1112019-01-04  Jer Noble  <jer.noble@apple.com>
    212
  • trunk/Tools/TestWebKitAPI/Tests/WebKit/UserMedia.cpp

    r239631 r239643  
    107107{
    108108    auto context = adoptWK(WKContextCreateWithConfiguration(nullptr));
     109    WKContextSetMaximumNumberOfProcesses(context.get(), 1);
    109110
    110111    WKRetainPtr<WKPageGroupRef> pageGroup(AdoptWK, WKPageGroupCreateWithIdentifier(Util::toWK("GetUserMedia").get()));
Note: See TracChangeset for help on using the changeset viewer.