Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Issue 2556683003: Reland: WebFonts cache-aware timeout adaptation (Closed)

Created:
4 years ago by Takashi Toyoshima
Modified:
4 years ago
CC:
darktears, apavlov+blink_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, rwlbuis, Shao-Chuan Lee, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: WebFonts cache-aware timeout adaptation 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 Committed: https://crrev.com/1289bbe752b4d50eae1be6a3417537f801e5fdbc Cr-Commit-Position: refs/heads/master@{#437522}

Patch Set 1 #

Patch Set 2 : rebase error fix #

Total comments: 2

Patch Set 3 : rebase #

Messages

Total messages: 24 (14 generated)
Takashi Toyoshima
ptal
4 years ago (2016-12-09 05:10:23 UTC) #8
tkent
lgtm
4 years ago (2016-12-09 05:16:24 UTC) #9
yhirano
lgtm
4 years ago (2016-12-09 05:40:42 UTC) #10
Shao-Chuan Lee
https://codereview.chromium.org/2556683003/diff/20001/third_party/WebKit/Source/core/loader/resource/FontResource.cpp File third_party/WebKit/Source/core/loader/resource/FontResource.cpp (right): https://codereview.chromium.org/2556683003/diff/20001/third_party/WebKit/Source/core/loader/resource/FontResource.cpp#newcode194 third_party/WebKit/Source/core/loader/resource/FontResource.cpp:194: DCHECK(isLoading()); Should we make this consistent with fontLoadShortLimitCallback()?
4 years ago (2016-12-09 06:33:52 UTC) #12
Takashi Toyoshima
https://codereview.chromium.org/2556683003/diff/20001/third_party/WebKit/Source/core/loader/resource/FontResource.cpp File third_party/WebKit/Source/core/loader/resource/FontResource.cpp (right): https://codereview.chromium.org/2556683003/diff/20001/third_party/WebKit/Source/core/loader/resource/FontResource.cpp#newcode194 third_party/WebKit/Source/core/loader/resource/FontResource.cpp:194: DCHECK(isLoading()); Sorry for mixing new and old code in ...
4 years ago (2016-12-09 10:28:20 UTC) #13
Takashi Toyoshima
I'd go with TBR=Ilya because this was already approved for the first submit, and want ...
4 years ago (2016-12-09 10:36:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556683003/40001
4 years ago (2016-12-09 11:01:15 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-09 12:45:18 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/1289bbe752b4d50eae1be6a3417537f801e5fdbc Cr-Commit-Position: refs/heads/master@{#437522}
4 years ago (2016-12-09 12:47:36 UTC) #23
Ilya Sherman
4 years ago (2016-12-09 20:15:29 UTC) #24
Message was sent while issue was closed.
RS LGTM for reland

Powered by Google App Engine
This is Rietveld 408576698