diff options
author | Luca Casonato <hello@lcas.dev> | 2024-08-14 13:03:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 13:03:53 +0200 |
commit | 2f82873a88cbaea4ebe8e39b5aa7b57ed867512e (patch) | |
tree | c70ce701ec244cc9a9821266cd68c45509220445 /ext/node | |
parent | e2faf50375a0e764fe3cf76d1462830f2062270d (diff) |
fix(ext/node): don't throw when calling PerformanceObserver.observe (#25036)
Diffstat (limited to 'ext/node')
-rw-r--r-- | ext/node/polyfills/perf_hooks.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/node/polyfills/perf_hooks.ts b/ext/node/polyfills/perf_hooks.ts index d48635856..d92b925b5 100644 --- a/ext/node/polyfills/perf_hooks.ts +++ b/ext/node/polyfills/perf_hooks.ts @@ -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 } } |