-
Notifications
You must be signed in to change notification settings - Fork 26
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
window.performance.createObserver feedback #40
Comments
Using the entry settings object would be really weird. That's not what If you want to do what I still think the implicit magic is bad, but could live with it as long as it's defined properly. |
We really need better hooks from HTML and IDL. Including some guidelines. Or a pattern that people can copy. |
Yes, we do. |
I filed bugs against IDL and also HTML, but W3C Bugzilla is down at the moment. |
Great, thanks! It'll be great to have URLs to those. In the meantime, since folks are already implementing this interface, should we revert back to |
Why are we doing this API when we'll get |
Because Performance APIs are not restricted to fetch events - e.g. Frame Timing, Memory (assuming we take that on), and so on. |
@mpb would you be up to create a pull to revert the constructor interface? I'm not hearing any loud objections.. think we should be ok to proceed :) |
resolved via #43. |
#29 landed
window.performance.createPerformanceObserver
, but we have a few -1's on the new API:To lookup the performance object we can reference the "entry settings object" (EventSource example).
Any other implementation or other concerns with this API? Should we go back to
new PerformanceObserver
?/cc @bzbarsky @esprehn @domenic
The text was updated successfully, but these errors were encountered: