Skip to content

Conversation

@skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Nov 8, 2024

Summary

most are taken from documentation:

https://nodejs.org/docs/latest/api/globals.html#performanceresourcetiming
https://nodejs.org/docs/latest/api/perf_hooks.html#class-performanceresourcetiming

but, note that initiatorType, nextHopProtocol, responseStart, deliveryType and responseStatus does not has its documentation, thus can not determine its version number via documentation (docs issue fired at nodejs/node#55793)

most are implemented via nodejs/node#42725, in https://nodejs.org/zh-cn/blog/release/v16.17.0 and https://nodejs.org/zh-cn/blog/release/v18.2.0; also confirmed nextHopProtocol and responseStart is implemented here (here initiatorType may return from toJSON() method, but can not access directly)

initiatorType is implemented via nodejs/node#43593, in https://nodejs.org/zh-cn/blog/release/v16.17.0 and https://nodejs.org/zh-cn/blog/release/v18.6.0

deliveryType and responseStatus is implemented via nodejs/node#51589, in https://nodejs.org/zh-cn/blog/release/v22.2.0

Test results and supporting details

Related issues

@skyclouds2001 skyclouds2001 marked this pull request as ready for review November 8, 2024 21:55
@caugner caugner added the nodejs Data about Node.js label Nov 12, 2024
@github-actions github-actions bot added the data:browsers Data about browsers (versions, release dates, etc). This data is used for validation. label Nov 13, 2024
@github-actions github-actions bot added the size:l [PR only] 101-1000 LoC changed label Nov 23, 2024
@github-actions github-actions bot added the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Dec 17, 2024
@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Dec 17, 2024
Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu <[email protected]>
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

"nodejs": [
{
"version_added": "18.6.0",
"notes": "Since v18.2.0, the value can be returned by `toJSON()`, but can not accessed via property getter."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't double-check, but plausible based on nodejs/node#43593.

Comment on lines +697 to +705
"nodejs": [
{
"version_added": "18.2.0"
},
{
"version_added": "16.17.0",
"version_removed": "17.0.0"
}
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified via nodejs/node#42725.

@caugner caugner changed the title Add nodejs data for PerformanceResourceTiming Add Node.js data for PerformanceResourceTiming Jan 6, 2025
@caugner caugner dismissed queengooborg’s stale review January 6, 2025 16:22

Changes applied.

@caugner caugner merged commit 6cef0b2 into mdn:main Jan 6, 2025
9 checks passed
@mdn-bot mdn-bot mentioned this pull request Jan 6, 2025
@skyclouds2001 skyclouds2001 deleted the node-PerformanceResourceTiming branch January 6, 2025 16:39
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 data:browsers Data about browsers (versions, release dates, etc). This data is used for validation. nodejs Data about Node.js size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants