| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Thank you for the contribution, @ChristianBoehlke!
Sorry, something went wrong.
PR-URL: #40019 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This spelling mistake in a property name has been fixed in node.js per nodejs/node#40019
…cafca * Fix property 'detail' of PerformanceEntry This spelling mistake in a property name has been fixed in node.js per nodejs/node#40019 * Add missing comma * Fix 'detail' property name in perf_hooks test
PR-URL: #40019 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
| Back | FazBrowse Home | New Git URL |
Hello,
I noticed that the performanceEntry that is passed to the callback of PerformanceObserver does not have a property details but it does have a property detail (without the "s"). This is also in line with the deprecation warning and what I could find in the source code:
node/lib/internal/perf/performance_entry.js
Line 44 in 1c4df35
node/lib/internal/perf/performance_entry.js
Line 63 in 1c4df35
node/lib/internal/perf/observe.js
Line 75 in 1c4df35
In case this is correct: I have changed the documentation accordingly. Please let me know if I can do anything else.
Thank you!