Changeset 262071 in webkit


Ignore:
Timestamp:
May 22, 2020 1:33:30 PM (4 years ago)
Author:
timothy_horton@apple.com
Message:

Excessive hang time in iOS Safari under waitForDidUpdateActivityState
https://bugs.webkit.org/show_bug.cgi?id=212272
<rdar://problem/62787789>

Reviewed by Andy Estes.

  • UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:

(WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState):
Make the view state change timeout equivalent on iOS and macOS.

We believe that it is preferable to paint white than block the UI
process main thread for half a second. Reduce the timeout on iOS
to be the same as it has been for years on macOS.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r262066 r262071  
     12020-05-22  Tim Horton  <timothy_horton@apple.com>
     2
     3        Excessive hang time in iOS Safari under waitForDidUpdateActivityState
     4        https://bugs.webkit.org/show_bug.cgi?id=212272
     5        <rdar://problem/62787789>
     6
     7        Reviewed by Andy Estes.
     8
     9        * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
     10        (WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState):
     11        Make the view state change timeout equivalent on iOS and macOS.
     12
     13        We believe that it is preferable to paint white than block the UI
     14        process main thread for half a second. Reduce the timeout on iOS
     15        to be the same as it has been for years on macOS.
     16
    1172020-05-22  Alex Christensen  <achristensen@webkit.org>
    218
  • trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm

    r261133 r262071  
    463463        if (id value = [[NSUserDefaults standardUserDefaults] objectForKey:@"WebKitOverrideActivityStateUpdateTimeout"])
    464464            return Seconds([value doubleValue]);
    465 
    466 #if PLATFORM(IOS_FAMILY)
    467         return Seconds::fromMilliseconds(500);
    468 #else
    469465        return Seconds::fromMilliseconds(250);
    470 #endif
    471466    }();
    472467
Note: See TracChangeset for help on using the changeset viewer.