Skip to content

Commit

Permalink
Update first-meaningful-paint.js
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Aug 31, 2016
1 parent e7d3ef0 commit add0f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/audits/first-meaningful-paint.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class FirstMeaningfulPaint extends Audit {
e.name === 'Paint' ||
e.name === 'TracingStartedInPage';
}).forEach(event => {
// Grab the page's ID from TracingStartedInPage
// Grab the page's ID from the first TracingStartedInPage in the trace
if (event.name === 'TracingStartedInPage' && !mainFrameID) {
mainFrameID = event.args.data.page;
}
Expand Down

0 comments on commit add0f03

Please sign in to comment.