boda_jsEnv/env_xbb_lastest_jsdom/env/PerformanceEntry.js
xuxiaobo-bobo 28c0fc3999 '0218'
2023-02-18 03:07:48 +08:00

9 lines
1.7 KiB
JavaScript

// PerformanceEntry对象
bodavm.memory.globalobj['PerformanceEntry'] = function PerformanceEntry(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PerformanceEntry'], "PerformanceEntry");
bodavm.toolsFunc.defineProperty('PerformanceEntry', "name", {configurable:true, enumerable:true, get:function name (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceEntry'].prototype, "PerformanceEntry", "name_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceEntry', "entryType", {configurable:true, enumerable:true, get:function entryType (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceEntry'].prototype, "PerformanceEntry", "entryType_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceEntry', "startTime", {configurable:true, enumerable:true, get:function startTime (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceEntry'].prototype, "PerformanceEntry", "startTime_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceEntry', "duration", {configurable:true, enumerable:true, get:function duration (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceEntry'].prototype, "PerformanceEntry", "duration_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceEntry', "toJSON", {configurable:true, enumerable:true, writable:true, value:function toJSON (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceEntry'].prototype, "PerformanceEntry", "toJSON", arguments)}},'prototype');