Skip to content

Add optional multi-page HAR generation#160

Open
tinyopsstudio wants to merge 1 commit into
sitespeedio:mainfrom
tinyopsstudio:tinyops-allow-multi-page-har
Open

Add optional multi-page HAR generation#160
tinyopsstudio wants to merge 1 commit into
sitespeedio:mainfrom
tinyopsstudio:tinyops-allow-multi-page-har

Conversation

@tinyopsstudio
Copy link
Copy Markdown

Refs #65.

Summary:

  • add an opt-in allowMultiPage option while preserving the current one-page default
  • create a new HAR page for root-frame scheduled/document navigations when the option is enabled
  • map responses through the entry pageref so second-page document and subresource timings use the correct page
  • cover default compatibility plus the opt-in multi-page navigation behavior with a regression test

Verification:

  • npm test -> 30 tests passed
  • npm run lint -> passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant