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

Missing Parts of the Performance API? (specifically "clearResourceTimings") #167

Open
Grunet opened this issue Feb 6, 2022 · 1 comment

Comments

@Grunet
Copy link

Grunet commented Feb 6, 2022

I was trying to see if I could get OpenTelemetry's JS distribution (which currently only has Node and Browser support. Here's the issue for Deno) to work in Deno Deploy, and I noticed in the process that the following call to the Web Performance API was error-ing out.

I believe this is where the call was coming from in code.

performance.clearResourceTimings();

And this was the error I was seeing (from a reproduction case with only the above line in it

TypeError: performance.clearResourceTimings is not a function

This other issue led me to the docs for Deno Deploy's support for the Performance API, but all I could find there was a link to MDN.

Part of me is wondering if this was omitted intentionally (maybe relating to the Spectre concerns from this issue?), but I wasn't sure, so wanted to ask.

@satyarohith
Copy link
Member

Hi, @Grunet.

Thanks for opening the issue. We have to add the support in Deno before it's made available in Deploy. So I've opened an issue: denoland/deno#13605.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants