-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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: add BFCacheFailures
artifact
#14485
Conversation
Should we track the |
so like:
naming up to adam tho |
BFCacheErrors
artifactBFCache
artifact
BFCache
artifactBFCacheFailures
artifact
const events = []; | ||
for (const event of context.dependencies.DevtoolsLog) { | ||
if (event.method === 'Page.backForwardCacheNotUsed') { | ||
events.push(event.params); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will we need the urls associated with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potentially in the future if we start surfacing more than one failure. In that scenario, it would be easy to add a url parameter to Artifacts.BFCacheFailure
. I don't think we should worry about it right now though.
Split off the artifact part from #14465 + added some test cases