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

Update return value entry for performance.measure #18216

Merged
merged 1 commit into from Nov 16, 2022

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Nov 15, 2022

Summary

This PR updates https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure#browser_compatibility to change from "Returns undefined" to "Returns PerformanceMeasure". I think it is backwards to talk about undefined as the return value here.

Test results and supporting details

Firefox implemented "Returns PerformanceMeasure" in 103: https://hg.mozilla.org/mozilla-central/rev/2d93cc964b79

Safari implemented "Returns PerformanceMeasure" in Preview 114: https://webkit.org/blog/11333/release-notes-for-safari-technology-preview-115/ ("Update User Timing interfaces to User Timing Level 3"). 114 is in Safari 14.1 per https://webkit.org/blog/11648/new-webkit-features-in-safari-14-1/

Related issues

This was introduced in #13478

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants