Skip to content

bfcache load is disturbing stacks collection in legacy navigation #14678

@adamraine

Description

@adamraine

I've been noticing this failure a lot on legacy nav dbw:
https://github.com/GoogleChrome/lighthouse/actions/runs/3914749051/jobs/6692158113

After some investigation, I believe this is a real issue. In legacy navigations, some base artifacts (e.g. Stacks) are collected after all normal gatherers run in the first pass. This means that Stacks is collected after we attempt to reload the page from bfcache. Since dbw_tester prevents bfcache, the page needs to be loaded again which means some resources (e.g. jquery) aren't loaded by the time we try and to stack collection.

This isn't a problem in FR, because Stacks is run as a normal gatherer before we attempt to do the bfcache load.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions