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

Add visibility change perf metrics event #73

Merged
merged 1 commit into from
May 29, 2024

Conversation

EdmondChuiHW
Copy link

Summary

Add visibilitychange listener. This allows the concept of a session to be introduced:

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon#sending_analytics_at_the_end_of_a_session

Test plan

Test end-to-end via internal D57576112

Upstreaming plan

  • This commit should be sent as a patch to the upstream devtools-frontend repo. I've reviewed the contribution guide.
  • This commit is React Native-specific and cannot be upstreamed.

@EdmondChuiHW EdmondChuiHW marked this pull request as ready for review May 28, 2024 16:07
@EdmondChuiHW EdmondChuiHW merged commit 3188d67 into facebookexperimental:main May 29, 2024
3 checks passed
@EdmondChuiHW EdmondChuiHW deleted the visibility branch May 29, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants