858f2bdf5
Boyan Georgiev
fixes
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
"use strict";
const EventTargetImpl = require("../events/EventTarget-impl").implementation;
class PerformanceImpl extends EventTargetImpl {
constructor(globalObject, args, privateData) {
super(globalObject, args, privateData);
this._rawPerformance = privateData.rawPerformance;
}
now() {
return this._rawPerformance.now();
}
get timeOrigin() {
return this._rawPerformance.timeOrigin;
}
toJSON() {
return this._rawPerformance.toJSON();
}
}
exports.implementation = PerformanceImpl;
|