Chromium Code Reviews
DescriptionDeflake PageLoadMetricsBrowserTest.FirstMeaningfulPaintNotRecorded
There are two causes of flakiness:
1. ui_test_utils::NavigateToURL() does not guarantee that the page had
a paint after the navigation. FirstMeaningfulPaintStatus will not be
logged if the page is not painted at all. This patch adds a FCP
observer to prevent this.
2. The page may reach network-idle and report FirstMeaningfulPaint
before the tester calls NavigateToUntrackedUrl(). To prevent this,
this patch adds some slow fetch() requests in the test page.
BUG=651870
Review-Url: https://codereview.chromium.org/2799423002
Cr-Commit-Position: refs/heads/master@{#463165}
Committed: https://chromium.googlesource.com/chromium/src/+/115a1494e75fec1c214329b8e8f0be9b35194785
Patch Set 1 #
Messages
Total messages: 14 (10 generated)
|
||||||||||||||||||||||||||||