[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
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lighthouse-core/gather/gatherers/js-usage.js
Co-authored-by: Patrick Hulce <patrick.hulce@gmail.com>
  • Loading branch information
adamraine and patrickhulce committed Jul 27, 2021
commit 9633486335a2b72296d510ddba4a6e541287a066
2 changes: 1 addition & 1 deletion lighthouse-core/gather/gatherers/js-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class JsUsage extends FRGatherer {
/** @type {Record<string, Array<LH.Crdp.Profiler.ScriptCoverage>>} */
const usageByUrl = {};

// Return url to scriptId mappings in snapshot mode.
// Force `Debugger.scriptParsed` events for url to scriptId mappings in snapshot mode.
if (context.gatherMode === 'snapshot') {
await this.startSensitiveInstrumentation(context);
await this.stopSensitiveInstrumentation(context);
Expand Down