Skip to content

Conversation

@hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Oct 20, 2025

Summary:

Changelog: [Internal]

React started using clearMeasures in facebook/react#34803. It only does it if performance.measure() is defined. This should be enough for a feature check of User Timings API presence, but out stub doesn't follow the same spec.

Adding clearMarks() and clearMeasures() stubs to the object.

Differential Revision: D85082720

Summary:
# Changelog: [Internal]

React started using `clearMeasures` in facebook/react#34803. It only does it if `performance.measure()` is defined. This should be enough for a  feature check of User Timings API presence, but out stub doesn't follow the same spec.

Adding `clearMarks()` and `clearMeasures()` stubs to the object.

Differential Revision: D85082720
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 20, 2025
@meta-codesync
Copy link

meta-codesync bot commented Oct 20, 2025

@hoxyq has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85082720.

@meta-codesync
Copy link

meta-codesync bot commented Oct 21, 2025

This pull request has been merged in f4a9422.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @hoxyq in f4a9422

When will my fix make it into a release? | How to file a pick request?

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants