Skip to content

Conversation

@timfish
Copy link
Collaborator

@timfish timfish commented May 31, 2022

Electron renderers can have a combined Chrome and node.js context which can cause it to be detected as node.js when in fact it has full browser features.

This PR simplifies the detection of the browser performance API so that it doesn't fail to record page load metrics when running in an Electron renderer with mixed context.

@timfish timfish marked this pull request as draft May 31, 2022 21:17
@timfish timfish marked this pull request as ready for review May 31, 2022 23:04
@AbhiPrasad AbhiPrasad merged commit ed2f9be into getsentry:master Jun 2, 2022
@timfish timfish deleted the fix/page-load-metrics-electron branch September 27, 2022 12:31
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.

2 participants