Changeset 238323 in webkit


Ignore:
Timestamp:
Nov 16, 2018 4:17:32 PM (6 years ago)
Author:
Chris Dumez
Message:

Regression(PSON) WebKit.GeolocationTransitionToHighAccuracy API test is timing out
https://bugs.webkit.org/show_bug.cgi?id=191789

Reviewed by Alex Christensen.

Relate the 2 test pages so they use the same process since WKContextSetMaximumNumberOfProcesses()
SPI no longer works with PSON / Process prewarming.

  • TestWebKitAPI/Tests/WebKit/Geolocation.cpp:

(TestWebKitAPI::TEST):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r238319 r238323  
     12018-11-16  Chris Dumez  <cdumez@apple.com>
     2
     3        Regression(PSON) WebKit.GeolocationTransitionToHighAccuracy API test is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=191789
     5
     6        Reviewed by Alex Christensen.
     7
     8        Relate the 2 test pages so they use the same process since WKContextSetMaximumNumberOfProcesses()
     9        SPI no longer works with PSON / Process prewarming.
     10
     11        * TestWebKitAPI/Tests/WebKit/Geolocation.cpp:
     12        (TestWebKitAPI::TEST):
     13
    1142018-11-16  Jonathan Bedard  <jbedard@apple.com>
    215
  • trunk/Tools/TestWebKitAPI/Tests/WebKit/Geolocation.cpp

    r238165 r238323  
    258258{
    259259    WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate());
    260     WKContextSetMaximumNumberOfProcesses(context.get(), 1);
    261260
    262261    GeolocationTransitionToHighAccuracyStateTracker stateTracker;
     
    269268    Util::run(&stateTracker.finishedFirstStep);
    270269
    271     PlatformWebView highAccuracyWebView(context.get());
     270    PlatformWebView highAccuracyWebView(lowAccuracyWebView.page());
    272271    setupView(highAccuracyWebView);
    273272    WKRetainPtr<WKURLRef> highAccuracyURL(AdoptWK, Util::createURLForResource("geolocationWatchPositionWithHighAccuracy", "html"));
Note: See TracChangeset for help on using the changeset viewer.