File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ const {
5454 NODE_PERFORMANCE_MILESTONE_ENVIRONMENT
5555} = constants ;
5656
57+ const {
58+ EventTarget,
59+ } = require ( 'internal/event_target' ) ;
5760const L = require ( 'internal/linkedlist' ) ;
5861const kInspect = require ( 'internal/util' ) . customInspectSymbol ;
5962
@@ -418,8 +421,9 @@ class PerformanceObserver {
418421 }
419422}
420423
421- class Performance {
424+ class Performance extends EventTarget {
422425 constructor ( ) {
426+ super ( ) ;
423427 this [ kIndex ] = {
424428 [ kMarks ] : new SafeSet ( )
425429 } ;
Original file line number Diff line number Diff line change 11{
2- "basic.any.js" : {
3- "fail" : " self.performance.addEventListener is not a function"
4- },
52 "idlharness.any.js" : {
63 "skip" : " TODO: update IDL parser"
74 },
You can’t perform that action at this time.
0 commit comments