Title: [239643] trunk/Tools
- Revision
- 239643
- Author
- [email protected]
- Date
- 2019-01-04 15:53:22 -0800 (Fri, 04 Jan 2019)
Log 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.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (239642 => 239643)
--- trunk/Tools/ChangeLog 2019-01-04 23:42:32 UTC (rev 239642)
+++ trunk/Tools/ChangeLog 2019-01-04 23:53:22 UTC (rev 239643)
@@ -1,3 +1,13 @@
+2019-01-04 Alex Christensen <[email protected]>
+
+ 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.
+
2019-01-04 Jer Noble <[email protected]>
[WebKitLegacy] Media playback pauses on scroll
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit/UserMedia.cpp (239642 => 239643)
--- trunk/Tools/TestWebKitAPI/Tests/WebKit/UserMedia.cpp 2019-01-04 23:42:32 UTC (rev 239642)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit/UserMedia.cpp 2019-01-04 23:53:22 UTC (rev 239643)
@@ -106,6 +106,7 @@
TEST(WebKit, OnDeviceChangeCrash)
{
auto context = adoptWK(WKContextCreateWithConfiguration(nullptr));
+ WKContextSetMaximumNumberOfProcesses(context.get(), 1);
WKRetainPtr<WKPageGroupRef> pageGroup(AdoptWK, WKPageGroupCreateWithIdentifier(Util::toWK("GetUserMedia").get()));
WKPreferencesRef preferences = WKPageGroupGetPreferences(pageGroup.get());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes