Skip to content

Commit

Permalink
tech: move renderblocking field so it exists for all browsers (#1972)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jul 22, 2023
1 parent d360390 commit 6a26177
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/core/engine/collector.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function getNewResult(url, options) {
fullyLoaded: [],
mainDocumentTimings: [],
errors: [],
renderBlocking: [],
server: { processesAtStart: [] }
};
}
Expand Down Expand Up @@ -400,9 +401,6 @@ export class Collector {
}

if (data.renderBlocking) {
if (!results.renderBlocking) {
results.renderBlocking = [];
}
results.renderBlocking.push(data.renderBlocking);

statistics.addDeep({
Expand Down

0 comments on commit 6a26177

Please sign in to comment.