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

8 lines
1.4 KiB
JavaScript

// IDBOpenDBRequest对象
bodavm.memory.globalobj['IDBOpenDBRequest'] = function IDBOpenDBRequest(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBOpenDBRequest'], "IDBOpenDBRequest");
bodavm.memory.globalobj['IDBOpenDBRequest'].prototype.__proto__=bodavm.memory.globalobj['IDBRequest'].prototype;
bodavm.memory.globalobj['IDBOpenDBRequest'].__proto__=bodavm.memory.globalobj['IDBRequest'];
bodavm.toolsFunc.defineProperty('IDBOpenDBRequest', "onblocked", {configurable:true, enumerable:true, get:function onblocked (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBOpenDBRequest'].prototype, "IDBOpenDBRequest", "onblocked_get", arguments)}, set:function onblocked (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBOpenDBRequest'].prototype, "IDBOpenDBRequest", "onblocked_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('IDBOpenDBRequest', "onupgradeneeded", {configurable:true, enumerable:true, get:function onupgradeneeded (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBOpenDBRequest'].prototype, "IDBOpenDBRequest", "onupgradeneeded_get", arguments)}, set:function onupgradeneeded (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBOpenDBRequest'].prototype, "IDBOpenDBRequest", "onupgradeneeded_set", arguments)}},'prototype');