(list, obs)
| 64 | new PerformanceObserver(common.mustCall(callback)); |
| 65 | |
| 66 | function callback(list, obs) { |
| 67 | assert.strictEqual(obs, observer); |
| 68 | const entries = list.getEntries(); |
| 69 | assert.strictEqual(entries.length, 3); |
| 70 | observer.disconnect(); |
| 71 | } |
| 72 | observer.observe({ entryTypes: ['mark', 'node'] }); |
| 73 | performance.mark('test1'); |
| 74 | performance.mark('test2'); |
nothing calls this directly
no test coverage detected