Skip to content

Commit

Permalink
compat note about firstContentfulPaint trace event.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
paulirish committed Jul 26, 2016
1 parent da09ffb commit 3e81a6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lighthouse-core/audits/first-meaningful-paint.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class FirstMeaningfulPaint extends Audit {
}
// firstContentfulPaint == the first time that text or image content was
// painted. See src/third_party/WebKit/Source/core/paint/PaintTiming.h
// COMPAT: firstContentfulPaint trace event first introduced in Chrome 49 (r370921)
if (event.name === 'firstContentfulPaint' && event.args.frame === mainFrameID) {
firstContentfulPaint = event;
}
Expand Down

0 comments on commit 3e81a6d

Please sign in to comment.