[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core(fr): add snapshot and timespan support to no-unload-listeners audit #12830

Merged
merged 7 commits into from
Jul 28, 2021

Conversation

adamraine
Copy link
Member

JsUsage was missing some source URL -> script id mappings in timespan mode, so this PR fills in the gaps with empty usages.

I'm concerned that empty usages won't be interpreted the same way as no usages, in which case a new gatherer specifically for source URL -> script id mappings should be considered.

@adamraine adamraine requested a review from a team as a code owner July 27, 2021 20:39
@adamraine adamraine requested review from patrickhulce and removed request for a team July 27, 2021 20:39
@google-cla google-cla bot added the cla: yes label Jul 27, 2021
Copy link
Collaborator
@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

lighthouse-core/gather/gatherers/js-usage.js Outdated Show resolved Hide resolved
lighthouse-core/gather/gatherers/js-usage.js Outdated Show resolved Hide resolved
Co-authored-by: Patrick Hulce <patrick.hulce@gmail.com>
@adamraine adamraine merged commit 233c56e into master Jul 28, 2021
@adamraine adamraine deleted the fr-no-unload-listeners branch July 28, 2021 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants