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

Issue 2799423002: Deflake PageLoadMetricsBrowserTest.FirstMeaningfulPaintNotRecorded (Closed)

Created:
3 years, 8 months ago by Kunihiko Sakamoto
Modified:
3 years, 8 months ago
CC:
chromium-reviews, csharrison+watch_chromium.org, loading-reviews+metrics_chromium.org, speed-metrics-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Deflake 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc View 1 chunk +9 lines, -2 lines 0 comments Download
A chrome/test/data/page_load_metrics/page_with_active_connections.html View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
Kunihiko Sakamoto
3 years, 8 months ago (2017-04-07 08:40:40 UTC) #6
Charlie Harrison
LGTM
3 years, 8 months ago (2017-04-07 13:39:56 UTC) #9
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/2799423002/1
3 years, 8 months ago (2017-04-10 01:09:57 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 02:14:09 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/115a1494e75fec1c214329b8e8f0...

Powered by Google App Engine
This is Rietveld 408576698