mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
fix(ext/node): don't throw when calling PerformanceObserver.observe (#25036)
This commit is contained in:
parent
e2faf50375
commit
2f82873a88
1 changed files with 3 additions and 2 deletions
|
@ -10,11 +10,12 @@ import {
|
||||||
} from "ext:deno_web/15_performance.js";
|
} from "ext:deno_web/15_performance.js";
|
||||||
|
|
||||||
class PerformanceObserver {
|
class PerformanceObserver {
|
||||||
|
static supportedEntryTypes: string[] = [];
|
||||||
observe() {
|
observe() {
|
||||||
notImplemented("PerformanceObserver.observe");
|
// todo(lucacasonato): actually implement this
|
||||||
}
|
}
|
||||||
disconnect() {
|
disconnect() {
|
||||||
notImplemented("PerformanceObserver.disconnect");
|
// todo(lucacasonato): actually implement this
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue