Skip to content

Commit

Permalink
Add misisng render blocking status.
Browse files Browse the repository at this point in the history
It's not only blocking that is blocking in Chrome there are also the
status in_body_parser_blocking.
  • Loading branch information
soulgalore committed Jul 21, 2021
1 parent 6317872 commit 59126ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/transformers/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function makeRowCssClasses(status: number, renderBlockingStatus: string,

if (renderBlockingStatus === "potentially_blocking") {
classes.push("potentiallyRenderBlocking");
} else if (renderBlockingStatus === "blocking") {
} else if (renderBlockingStatus === "blocking" || renderBlockingStatus === "in_body_parser_blocking") {
classes.push("renderBlocking");
}

Expand Down

0 comments on commit 59126ce

Please sign in to comment.