Missing Parts of the Performance API? (specifically "clearResourceTimings")
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.
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: https://github.com/denoland/deno/issues/13605.