1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(ext/node): don't throw when calling PerformanceObserver.observe (#25036)

This commit is contained in:
Luca Casonato 2024-08-14 13:03:53 +02:00 committed by GitHub
parent e2faf50375
commit 2f82873a88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,11 +10,12 @@ import {
} from "ext:deno_web/15_performance.js";
class PerformanceObserver {
static supportedEntryTypes: string[] = [];
observe() {
notImplemented("PerformanceObserver.observe");
// todo(lucacasonato): actually implement this
}
disconnect() {
notImplemented("PerformanceObserver.disconnect");
// todo(lucacasonato): actually implement this
}
}