• toyoshim's avatar
    Reland: WebFonts cache-aware timeout adaptation · 1289bbe7
    toyoshim authored
    Suspicious root cause of the last revert was fixed. See crbug.com/670638.
    Description from https://crrev.com/dc8303234f47ccfc841185d33c45e4852776b65e:
    
    This CL introduces adaptive webfont display behavior, reducing unnecessary Flash
    of Unstyled Text (FOUT) if webfont is already available in disk cache.  This is
    available as a experimental Web Platform feature.
    
    In webfont display, fallback font will be used if webfont loading time exceeds
    certain timeout values in slow network. However it's observed that disk cache
    RTT may also hit the timeout regardless of network speed. In such cases we would
    like to block display until disk cache misses and actual network request is
    being sent.
    
    BUG=570205
    TBR=isherman@chromium.org
    
    Review-Url: https://codereview.chromium.org/2556683003
    Cr-Commit-Position: refs/heads/master@{#437522}
    1289bbe7
RuntimeEnabledFeatures.in 11.4 KB