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

Issue 2431503002: Log web fonts intervention result more accurately (Closed)

Created:
4 years, 2 months ago by tbansal1
Modified:
4 years, 2 months ago
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis, Kunihiko Sakamoto
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log web fonts intervention result more accurately 1) Log result only when there was no CORS error. 2) Log result only when font display was set to auto since intervention is run only when the font display is auto. 3) Do not log result if the font failed to load. BUG=656836 Committed: https://crrev.com/6f885eafc877e4170ac854794a7a33d72e1b0269 Cr-Commit-Position: refs/heads/master@{#426891}

Patch Set 1 #

Patch Set 2 : Do not record result if there was a load error #

Total comments: 7

Patch Set 3 : Addressed comments #

Total comments: 8

Patch Set 4 : Addressed comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -7 lines) Patch
M third_party/WebKit/Source/core/css/RemoteFontFaceSource.h View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp View 1 2 3 3 chunks +12 lines, -4 lines 2 comments Download

Messages

Total messages: 37 (20 generated)
tbansal1
toyoshim: ptal. thanks.
4 years, 2 months ago (2016-10-18 00:44:53 UTC) #5
tbansal1
toyoshim: ptal. I slightly updated the logic in ps#2.
4 years, 2 months ago (2016-10-18 06:12:48 UTC) #11
Takashi Toyoshima
+ksakamoto https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode412 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:412: As you changed, this method is called from ...
4 years, 2 months ago (2016-10-19 06:36:53 UTC) #12
tbansal1
https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode412 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:412: On 2016/10/19 06:36:52, toyoshim wrote: > As you changed, ...
4 years, 2 months ago (2016-10-19 08:27:56 UTC) #13
Takashi Toyoshima
https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode412 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:412: That's true for the current implementation. But we do ...
4 years, 2 months ago (2016-10-19 10:16:28 UTC) #14
tbansal1
toyoshim: ptal. thanks. https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode412 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:412: On 2016/10/19 10:16:28, toyoshim wrote: > ...
4 years, 2 months ago (2016-10-20 00:10:58 UTC) #18
Takashi Toyoshima
https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/20001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode417 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:417: display == FontDisplayAuto && font->getStatus() != Resource::LoadError) { Thanks! ...
4 years, 2 months ago (2016-10-20 10:12:44 UTC) #21
tbansal1
toyoshim: ptal. thanks. https://codereview.chromium.org/2431503002/diff/60001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/60001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode267 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:267: bool isCorsFailed, On 2016/10/20 10:12:44, toyoshim ...
4 years, 2 months ago (2016-10-21 06:58:13 UTC) #23
Takashi Toyoshima
Thanks. PS4 LGTM.
4 years, 2 months ago (2016-10-21 10:02:16 UTC) #24
tbansal1
kinuko: ptal at * for OWNERS approval. Thanks.
4 years, 2 months ago (2016-10-21 16:08:52 UTC) #26
kinuko
lgtm https://codereview.chromium.org/2431503002/diff/100001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/100001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode117 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:117: m_font->getStatus() == Resource::LoadError, nit: if these two are ...
4 years, 2 months ago (2016-10-21 17:07:11 UTC) #27
tbansal1
https://codereview.chromium.org/2431503002/diff/100001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp File third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp (right): https://codereview.chromium.org/2431503002/diff/100001/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp#newcode117 third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp:117: m_font->getStatus() == Resource::LoadError, On 2016/10/21 17:07:11, kinuko wrote: > ...
4 years, 2 months ago (2016-10-21 17:14:32 UTC) #28
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/2431503002/100001
4 years, 2 months ago (2016-10-21 17:15:06 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/321509)
4 years, 2 months ago (2016-10-21 19:08:17 UTC) #32
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/2431503002/100001
4 years, 2 months ago (2016-10-21 21:08:20 UTC) #34
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/6f885eafc877e4170ac854794a7a33d72e1b0269 Cr-Commit-Position: refs/heads/master@{#426891}
4 years, 2 months ago (2016-10-21 21:34:39 UTC) #36
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 21:35:15 UTC) #37
Message was sent while issue was closed.
Failed to apply the patch.
On branch working_branch
Your branch is up-to-date with 'origin/refs/pending/heads/master'.
nothing to commit, working tree clean

Powered by Google App Engine
This is Rietveld 408576698