Skip to content

Define PerformanceMark in global#51710

Closed
hoxyq wants to merge 1 commit into
react:mainfrom
hoxyq:export-D75692314
Closed

Define PerformanceMark in global#51710
hoxyq wants to merge 1 commit into
react:mainfrom
hoxyq:export-D75692314

Conversation

@hoxyq

@hoxyq hoxyq commented May 30, 2025

Copy link
Copy Markdown
Contributor

Summary:

Changelog: [Internal]

You can actually call new PerformanceMark(...) on global: https://w3c.github.io/user-timing/#the-performancemark-constructor

NOTE: Although PerformanceMeasure is also visible on Window, you can't call it. It will throw Illegal Constructor error.

Differential Revision: D75692314

Summary:
# Changelog: [Internal]

You can actually call `new PerformanceMark(...)` on global: https://w3c.github.io/user-timing/#the-performancemark-constructor

NOTE: Although PerformanceMeasure is also visible on Window, you can't call it. It will throw Illegal Constructor error.

Differential Revision: D75692314
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels May 30, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D75692314

@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.

@react-native-bot react-native-bot added Stale There has been a lack of activity on this issue and it may be closed soon. and removed Stale There has been a lack of activity on this issue and it may be closed soon. labels Dec 2, 2025
@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jun 2, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

Closing this PR as the diff D75692314 has been abandoned internally.

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 p: Facebook Partner: Facebook Partner Stale There has been a lack of activity on this issue and it may be closed soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants