capricorn86 / happy-dom

A JavaScript implementation of a web browser without its graphical user interface
MIT License
3.08k stars 185 forks source link

Add support for `PerformanceObserver` #1428

Open RaisinTen opened 2 months ago

RaisinTen commented 2 months ago

The performance API is already exposed in https://github.com/capricorn86/happy-dom/blob/8ceadb32471be31b60aac4be7e2bad8a4d033c43/packages/happy-dom/src/window/BrowserWindow.ts#L419 but the PerformanceObserver API is missing. Might be worth adding support for that.