-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
lib, doc: standardize params in PerformanceObserver.observe #47025
base: main
Are you sure you want to change the base?
Conversation
3616f7d
to
e34733d
Compare
@@ -33,6 +33,13 @@ test(() => { | |||
}); | |||
}, "Calling observe() with type and entryTypes should throw a TypeError"); | |||
|
|||
test(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes in WPT should be submitted to the upstream first: https://github.com/web-platform-tests/wpt.
In the meantime, you can move this test case to test/parallel/
directory. That's where Node.js' test cases are located at.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have the changes been upstreamed?
This fixes missing validation when options.buffered and options.entryType are both set in PerformanceObserver.observe
https://www.w3.org/TR/performance-timeline/#observe-method