xuxiaobo-bobo a27aa6f31b '0605'
2023-06-05 23:25:43 +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');