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

Adding support for additional context / dimensions in the crash report #14

Open
nicholaschen opened this issue Jun 10, 2024 · 1 comment

Comments

@nicholaschen
Copy link

The current web reporting payload contains context from the client at time of the crash. additional contextual information would help with debugging, primarily:

  • If the tab / app was in the foreground at time of crash

Other nice-to-have context information:

  • A signal for the amount of memory in use before the crash occurred
  • The last known JS/WASM/Chrome execution frame
  • How many other pages shared this process? (i.e. Is it possible that another page caused the crash? Or was it a shared worker process?)
@clelland
Copy link
Collaborator

clelland commented Jul 4, 2024

I think that background/foreground status is certainly possible. JS stack traces are being tracked in #12, and should at least be included in "unresponsive" reports.

Memory and number-of-shared-pages may have privacy issues, and I'm not sure that we can include those. Especially for browsers without full site/process isolation, this could easily leak information about a user's activity on unrelated websites.

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

No branches or pull requests

2 participants