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

Issue 2528513003: first-paint and first-contentful paint (Closed)

Created:
4 years ago by sunjian
Modified:
3 years, 11 months ago
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-paint_chromium.org, Xianzhu
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

first-paint and first-contentful paint BUG=657825 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2528513003 Cr-Commit-Position: refs/heads/master@{#443142} Committed: https://chromium.googlesource.com/chromium/src/+/20d9207c7997b8d0d2a978032e25a3a4274a9f5f

Patch Set 1 : idl format #

Total comments: 4

Patch Set 2 : addressed comments and added layout tests #

Patch Set 3 : moved layout test from http/ to fast/ #

Patch Set 4 : updated layout tests #

Total comments: 6

Patch Set 5 : addressed comments #

Total comments: 9

Patch Set 6 : addressed comments #

Patch Set 7 : moved paint events after observer script to make sure observing happens before paint events get tri… #

Patch Set 8 : fix nit #

Patch Set 9 : editted expected.txt #

Patch Set 10 : fixed cross-origin-object layout test failure #

Patch Set 11 : sync #

Patch Set 12 : merged with master #

Patch Set 13 : updated PerformanceEntryType size #

Total comments: 2

Patch Set 14 : addressed comments #

Patch Set 15 : sync #

Patch Set 16 : resolved PerformanceEntryType type mismatch #

Patch Set 17 : addressed cross-origin object failure #

Patch Set 18 : added flag to skip first-paint layout tests #

Patch Set 19 : Got rid of DCHECK cause it breaks unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -7 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html View 1 2 3 4 5 6 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt/html/browsers/origin/cross-origin-objects/cross-origin-objects-exceptions-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core_idl_files.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintTiming.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceBase.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceBase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +23 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceEntry.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceEntry.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/timing/PerformancePaintTiming.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/timing/PerformancePaintTiming.cpp View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/timing/PerformancePaintTiming.idl View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 172 (119 generated)
panicker
-Yoav for now: we are still iterating here.
4 years ago (2016-11-28 21:32:27 UTC) #15
panicker
https://codereview.chromium.org/2528513003/diff/60001/third_party/WebKit/Source/core/timing/PerformanceBase.h File third_party/WebKit/Source/core/timing/PerformanceBase.h (right): https://codereview.chromium.org/2528513003/diff/60001/third_party/WebKit/Source/core/timing/PerformanceBase.h#newcode153 third_party/WebKit/Source/core/timing/PerformanceBase.h:153: PerformancePaintTimingEntries m_paintTimingBuffer; This is not supposed to be buffer-able ...
4 years ago (2016-11-29 22:21:15 UTC) #16
panicker
+Tim
4 years ago (2016-11-29 23:49:20 UTC) #18
tdresser
Sounds like removing the buffer will simplify this a bunch - I'll take a look ...
4 years ago (2016-11-30 17:41:56 UTC) #19
sunjian
https://codereview.chromium.org/2528513003/diff/60001/third_party/WebKit/Source/core/timing/PerformanceBase.h File third_party/WebKit/Source/core/timing/PerformanceBase.h (right): https://codereview.chromium.org/2528513003/diff/60001/third_party/WebKit/Source/core/timing/PerformanceBase.h#newcode153 third_party/WebKit/Source/core/timing/PerformanceBase.h:153: PerformancePaintTimingEntries m_paintTimingBuffer; On 2016/11/29 22:21:15, Shubhie wrote: > This ...
4 years ago (2016-12-02 21:39:57 UTC) #26
panicker
https://codereview.chromium.org/2528513003/diff/140001/third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html File third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html (right): https://codereview.chromium.org/2528513003/diff/140001/third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html#newcode14 third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html:14: var entries = entryList.getEntries(); Add comment indicating why FP ...
4 years ago (2016-12-05 20:51:23 UTC) #31
sunjian
https://codereview.chromium.org/2528513003/diff/140001/third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html File third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html (right): https://codereview.chromium.org/2528513003/diff/140001/third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html#newcode14 third_party/WebKit/LayoutTests/fast/performance/performance-first-paint-timing-observable.html:14: var entries = entryList.getEntries(); On 2016/12/05 20:51:23, panicker wrote: ...
4 years ago (2016-12-07 21:55:44 UTC) #33
tdresser
LGTM with nit. https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html File third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html (right): https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html#newcode15 third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html:15: assert_equals(entries.length, 2, Does the spec require ...
4 years ago (2016-12-08 14:54:40 UTC) #37
tdresser
Can you fill in the BUG section of the CL description?
4 years ago (2016-12-08 14:55:00 UTC) #38
panicker
LGTM https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html File third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html (right): https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html#newcode15 third_party/WebKit/LayoutTests/fast/performance/performance-paint-timing-observable.html:15: assert_equals(entries.length, 2, On 2016/12/08 14:54:40, tdresser wrote: > ...
4 years ago (2016-12-09 00:15:01 UTC) #40
panicker
Kentaro, could you review for OWNERs?
4 years ago (2016-12-09 00:20:37 UTC) #42
haraken
LGTM https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/Source/core/paint/PaintTiming.cpp File third_party/WebKit/Source/core/paint/PaintTiming.cpp (right): https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/Source/core/paint/PaintTiming.cpp#newcode24 third_party/WebKit/Source/core/paint/PaintTiming.cpp:24: performance = DOMWindowPerformance::performance(*frame->localDOMWindow()); frame->localDOMWindow() may return null. Check ...
4 years ago (2016-12-09 00:30:03 UTC) #43
sunjian
https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/Source/core/paint/PaintTiming.cpp File third_party/WebKit/Source/core/paint/PaintTiming.cpp (right): https://codereview.chromium.org/2528513003/diff/160001/third_party/WebKit/Source/core/paint/PaintTiming.cpp#newcode24 third_party/WebKit/Source/core/paint/PaintTiming.cpp:24: performance = DOMWindowPerformance::performance(*frame->localDOMWindow()); On 2016/12/09 00:30:03, haraken wrote: > ...
4 years ago (2016-12-09 19:06:50 UTC) #49
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/2528513003/200001
4 years ago (2016-12-09 21:33:27 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/196244) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years ago (2016-12-09 22:12:56 UTC) #61
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/2528513003/240001
4 years ago (2016-12-10 02:17:14 UTC) #68
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/347710)
4 years ago (2016-12-10 04:11:31 UTC) #70
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/2528513003/260001
3 years, 11 months ago (2017-01-05 00:57:20 UTC) #77
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2178)
3 years, 11 months ago (2017-01-05 02:44:44 UTC) #79
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/2528513003/260001
3 years, 11 months ago (2017-01-05 18:23:39 UTC) #81
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2188)
3 years, 11 months ago (2017-01-05 19:40:04 UTC) #83
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/2528513003/300001
3 years, 11 months ago (2017-01-06 20:31:59 UTC) #90
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2220)
3 years, 11 months ago (2017-01-06 21:32:38 UTC) #92
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/2528513003/320001
3 years, 11 months ago (2017-01-06 22:46:28 UTC) #95
sunjian
Made some changes after LGTMed. Merged conflicts and had to make changes to the size ...
3 years, 11 months ago (2017-01-06 23:48:40 UTC) #97
panicker
https://codereview.chromium.org/2528513003/diff/320001/third_party/WebKit/Source/core/timing/PerformanceEntry.h File third_party/WebKit/Source/core/timing/PerformanceEntry.h (right): https://codereview.chromium.org/2528513003/diff/320001/third_party/WebKit/Source/core/timing/PerformanceEntry.h#newcode46 third_party/WebKit/Source/core/timing/PerformanceEntry.h:46: using PerformanceEntryType = unsigned short; prefer unsigned long so ...
3 years, 11 months ago (2017-01-06 23:55:31 UTC) #98
sunjian
3 years, 11 months ago (2017-01-07 00:19:09 UTC) #99
sunjian
https://codereview.chromium.org/2528513003/diff/320001/third_party/WebKit/Source/core/timing/PerformanceEntry.h File third_party/WebKit/Source/core/timing/PerformanceEntry.h (right): https://codereview.chromium.org/2528513003/diff/320001/third_party/WebKit/Source/core/timing/PerformanceEntry.h#newcode46 third_party/WebKit/Source/core/timing/PerformanceEntry.h:46: using PerformanceEntryType = unsigned short; On 2017/01/06 23:55:31, panicker ...
3 years, 11 months ago (2017-01-07 00:19:34 UTC) #100
panicker
LGTM
3 years, 11 months ago (2017-01-07 00:23:52 UTC) #101
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/2528513003/340001
3 years, 11 months ago (2017-01-07 01:02:29 UTC) #104
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2232)
3 years, 11 months ago (2017-01-07 01:51:57 UTC) #106
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/2528513003/360001
3 years, 11 months ago (2017-01-09 18:38:40 UTC) #109
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/360112)
3 years, 11 months ago (2017-01-09 19:23:00 UTC) #111
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/2528513003/360001
3 years, 11 months ago (2017-01-09 21:36:43 UTC) #113
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/2528513003/420001
3 years, 11 months ago (2017-01-10 03:12:24 UTC) #130
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2268)
3 years, 11 months ago (2017-01-10 07:13:36 UTC) #132
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/2528513003/440001
3 years, 11 months ago (2017-01-10 19:23:29 UTC) #136
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/2279)
3 years, 11 months ago (2017-01-10 20:24:38 UTC) #138
panicker
On 2017/01/10 20:24:38, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 11 months ago (2017-01-10 20:39:21 UTC) #139
tdresser
On 2017/01/10 20:39:21, panicker wrote: > On 2017/01/10 20:24:38, commit-bot: I haz the power wrote: ...
3 years, 11 months ago (2017-01-11 14:15:22 UTC) #140
Xianzhu
You can unblock this CL from the fix of first paint tracking for spv2 (https://codereview.chromium.org/2623043002/) ...
3 years, 11 months ago (2017-01-11 19:18:38 UTC) #141
Xianzhu
On 2017/01/11 19:18:38, Xianzhu wrote: > You can unblock this CL from the fix of ...
3 years, 11 months ago (2017-01-11 19:19:14 UTC) #142
sunjian
I added crbug.com/657825 fast/performance/performance- first-paint-timing-observable.html [ Skip ] crbug.com/657825 fast/performance/performance-paint-timing-observable.html [ Skip ]. The test ...
3 years, 11 months ago (2017-01-11 20:17:39 UTC) #143
sunjian
I added crbug.com/657825 fast/performance/performance- first-paint-timing-observable.html [ Skip ] crbug.com/657825 fast/performance/performance-paint-timing-observable.html [ Skip ]. The test ...
3 years, 11 months ago (2017-01-11 20:17:39 UTC) #144
blink-reviews
Can you try re-running using the trybot? On Wed, Jan 11, 2017 at 12:17 PM, ...
3 years, 11 months ago (2017-01-11 20:48:36 UTC) #145
chromium-reviews
Can you try re-running using the trybot? On Wed, Jan 11, 2017 at 12:17 PM, ...
3 years, 11 months ago (2017-01-11 20:48:36 UTC) #146
Xianzhu
On 2017/01/11 20:17:39, sunjian wrote: > I added crbug.com/657825 fast/performance/performance- > first-paint-timing-observable.html [ Skip ] ...
3 years, 11 months ago (2017-01-11 22:17:13 UTC) #149
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/2528513003/480001
3 years, 11 months ago (2017-01-11 22:56:49 UTC) #156
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/369284)
3 years, 11 months ago (2017-01-12 00:34:52 UTC) #158
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/2528513003/500001
3 years, 11 months ago (2017-01-12 00:44:13 UTC) #161
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/2528513003/520001
3 years, 11 months ago (2017-01-12 01:09:41 UTC) #166
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/2528513003/520001
3 years, 11 months ago (2017-01-12 03:49:20 UTC) #169
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 03:55:06 UTC) #172
Message was sent while issue was closed.
Committed patchset #19 (id:520001) as
https://chromium.googlesource.com/chromium/src/+/20d9207c7997b8d0d2a978032e25...

Powered by Google App Engine
This is Rietveld 408576698