This commit is contained in:
xuxiaobo-bobo 2023-04-21 12:28:19 +08:00
parent 5d5611b4af
commit fdfd6d6cf1
177 changed files with 3700 additions and 19720 deletions

View File

@ -21,7 +21,7 @@ bodavm.memory.document={
documentURI:"${document.documentURI}", documentURI:"${document.documentURI}",
compatMode:"${document.compatMode}", compatMode:"${document.compatMode}",
dir:"${document.dir}", dir:"${document.dir}",
title:"${document.title}", title:'${document.title}',
designMode:"${document.designMode}", designMode:"${document.designMode}",
readyState:"${document.readyState}", readyState:"${document.readyState}",
contentType:"${document.contentType}", contentType:"${document.contentType}",
@ -103,11 +103,23 @@ bodavm.memory.window={
onblur:${onblur}, onblur:${onblur},
oncancel:${oncancel}, oncancel:${oncancel},
oncanplay:${oncanplay}, oncanplay:${oncanplay},
oncanplaythrough:${oncanplaythrough} oncanplaythrough:${oncanplaythrough},
onsearch:${onsearch},
opener:${opener},
frameElement:${frameElement},
}; };
bodavm.memory.localStorage={} bodavm.memory.localStorage={}
bodavm.memory.Performance={
'getEntriesByType':${JSON.stringify(performance.getEntriesByType('resource'))},
'timeOrigin':${performance.timeOrigin}
};
` `
copy(aaaaaa) copy(aaaaaa)

File diff suppressed because one or more lines are too long

View File

@ -6,6 +6,7 @@ let mylist2 = ''
let name_ = [] let name_ = []
function getFile(name) { function getFile(name) {
try { try {
// name_.push(name)
return fs.readFileSync(`${env_path}/${name}.js`) + "\r\n"; return fs.readFileSync(`${env_path}/${name}.js`) + "\r\n";
} catch (e) { } catch (e) {
@ -20,6 +21,7 @@ function getHtmlElement() {
let filelist = fs.readdirSync(`${env_path}/htmlElements`) let filelist = fs.readdirSync(`${env_path}/htmlElements`)
for (let i = 0; i < filelist.length; i++) { for (let i = 0; i < filelist.length; i++) {
code += fs.readFileSync(`${env_path}/htmlElements/${filelist[i]}`) + "\r\n" code += fs.readFileSync(`${env_path}/htmlElements/${filelist[i]}`) + "\r\n"
// name_.push(filelist[i])
} }
return code return code
@ -36,6 +38,7 @@ function getCode() {
code += getFile("WindowProperties") code += getFile("WindowProperties")
code += getFile("Window") code += getFile("Window")
code += getFile("Node") code += getFile("Node")
code +=getFile('StorageManager')
code += getFile("Element") code += getFile("Element")
code += getFile("HTMLElement") code += getFile("HTMLElement")
code += getFile("HTMLCollection") code += getFile("HTMLCollection")
@ -64,6 +67,8 @@ function getCode() {
code += getFile("CanvasRenderingContext2D") code += getFile("CanvasRenderingContext2D")
code += getFile("WebGLRenderingContext") code += getFile("WebGLRenderingContext")
code += getFile("MediaQueryList") code += getFile("MediaQueryList")
// code += getFile("matchMedia")
code += getFile("CSSRuleList") code += getFile("CSSRuleList")
code += getFile('Attr') code += getFile('Attr')
code += getFile('Option') code += getFile('Option')
@ -118,6 +123,7 @@ function getCode() {
code += getFile('ScreenOrientation') code += getFile('ScreenOrientation')
code += getFile("PerformanceEntry") code += getFile("PerformanceEntry")
code += getFile("PerformancePaintTiming") code += getFile("PerformancePaintTiming")
code +=getFile("PerformanceResourceTiming")
code += getFile("Permissions") code += getFile("Permissions")
code += getFile("PermissionStatus") code += getFile("PermissionStatus")
code += getFile("Request") code += getFile("Request")
@ -152,7 +158,8 @@ function getCode() {
code += getFile("XMLHttpRequest") code += getFile("XMLHttpRequest")
// code += getFile("globalThis") //全局环境放在最后 // code += getFile("globalThis") //全局环境放在最后
// console.log('name_',name_)
// debugger
return code return code
} }
module.exports = { module.exports = {

View File

@ -1,5 +1,5 @@
const fs=require("fs"); var fs=require("fs");
const path = require("path"); var path = require("path");
function getFile(name) { function getFile(name) {
@ -18,7 +18,7 @@ function getCode(){
let code="" let code=""
code+=getFile("toolsFunc") code+=getFile("toolsFunc")
// code+=getFile("toolsJsSoup") // code+=getFile("toolsJsSoup")
code+=getFile("toolsParseHtml") // code+=getFile("toolsParseHtml")
code+=getFile("envFunc") code+=getFile("envFunc")
code+=getFile("toolsPlugin") code+=getFile("toolsPlugin")
return code return code

View File

@ -1,7 +1,9 @@
// Attr对象 // Attr对象
bodavm.memory.globalobj['Attr'] = function Attr(){ bodavm.memory.globalobj['Attr'] = function Attr(){
this._boisinit=bodavm.config.isinit;
return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")
// this.isinit=bodavm.config.isinit
}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Attr'], "Attr"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Attr'], "Attr");
bodavm.memory.globalobj['Attr'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype; bodavm.memory.globalobj['Attr'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype;
bodavm.memory.globalobj['Attr'].__proto__=bodavm.memory.globalobj['Node']; bodavm.memory.globalobj['Attr'].__proto__=bodavm.memory.globalobj['Node'];

View File

@ -4,7 +4,7 @@ bodavm.memory.globalobj['Audio'] = function Audio(){
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Audio': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Audio': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };
this._boisinit=bodavm.config.isinit;
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Audio'], "Audio"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Audio'], "Audio");
bodavm.memory.globalobj['Audio'].prototype.__proto__=bodavm.memory.globalobj['HTMLMediaElement'].prototype; bodavm.memory.globalobj['Audio'].prototype.__proto__=bodavm.memory.globalobj['HTMLMediaElement'].prototype;

View File

@ -1,25 +1,27 @@
// BarProp对象 // BarProp对象
bodavm.memory.globalobj['BarProp'] = function BarProp(){ bodavm.memory.globalobj['BarProp'] = function BarProp(){
this._boisinit=bodavm.config.isinit;
return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BarProp'], "BarProp"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BarProp'], "BarProp");
bodavm.toolsFunc.defineProperty('BarProp', "visible", {configurable:true, enumerable:true, get:function visible (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['BarProp'].prototype, "BarProp", "visible_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('BarProp', "visible", {configurable:true, enumerable:true, get:function visible (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['BarProp'].prototype, "BarProp", "visible_get", arguments)}, set:undefined},'prototype');
// locationbar对象 // locationbar对象
bodavm.memory.globalobj['locationbar'] = {} bodavm.memory.globalobj['locationbar'] = {
_boisinit:bodavm.config.isinit
}
bodavm.memory.globalobj['locationbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype; bodavm.memory.globalobj['locationbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype;
bodavm.memory.globalobj['menubar'] ={} bodavm.memory.globalobj['menubar'] ={ _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj['menubar'].__proto__= bodavm.memory.globalobj['BarProp'].prototype; bodavm.memory.globalobj['menubar'].__proto__= bodavm.memory.globalobj['BarProp'].prototype;
bodavm.memory.globalobj['statusbar'] ={} bodavm.memory.globalobj['statusbar'] ={ _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj['statusbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype bodavm.memory.globalobj['statusbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype
bodavm.memory.globalobj['toolbar'] ={} bodavm.memory.globalobj['toolbar'] ={ _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj['toolbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype bodavm.memory.globalobj['toolbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype
bodavm.memory.globalobj['personalbar'] ={} bodavm.memory.globalobj['personalbar'] ={ _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj['personalbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype bodavm.memory.globalobj['personalbar'].__proto__=bodavm.memory.globalobj['BarProp'].prototype
bodavm.memory.globalobj['scrollbars'] ={} bodavm.memory.globalobj['scrollbars'] ={ _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj['scrollbars'].__proto__=bodavm.memory.globalobj['BarProp'].prototype bodavm.memory.globalobj['scrollbars'].__proto__=bodavm.memory.globalobj['BarProp'].prototype

View File

@ -1,5 +1,5 @@
// BaseAudioContext对象 // BaseAudioContext对象
bodavm.memory.globalobj['BaseAudioContext'] = function BaseAudioContext(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['BaseAudioContext'] = function BaseAudioContext(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BaseAudioContext'], "BaseAudioContext"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BaseAudioContext'], "BaseAudioContext");
bodavm.memory.globalobj['BaseAudioContext'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['BaseAudioContext'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['BaseAudioContext'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['BaseAudioContext'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// BatteryManager对象 // BatteryManager对象
bodavm.memory.globalobj['BatteryManager'] = function BatteryManager(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['BatteryManager'] = function BatteryManager(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BatteryManager'], "BatteryManager"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BatteryManager'], "BatteryManager");
bodavm.memory.globalobj['BatteryManager'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['BatteryManager'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['BatteryManager'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['BatteryManager'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -4,7 +4,7 @@ bodavm.memory.globalobj['BeforeInstallPromptEvent'] = function BeforeInstallProm
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'BeforeInstallPromptEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function.")} return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'BeforeInstallPromptEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function.")}
if (arguments.length <1){ if (arguments.length <1){
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'BeforeInstallPromptEvent': 1 argument required, but only 0 present.")} return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'BeforeInstallPromptEvent': 1 argument required, but only 0 present.")}
this._boisinit=bodavm.config.isinit;
} }

View File

@ -1,5 +1,5 @@
// Bluetooth对象 // Bluetooth对象
bodavm.memory.globalobj['Bluetooth'] = function Bluetooth(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Bluetooth'] = function Bluetooth(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Bluetooth'], "Bluetooth"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Bluetooth'], "Bluetooth");
bodavm.memory.globalobj['Bluetooth'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['Bluetooth'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['Bluetooth'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['Bluetooth'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// BluetoothUUID对象 // BluetoothUUID对象
bodavm.memory.globalobj['BluetoothUUID'] = function BluetoothUUID(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['BluetoothUUID'] = function BluetoothUUID(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BluetoothUUID'], "BluetoothUUID"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['BluetoothUUID'], "BluetoothUUID");
bodavm.toolsFunc.defineProperty('BluetoothUUID', "canonicalUUID", {configurable:true, enumerable:true, writable:true, value:function canonicalUUID (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['BluetoothUUID'].prototype, "BluetoothUUID", "canonicalUUID", arguments)}}); bodavm.toolsFunc.defineProperty('BluetoothUUID', "canonicalUUID", {configurable:true, enumerable:true, writable:true, value:function canonicalUUID (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['BluetoothUUID'].prototype, "BluetoothUUID", "canonicalUUID", arguments)}});
bodavm.toolsFunc.defineProperty('BluetoothUUID', "getCharacteristic", {configurable:true, enumerable:true, writable:true, value:function getCharacteristic (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['BluetoothUUID'].prototype, "BluetoothUUID", "getCharacteristic", arguments)}}); bodavm.toolsFunc.defineProperty('BluetoothUUID', "getCharacteristic", {configurable:true, enumerable:true, writable:true, value:function getCharacteristic (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['BluetoothUUID'].prototype, "BluetoothUUID", "getCharacteristic", arguments)}});

View File

@ -1,5 +1,5 @@
// CDATASection对象 // CDATASection对象
bodavm.memory.globalobj['CDATASection'] = function CDATASection(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CDATASection'] = function CDATASection(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CDATASection'], "CDATASection"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CDATASection'], "CDATASection");
bodavm.memory.globalobj['CDATASection'].prototype.__proto__=bodavm.memory.globalobj['Text'].prototype; bodavm.memory.globalobj['CDATASection'].prototype.__proto__=bodavm.memory.globalobj['Text'].prototype;
bodavm.memory.globalobj['CDATASection'].__proto__=bodavm.memory.globalobj['Text']; bodavm.memory.globalobj['CDATASection'].__proto__=bodavm.memory.globalobj['Text'];

View File

@ -1,6 +1,6 @@
// CSS对象 // CSS对象
bodavm.memory.globalobj['CSS'] = {} bodavm.memory.globalobj['CSS'] = { _boisinit:bodavm.config.isinit}
bodavm.toolsFunc.defineProperty('CSS' , "Hz", {configurable:true, enumerable:true, writable:true, value:function Hz (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSS'], "CSS", "Hz", arguments)}}); bodavm.toolsFunc.defineProperty('CSS' , "Hz", {configurable:true, enumerable:true, writable:true, value:function Hz (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSS'], "CSS", "Hz", arguments)}});
bodavm.toolsFunc.defineProperty('CSS' , "Q", {configurable:true, enumerable:true, writable:true, value:function Q (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSS'], "CSS", "Q", arguments)}}); bodavm.toolsFunc.defineProperty('CSS' , "Q", {configurable:true, enumerable:true, writable:true, value:function Q (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSS'], "CSS", "Q", arguments)}});
bodavm.toolsFunc.defineProperty('CSS' , "ch", {configurable:true, enumerable:true, writable:true, value:function ch (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSS'], "CSS", "ch", arguments)}}); bodavm.toolsFunc.defineProperty('CSS' , "ch", {configurable:true, enumerable:true, writable:true, value:function ch (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSS'], "CSS", "ch", arguments)}});

View File

@ -1,5 +1,5 @@
// CSSRuleList对象 // CSSRuleList对象
bodavm.memory.globalobj['CSSRuleList'] = function CSSRuleList(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CSSRuleList'] = function CSSRuleList(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CSSRuleList'], "CSSRuleList"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CSSRuleList'], "CSSRuleList");
bodavm.toolsFunc.defineProperty('CSSRuleList', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSRuleList'].prototype, "CSSRuleList", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('CSSRuleList', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSRuleList'].prototype, "CSSRuleList", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('CSSRuleList', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSRuleList'].prototype, "CSSRuleList", "item", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CSSRuleList', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSRuleList'].prototype, "CSSRuleList", "item", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// CSSStyleDeclaration对象 // CSSStyleDeclaration对象
bodavm.memory.globalobj['CSSStyleDeclaration'] = function CSSStyleDeclaration(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CSSStyleDeclaration'] = function CSSStyleDeclaration(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CSSStyleDeclaration'], "CSSStyleDeclaration"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CSSStyleDeclaration'], "CSSStyleDeclaration");
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "cssText", {configurable:true, enumerable:true, get:function cssText (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssText_get", arguments)}, set:function cssText (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssText_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "cssText", {configurable:true, enumerable:true, get:function cssText (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssText_get", arguments)}, set:function cssText (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "cssText_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('CSSStyleDeclaration', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSStyleDeclaration'].prototype, "CSSStyleDeclaration", "length_get", arguments)}, set:undefined},'prototype');

View File

@ -1,5 +1,5 @@
// CacheStorage对象 // CacheStorage对象
bodavm.memory.globalobj['CacheStorage'] = function CacheStorage(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CacheStorage'] = function CacheStorage(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CacheStorage'], "CacheStorage"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CacheStorage'], "CacheStorage");
bodavm.toolsFunc.defineProperty('CacheStorage', "delete", {configurable:true, enumerable:true, writable:true, value:function (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "delete", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CacheStorage', "delete", {configurable:true, enumerable:true, writable:true, value:function (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "delete", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CacheStorage', "has", {configurable:true, enumerable:true, writable:true, value:function has (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "has", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CacheStorage', "has", {configurable:true, enumerable:true, writable:true, value:function has (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "has", arguments)}},'prototype');
@ -7,5 +7,5 @@ bodavm.toolsFunc.defineProperty('CacheStorage', "keys", {configurable:true, enum
bodavm.toolsFunc.defineProperty('CacheStorage', "match", {configurable:true, enumerable:true, writable:true, value:function match (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "match", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CacheStorage', "match", {configurable:true, enumerable:true, writable:true, value:function match (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "match", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CacheStorage', "open", {configurable:true, enumerable:true, writable:true, value:function open (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "open", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CacheStorage', "open", {configurable:true, enumerable:true, writable:true, value:function open (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "open", arguments)}},'prototype');
bodavm.memory.globalobj[ 'caches'] = {} bodavm.memory.globalobj[ 'caches'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'caches'].__proto__=bodavm.memory.globalobj['CacheStorage'].prototype; bodavm.memory.globalobj[ 'caches'].__proto__=bodavm.memory.globalobj['CacheStorage'].prototype;

View File

@ -1,5 +1,5 @@
// CanvasRenderingContext2D对象 // CanvasRenderingContext2D对象
bodavm.memory.globalobj['CanvasRenderingContext2D'] = function CanvasRenderingContext2D(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CanvasRenderingContext2D'] = function CanvasRenderingContext2D(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CanvasRenderingContext2D'], "CanvasRenderingContext2D"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CanvasRenderingContext2D'], "CanvasRenderingContext2D");
bodavm.toolsFunc.defineProperty('CanvasRenderingContext2D', "canvas", {configurable:true, enumerable:true, get:function canvas (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CanvasRenderingContext2D'].prototype, "CanvasRenderingContext2D", "canvas_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('CanvasRenderingContext2D', "canvas", {configurable:true, enumerable:true, get:function canvas (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CanvasRenderingContext2D'].prototype, "CanvasRenderingContext2D", "canvas_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('CanvasRenderingContext2D', "globalAlpha", {configurable:true, enumerable:true, get:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CanvasRenderingContext2D'].prototype, "CanvasRenderingContext2D", "globalAlpha_get", arguments)}, set:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CanvasRenderingContext2D'].prototype, "CanvasRenderingContext2D", "globalAlpha_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CanvasRenderingContext2D', "globalAlpha", {configurable:true, enumerable:true, get:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CanvasRenderingContext2D'].prototype, "CanvasRenderingContext2D", "globalAlpha_get", arguments)}, set:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CanvasRenderingContext2D'].prototype, "CanvasRenderingContext2D", "globalAlpha_set", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// CharacterData对象 // CharacterData对象
bodavm.memory.globalobj['CharacterData'] = function CharacterData(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CharacterData'] = function CharacterData(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CharacterData'], "CharacterData"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CharacterData'], "CharacterData");
bodavm.memory.globalobj['CharacterData'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype; bodavm.memory.globalobj['CharacterData'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype;
bodavm.memory.globalobj['CharacterData'].__proto__=bodavm.memory.globalobj['Node']; bodavm.memory.globalobj['CharacterData'].__proto__=bodavm.memory.globalobj['Node'];

View File

@ -8,7 +8,7 @@ bodavm.memory.globalobj['CloseEvent'] = function CloseEvent() {
if (arguments.length < 1) { if (arguments.length < 1) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'CloseEvent': 1 argument required, but only 0 present.") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'CloseEvent': 1 argument required, but only 0 present.")
} }
this._boisinit=bodavm.config.isinit;
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CloseEvent'], "CloseEvent"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CloseEvent'], "CloseEvent");

View File

@ -3,7 +3,7 @@ bodavm.memory.globalobj['Comment'] = function Comment(){
if (!(this instanceof Comment)) { if (!(this instanceof Comment)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Comment': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Comment': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
} }
this._boisinit=bodavm.config.isinit;
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Comment'], "Comment"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Comment'], "Comment");
bodavm.memory.globalobj['Comment'].prototype.__proto__=bodavm.memory.globalobj['CharacterData'].prototype; bodavm.memory.globalobj['Comment'].prototype.__proto__=bodavm.memory.globalobj['CharacterData'].prototype;

View File

@ -1,5 +1,5 @@
// CookieStore对象 // CookieStore对象
bodavm.memory.globalobj['CookieStore'] = function CookieStore(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CookieStore'] = function CookieStore(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CookieStore'], "CookieStore"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CookieStore'], "CookieStore");
bodavm.memory.globalobj['CookieStore'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['CookieStore'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['CookieStore'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['CookieStore'].__proto__=bodavm.memory.globalobj['EventTarget'];
@ -9,5 +9,5 @@ bodavm.toolsFunc.defineProperty('CookieStore', "getAll", {configurable:true, enu
bodavm.toolsFunc.defineProperty('CookieStore', "set", {configurable:true, enumerable:true, writable:true, value:function set (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CookieStore'].prototype, "CookieStore", "set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CookieStore', "set", {configurable:true, enumerable:true, writable:true, value:function set (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CookieStore'].prototype, "CookieStore", "set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CookieStore', "onchange", {configurable:true, enumerable:true, get:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CookieStore'].prototype, "CookieStore", "onchange_get", arguments)}, set:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CookieStore'].prototype, "CookieStore", "onchange_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CookieStore', "onchange", {configurable:true, enumerable:true, get:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CookieStore'].prototype, "CookieStore", "onchange_get", arguments)}, set:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CookieStore'].prototype, "CookieStore", "onchange_set", arguments)}},'prototype');
bodavm.memory.globalobj[ 'cookieStore'] = {} bodavm.memory.globalobj[ 'cookieStore'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'cookieStore'].__proto__=bodavm.memory.globalobj['CookieStore'].prototype; bodavm.memory.globalobj[ 'cookieStore'].__proto__=bodavm.memory.globalobj['CookieStore'].prototype;

View File

@ -1,5 +1,5 @@
// CredentialsContainer对象 // CredentialsContainer对象
bodavm.memory.globalobj['CredentialsContainer'] = function CredentialsContainer(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CredentialsContainer'] = function CredentialsContainer(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CredentialsContainer'], "CredentialsContainer"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CredentialsContainer'], "CredentialsContainer");
bodavm.toolsFunc.defineProperty('CredentialsContainer', "create", {configurable:true, enumerable:true, writable:true, value:function create (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CredentialsContainer'].prototype, "CredentialsContainer", "create", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CredentialsContainer', "create", {configurable:true, enumerable:true, writable:true, value:function create (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CredentialsContainer'].prototype, "CredentialsContainer", "create", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CredentialsContainer', "get", {configurable:true, enumerable:true, writable:true, value:function get (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CredentialsContainer'].prototype, "CredentialsContainer", "get", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CredentialsContainer', "get", {configurable:true, enumerable:true, writable:true, value:function get (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CredentialsContainer'].prototype, "CredentialsContainer", "get", arguments)}},'prototype');

View File

@ -1,10 +1,10 @@
// Crypto对象 // Crypto对象
bodavm.memory.globalobj['Crypto'] = function Crypto(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Crypto'] = function Crypto(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Crypto'], "Crypto"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Crypto'], "Crypto");
bodavm.toolsFunc.defineProperty('Crypto', "getRandomValues", {configurable:true, enumerable:true, writable:true, value:function getRandomValues (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Crypto'].prototype, "Crypto", "getRandomValues", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('Crypto', "getRandomValues", {configurable:true, enumerable:true, writable:true, value:function getRandomValues (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Crypto'].prototype, "Crypto", "getRandomValues", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('Crypto', "subtle", {configurable:true, enumerable:true, get:function subtle (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Crypto'].prototype, "Crypto", "subtle_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('Crypto', "subtle", {configurable:true, enumerable:true, get:function subtle (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Crypto'].prototype, "Crypto", "subtle_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('Crypto', "randomUUID", {configurable:true, enumerable:true, writable:true, value:function randomUUID (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Crypto'].prototype, "Crypto", "randomUUID", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('Crypto', "randomUUID", {configurable:true, enumerable:true, writable:true, value:function randomUUID (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Crypto'].prototype, "Crypto", "randomUUID", arguments)}},'prototype');
bodavm.memory.globalobj[ 'crypto'] ={} bodavm.memory.globalobj[ 'crypto'] ={ _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'crypto'].__proto__ = bodavm.memory.globalobj['Crypto'] .prototype bodavm.memory.globalobj[ 'crypto'].__proto__ = bodavm.memory.globalobj['Crypto'] .prototype

View File

@ -1,5 +1,5 @@
// CustomElementRegistry对象 // CustomElementRegistry对象
bodavm.memory.globalobj['CustomElementRegistry'] = function CustomElementRegistry(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['CustomElementRegistry'] = function CustomElementRegistry(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CustomElementRegistry'], "CustomElementRegistry"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CustomElementRegistry'], "CustomElementRegistry");
bodavm.toolsFunc.defineProperty('CustomElementRegistry', "define", {configurable:true, enumerable:true, writable:true, value:function define (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CustomElementRegistry'].prototype, "CustomElementRegistry", "define", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CustomElementRegistry', "define", {configurable:true, enumerable:true, writable:true, value:function define (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CustomElementRegistry'].prototype, "CustomElementRegistry", "define", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CustomElementRegistry', "get", {configurable:true, enumerable:true, writable:true, value:function get (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CustomElementRegistry'].prototype, "CustomElementRegistry", "get", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CustomElementRegistry', "get", {configurable:true, enumerable:true, writable:true, value:function get (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CustomElementRegistry'].prototype, "CustomElementRegistry", "get", arguments)}},'prototype');
@ -7,5 +7,5 @@ bodavm.toolsFunc.defineProperty('CustomElementRegistry', "upgrade", {configurabl
bodavm.toolsFunc.defineProperty('CustomElementRegistry', "whenDefined", {configurable:true, enumerable:true, writable:true, value:function whenDefined (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CustomElementRegistry'].prototype, "CustomElementRegistry", "whenDefined", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('CustomElementRegistry', "whenDefined", {configurable:true, enumerable:true, writable:true, value:function whenDefined (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CustomElementRegistry'].prototype, "CustomElementRegistry", "whenDefined", arguments)}},'prototype');
// customElements对象 // customElements对象
bodavm.memory.globalobj[ 'customElements'] = {} bodavm.memory.globalobj[ 'customElements'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'customElements'].__proto__=bodavm.memory.globalobj['CustomElementRegistry'].prototype; bodavm.memory.globalobj[ 'customElements'].__proto__=bodavm.memory.globalobj['CustomElementRegistry'].prototype;

View File

@ -3,7 +3,7 @@ bodavm.memory.globalobj['DOMParser'] = function DOMParser(){
if (!(this instanceof Document)) { if (!(this instanceof Document)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'DOMParser': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'DOMParser': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };
this._boisinit=bodavm.config.isinit;
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DOMParser'], "DOMParser"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DOMParser'], "DOMParser");
bodavm.toolsFunc.defineProperty('DOMParser', "parseFromString", {configurable:true, enumerable:true, writable:true, value:function parseFromString (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMParser'].prototype, "DOMParser", "parseFromString", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('DOMParser', "parseFromString", {configurable:true, enumerable:true, writable:true, value:function parseFromString (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMParser'].prototype, "DOMParser", "parseFromString", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// DOMStringList对象 // DOMStringList对象
bodavm.memory.globalobj['DOMStringList'] = function DOMStringList(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['DOMStringList'] = function DOMStringList(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DOMStringList'], "DOMStringList"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DOMStringList'], "DOMStringList");
bodavm.toolsFunc.defineProperty('DOMStringList', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMStringList'].prototype, "DOMStringList", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('DOMStringList', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMStringList'].prototype, "DOMStringList", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('DOMStringList', "contains", {configurable:true, enumerable:true, writable:true, value:function contains (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMStringList'].prototype, "DOMStringList", "contains", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('DOMStringList', "contains", {configurable:true, enumerable:true, writable:true, value:function contains (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMStringList'].prototype, "DOMStringList", "contains", arguments)}},'prototype');

View File

@ -1,13 +1,13 @@
// BarProp对象 // BarProp对象
bodavm.memory.globalobj['Database'] = function Database() { return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor") } bodavm.memory.globalobj['Database'] = function Database() { this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor") }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Database'] , "Database"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Database'] , "Database");
bodavm.toolsFunc.defineProperty('Database' , "version", { configurable: true, enumerable: true, get: function version() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "version", arguments) }, set: undefined },'prototype'); bodavm.toolsFunc.defineProperty('Database' , "version", { configurable: true, enumerable: true, get: function version() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "version", arguments) }, set: undefined },'prototype');
bodavm.toolsFunc.defineProperty('Database' , "readTransaction", { configurable: true, enumerable: true, writable: true, value: function readTransaction() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "readTransaction", arguments) } },'prototype'); bodavm.toolsFunc.defineProperty('Database' , "readTransaction", { configurable: true, enumerable: true, writable: true, value: function readTransaction() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "readTransaction", arguments) } },'prototype');
bodavm.toolsFunc.defineProperty('Database' , "transaction", { configurable: true, enumerable: true, writable: true, value: function transaction() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "transaction", arguments) } },'prototype'); bodavm.toolsFunc.defineProperty('Database' , "transaction", { configurable: true, enumerable: true, writable: true, value: function transaction() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "transaction", arguments) } },'prototype');
bodavm.toolsFunc.defineProperty('Database' , "changeVersion", { configurable: true, enumerable: true, writable: true, value: function changeVersion() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "changeVersion", arguments) } },'prototype'); bodavm.toolsFunc.defineProperty('Database' , "changeVersion", { configurable: true, enumerable: true, writable: true, value: function changeVersion() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Database'].prototype, "Database", "changeVersion", arguments) } },'prototype');
bodavm.memory.globalobj[ 'database'] = {} bodavm.memory.globalobj[ 'database'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'database'] .__proto__ = bodavm.memory.globalobj['Database'] .prototype bodavm.memory.globalobj[ 'database'] .__proto__ = bodavm.memory.globalobj['Database'] .prototype

View File

@ -1,5 +1,5 @@
bodavm.memory.globalobj['DeprecatedStorageInfo'] = function DeprecatedStorageInfo() { } bodavm.memory.globalobj['DeprecatedStorageInfo'] = function DeprecatedStorageInfo() { this._boisinit=bodavm.config.isinit;}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DeprecatedStorageInfo'] , "DeprecatedStorageInfo"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DeprecatedStorageInfo'] , "DeprecatedStorageInfo");
bodavm.toolsFunc.defineProperty('DeprecatedStorageInfo' , "TEMPORARY", { configurable: false, enumerable: true, writable: false, value: 0 }); bodavm.toolsFunc.defineProperty('DeprecatedStorageInfo' , "TEMPORARY", { configurable: false, enumerable: true, writable: false, value: 0 });
@ -9,5 +9,5 @@ bodavm.toolsFunc.defineProperty('DeprecatedStorageInfo' , "PERSISTENT", { config
bodavm.toolsFunc.defineProperty('DeprecatedStorageInfo' , "queryUsageAndQuota", { writable: true, enumerable: true, configurable: true, value: function queryUsageAndQuota() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeprecatedStorageInfo'] .prototype, "DeprecatedStorageInfo", "queryUsageAndQuota", arguments) } },'prototype'); bodavm.toolsFunc.defineProperty('DeprecatedStorageInfo' , "queryUsageAndQuota", { writable: true, enumerable: true, configurable: true, value: function queryUsageAndQuota() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeprecatedStorageInfo'] .prototype, "DeprecatedStorageInfo", "queryUsageAndQuota", arguments) } },'prototype');
bodavm.toolsFunc.defineProperty('DeprecatedStorageInfo' , "requestQuota", { writable: true, enumerable: true, configurable: true, value: function requestQuota() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeprecatedStorageInfo'] .prototype, "DeprecatedStorageInfo", "requestQuota", arguments) } },'prototype'); bodavm.toolsFunc.defineProperty('DeprecatedStorageInfo' , "requestQuota", { writable: true, enumerable: true, configurable: true, value: function requestQuota() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeprecatedStorageInfo'] .prototype, "DeprecatedStorageInfo", "requestQuota", arguments) } },'prototype');
bodavm.memory.globalobj[ 'webkitStorageInfo'] = {} bodavm.memory.globalobj[ 'webkitStorageInfo'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'webkitStorageInfo'].__proto__ = bodavm.memory.globalobj['DeprecatedStorageInfo'].prototype bodavm.memory.globalobj[ 'webkitStorageInfo'].__proto__ = bodavm.memory.globalobj['DeprecatedStorageInfo'].prototype

View File

@ -1,6 +1,6 @@
// DeviceOrientationEvent对象 // DeviceOrientationEvent对象
bodavm.memory.globalobj['DeviceOrientationEvent'] = function DeviceOrientationEvent() { bodavm.memory.globalobj['DeviceOrientationEvent'] = function DeviceOrientationEvent() {
this._boisinit=bodavm.config.isinit;
if (!(this instanceof DeviceOrientationEvent)) { if (!(this instanceof DeviceOrientationEvent)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'DeviceOrientationEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'DeviceOrientationEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -3,6 +3,7 @@ bodavm.memory.globalobj['Document'] = function Document(){
if (!(this instanceof Document)) { if (!(this instanceof Document)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Document': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Document': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };
this._boisinit=bodavm.config.isinit;
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Document'], "Document"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Document'], "Document");
bodavm.memory.globalobj['Document'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype; bodavm.memory.globalobj['Document'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype;

View File

@ -1,5 +1,6 @@
// DocumentFragment对象 // DocumentFragment对象
bodavm.memory.globalobj['DocumentFragment'] = function DocumentFragment(){ bodavm.memory.globalobj['DocumentFragment'] = function DocumentFragment(){
this._boisinit=bodavm.config.isinit;
if (!(this instanceof Document)) { if (!(this instanceof Document)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'DocumentFragment': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'DocumentFragment': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,5 +1,5 @@
// DocumentType对象 // DocumentType对象
bodavm.memory.globalobj['DocumentType'] = function DocumentType(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['DocumentType'] = function DocumentType(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DocumentType'], "DocumentType"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DocumentType'], "DocumentType");
bodavm.memory.globalobj['DocumentType'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype; bodavm.memory.globalobj['DocumentType'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype;
bodavm.memory.globalobj['DocumentType'].__proto__=bodavm.memory.globalobj['Node']; bodavm.memory.globalobj['DocumentType'].__proto__=bodavm.memory.globalobj['Node'];

View File

@ -1,5 +1,5 @@
// Element对象 // Element对象
bodavm.memory.globalobj['Element'] = function Element(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Element'] = function Element(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Element'], "Element"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Element'], "Element");
bodavm.memory.globalobj['Element'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype; bodavm.memory.globalobj['Element'].prototype.__proto__=bodavm.memory.globalobj['Node'].prototype;
bodavm.memory.globalobj['Element'].__proto__=bodavm.memory.globalobj['Node']; bodavm.memory.globalobj['Element'].__proto__=bodavm.memory.globalobj['Node'];

View File

@ -1,5 +1,6 @@
//Event对象 //Event对象
bodavm.memory.globalobj['Event']=function Event(){ bodavm.memory.globalobj['Event']=function Event(){
this._boisinit=bodavm.config.isinit;
if (!(this instanceof Event)) { if (!(this instanceof Event)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Event': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Event': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -4,7 +4,7 @@ bodavm.memory.globalobj['EventTarget'] = function EventTarget(){
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'EventTarget': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'EventTarget': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };
this._boisinit=bodavm.config.isinit;
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['EventTarget'], "EventTarget"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['EventTarget'], "EventTarget");
bodavm.toolsFunc.defineProperty('EventTarget', "addEventListener", {configurable:true, enumerable:true, writable:true, value:function addEventListener (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['EventTarget'].prototype, "EventTarget", "addEventListener", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('EventTarget', "addEventListener", {configurable:true, enumerable:true, writable:true, value:function addEventListener (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['EventTarget'].prototype, "EventTarget", "addEventListener", arguments)}},'prototype');

View File

@ -1,10 +1,10 @@
// External对象 // External对象
bodavm.memory.globalobj['External'] = function External(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['External'] = function External(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['External'], "External"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['External'], "External");
bodavm.toolsFunc.defineProperty('External', "AddSearchProvider", {configurable:true, enumerable:true, writable:true, value:function AddSearchProvider (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['External'].prototype, "External", "AddSearchProvider", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('External', "AddSearchProvider", {configurable:true, enumerable:true, writable:true, value:function AddSearchProvider (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['External'].prototype, "External", "AddSearchProvider", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('External', "IsSearchProviderInstalled", {configurable:true, enumerable:true, writable:true, value:function IsSearchProviderInstalled (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['External'].prototype, "External", "IsSearchProviderInstalled", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('External', "IsSearchProviderInstalled", {configurable:true, enumerable:true, writable:true, value:function IsSearchProviderInstalled (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['External'].prototype, "External", "IsSearchProviderInstalled", arguments)}},'prototype');
bodavm.memory.globalobj[ 'external'] = {} bodavm.memory.globalobj[ 'external'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'external'].__proto__=bodavm.memory.globalobj['External'].prototype; bodavm.memory.globalobj[ 'external'].__proto__=bodavm.memory.globalobj['External'].prototype;

View File

@ -1,11 +1,13 @@
// HTMLAudioElement对象 // HTMLAudioElement对象
bodavm.memory.globalobj['HTMLAudioElement'] = function HTMLAudioElement(){ bodavm.memory.globalobj['HTMLAudioElement'] = function HTMLAudioElement(){
this._boisinit=bodavm.config.isinit;
if (!(this instanceof HTMLAudioElement)) { if (!(this instanceof HTMLAudioElement)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'HTMLAudioElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'HTMLAudioElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };
return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor") return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLAudioElement'], "HTMLAudioElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLAudioElement'], "HTMLAudioElement");
bodavm.memory.globalobj['HTMLAudioElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLMediaElement'].prototype; bodavm.memory.globalobj['HTMLAudioElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLMediaElement'].prototype;

View File

@ -1,5 +1,5 @@
// HTMLCollection对象 // HTMLCollection对象
bodavm.memory.globalobj['HTMLCollection'] = function HTMLCollection(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['HTMLCollection'] = function HTMLCollection(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLCollection'], "HTMLCollection"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLCollection'], "HTMLCollection");
bodavm.toolsFunc.defineProperty('HTMLCollection', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLCollection'].prototype, "HTMLCollection", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('HTMLCollection', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLCollection'].prototype, "HTMLCollection", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('HTMLCollection', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLCollection'].prototype, "HTMLCollection", "item", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('HTMLCollection', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLCollection'].prototype, "HTMLCollection", "item", arguments)}},'prototype');

View File

@ -1,5 +1,6 @@
// HTMLDocument对象 // HTMLDocument对象
bodavm.memory.globalobj['HTMLDocument'] = function HTMLDocument(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['HTMLDocument'] = function HTMLDocument(){this._boisinit=bodavm.config.isinit;
return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLDocument'], "HTMLDocument"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLDocument'], "HTMLDocument");
bodavm.memory.globalobj['HTMLDocument'].prototype.__proto__=bodavm.memory.globalobj['Document'].prototype; bodavm.memory.globalobj['HTMLDocument'].prototype.__proto__=bodavm.memory.globalobj['Document'].prototype;
bodavm.memory.globalobj['HTMLDocument'].__proto__=bodavm.memory.globalobj['Document']; bodavm.memory.globalobj['HTMLDocument'].__proto__=bodavm.memory.globalobj['Document'];

View File

@ -1,5 +1,5 @@
// HTMLElement对象 // HTMLElement对象
bodavm.memory.globalobj['HTMLElement'] = function HTMLElement(){ bodavm.memory.globalobj['HTMLElement'] = function HTMLElement(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof HTMLElement)) { if (!(this instanceof HTMLElement)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -2,7 +2,7 @@
bodavm.memory.globalobj['Headers'] = function Headers(){ bodavm.memory.globalobj['Headers'] = function Headers(){
if (!(this instanceof Headers)) { if (!(this instanceof Headers)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Headers': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Headers': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };this._boisinit=bodavm.config.isinit;
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Headers'], "Headers"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Headers'], "Headers");
bodavm.toolsFunc.defineProperty('Headers', "append", {configurable:true, enumerable:true, writable:true, value:function append (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Headers'].prototype, "Headers", "append", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('Headers', "append", {configurable:true, enumerable:true, writable:true, value:function append (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Headers'].prototype, "Headers", "append", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// History对象 // History对象
bodavm.memory.globalobj['History'] = function History(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['History'] = function History(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['History'], "History"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['History'], "History");
bodavm.toolsFunc.defineProperty('History', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('History', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('History', "scrollRestoration", {configurable:true, enumerable:true, get:function scrollRestoration (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "scrollRestoration_get", arguments)}, set:function scrollRestoration (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "scrollRestoration_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('History', "scrollRestoration", {configurable:true, enumerable:true, get:function scrollRestoration (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "scrollRestoration_get", arguments)}, set:function scrollRestoration (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "scrollRestoration_set", arguments)}},'prototype');
@ -10,5 +10,5 @@ bodavm.toolsFunc.defineProperty('History', "go", {configurable:true, enumerable:
bodavm.toolsFunc.defineProperty('History', "pushState", {configurable:true, enumerable:true, writable:true, value:function pushState (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "pushState", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('History', "pushState", {configurable:true, enumerable:true, writable:true, value:function pushState (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "pushState", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('History', "replaceState", {configurable:true, enumerable:true, writable:true, value:function replaceState (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "replaceState", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('History', "replaceState", {configurable:true, enumerable:true, writable:true, value:function replaceState (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['History'].prototype, "History", "replaceState", arguments)}},'prototype');
bodavm.memory.globalobj[ 'history'] = {} bodavm.memory.globalobj[ 'history'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'history'].__proto__= bodavm.memory.globalobj['History'].prototype; bodavm.memory.globalobj[ 'history'].__proto__= bodavm.memory.globalobj['History'].prototype;

View File

@ -1,5 +1,5 @@
// IDBDatabase对象 // IDBDatabase对象
bodavm.memory.globalobj['IDBDatabase'] = function IDBDatabase(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['IDBDatabase'] = function IDBDatabase(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBDatabase'], "IDBDatabase"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBDatabase'], "IDBDatabase");
bodavm.memory.globalobj['IDBDatabase'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['IDBDatabase'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['IDBDatabase'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['IDBDatabase'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// IDBFactory对象 // IDBFactory对象
bodavm.memory.globalobj['IDBFactory'] = function IDBFactory(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['IDBFactory'] = function IDBFactory(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBFactory'], "IDBFactory"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBFactory'], "IDBFactory");
bodavm.toolsFunc.defineProperty('IDBFactory', "cmp", {configurable:true, enumerable:true, writable:true, value:function cmp (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBFactory'].prototype, "IDBFactory", "cmp", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('IDBFactory', "cmp", {configurable:true, enumerable:true, writable:true, value:function cmp (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBFactory'].prototype, "IDBFactory", "cmp", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('IDBFactory', "databases", {configurable:true, enumerable:true, writable:true, value:function databases (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBFactory'].prototype, "IDBFactory", "databases", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('IDBFactory', "databases", {configurable:true, enumerable:true, writable:true, value:function databases (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBFactory'].prototype, "IDBFactory", "databases", arguments)}},'prototype');
@ -8,5 +8,5 @@ bodavm.toolsFunc.defineProperty('IDBFactory', "open", {configurable:true, enumer
// indexedDB对象 // indexedDB对象
bodavm.memory.globalobj[ 'indexedDB'] = {} bodavm.memory.globalobj[ 'indexedDB'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'indexedDB'].__proto__=bodavm.memory.globalobj['IDBFactory'].prototype; bodavm.memory.globalobj[ 'indexedDB'].__proto__=bodavm.memory.globalobj['IDBFactory'].prototype;

View File

@ -1,5 +1,5 @@
// IDBObjectStore对象 // IDBObjectStore对象
bodavm.memory.globalobj['IDBObjectStore'] = function IDBObjectStore(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['IDBObjectStore'] = function IDBObjectStore(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBObjectStore'], "IDBObjectStore"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBObjectStore'], "IDBObjectStore");
bodavm.toolsFunc.defineProperty('IDBObjectStore', "name", {configurable:true, enumerable:true, get:function name (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBObjectStore'].prototype, "IDBObjectStore", "name_get", arguments)}, set:function name (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBObjectStore'].prototype, "IDBObjectStore", "name_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('IDBObjectStore', "name", {configurable:true, enumerable:true, get:function name (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBObjectStore'].prototype, "IDBObjectStore", "name_get", arguments)}, set:function name (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBObjectStore'].prototype, "IDBObjectStore", "name_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('IDBObjectStore', "keyPath", {configurable:true, enumerable:true, get:function keyPath (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBObjectStore'].prototype, "IDBObjectStore", "keyPath_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('IDBObjectStore', "keyPath", {configurable:true, enumerable:true, get:function keyPath (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['IDBObjectStore'].prototype, "IDBObjectStore", "keyPath_get", arguments)}, set:undefined},'prototype');

View File

@ -1,5 +1,5 @@
// IDBOpenDBRequest对象 // IDBOpenDBRequest对象
bodavm.memory.globalobj['IDBOpenDBRequest'] = function IDBOpenDBRequest(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['IDBOpenDBRequest'] = function IDBOpenDBRequest(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBOpenDBRequest'], "IDBOpenDBRequest"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBOpenDBRequest'], "IDBOpenDBRequest");
bodavm.memory.globalobj['IDBOpenDBRequest'].prototype.__proto__=bodavm.memory.globalobj['IDBRequest'].prototype; bodavm.memory.globalobj['IDBOpenDBRequest'].prototype.__proto__=bodavm.memory.globalobj['IDBRequest'].prototype;
bodavm.memory.globalobj['IDBOpenDBRequest'].__proto__=bodavm.memory.globalobj['IDBRequest']; bodavm.memory.globalobj['IDBOpenDBRequest'].__proto__=bodavm.memory.globalobj['IDBRequest'];

View File

@ -1,5 +1,5 @@
// IDBRequest对象 // IDBRequest对象
bodavm.memory.globalobj['IDBRequest'] = function IDBRequest(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['IDBRequest'] = function IDBRequest(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBRequest'], "IDBRequest"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBRequest'], "IDBRequest");
bodavm.memory.globalobj['IDBRequest'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['IDBRequest'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['IDBRequest'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['IDBRequest'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// IDBTransaction对象 // IDBTransaction对象
bodavm.memory.globalobj['IDBTransaction'] = function IDBTransaction(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['IDBTransaction'] = function IDBTransaction(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBTransaction'], "IDBTransaction"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['IDBTransaction'], "IDBTransaction");
bodavm.memory.globalobj['IDBTransaction'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['IDBTransaction'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['IDBTransaction'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['IDBTransaction'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// IDBVersionChangeEvent对象 // IDBVersionChangeEvent对象
bodavm.memory.globalobj['IDBVersionChangeEvent'] = function IDBVersionChangeEvent(){ bodavm.memory.globalobj['IDBVersionChangeEvent'] = function IDBVersionChangeEvent(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof IDBVersionChangeEvent)) { if (!(this instanceof IDBVersionChangeEvent)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'IDBVersionChangeEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'IDBVersionChangeEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,11 +1,11 @@
// Location对象 // Location对象
bodavm.memory.globalobj['Location'] = function Location(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Location'] = function Location(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Location'], "Location"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Location'], "Location");
// debugger // debugger
// location对象 // location对象
// location对象 // location对象
bodavm.memory.globalobj['location'] = {} bodavm.memory.globalobj['location'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj['location'].__proto__=bodavm.memory.globalobj['Location'].prototype; bodavm.memory.globalobj['location'].__proto__=bodavm.memory.globalobj['Location'].prototype;
bodavm.toolsFunc.defineProperty('location', "valueOf", {configurable:false, enumerable:false, writable:false, value:function valueOf (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['location'], "location", "valueOf", arguments)}}); bodavm.toolsFunc.defineProperty('location', "valueOf", {configurable:false, enumerable:false, writable:false, value:function valueOf (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['location'], "location", "valueOf", arguments)}});
bodavm.toolsFunc.defineProperty('location', "ancestorOrigins", {configurable:false, enumerable:true, get:function ancestorOrigins (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['location'], "location", "ancestorOrigins_get", arguments)}, set:undefined}); bodavm.toolsFunc.defineProperty('location', "ancestorOrigins", {configurable:false, enumerable:true, get:function ancestorOrigins (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['location'], "location", "ancestorOrigins_get", arguments)}, set:undefined});

View File

@ -1,5 +1,5 @@
// LockManager对象 // LockManager对象
bodavm.memory.globalobj['LockManager'] = function LockManager(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['LockManager'] = function LockManager(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['LockManager'], "LockManager"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['LockManager'], "LockManager");
bodavm.toolsFunc.defineProperty('LockManager', "query", {configurable:true, enumerable:true, writable:true, value:function query (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['LockManager'].prototype, "LockManager", "query", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('LockManager', "query", {configurable:true, enumerable:true, writable:true, value:function query (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['LockManager'].prototype, "LockManager", "query", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('LockManager', "request", {configurable:true, enumerable:true, writable:true, value:function request (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['LockManager'].prototype, "LockManager", "request", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('LockManager', "request", {configurable:true, enumerable:true, writable:true, value:function request (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['LockManager'].prototype, "LockManager", "request", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// MediaEncryptedEvent对象 // MediaEncryptedEvent对象
bodavm.memory.globalobj['MediaEncryptedEvent'] = function MediaEncryptedEvent(){ bodavm.memory.globalobj['MediaEncryptedEvent'] = function MediaEncryptedEvent(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof MediaEncryptedEvent)) { if (!(this instanceof MediaEncryptedEvent)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MediaEncryptedEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MediaEncryptedEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function")

View File

@ -1,5 +1,5 @@
// MediaQueryList对象 // MediaQueryList对象
bodavm.memory.globalobj['MediaQueryList'] = function MediaQueryList(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['MediaQueryList'] = function MediaQueryList(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MediaQueryList'], "MediaQueryList"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MediaQueryList'], "MediaQueryList");
bodavm.memory.globalobj['MediaQueryList'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['MediaQueryList'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['MediaQueryList'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['MediaQueryList'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// MediaStream对象 // MediaStream对象
bodavm.memory.globalobj['MediaStream'] = function MediaStream(){ bodavm.memory.globalobj['MediaStream'] = function MediaStream(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof MediaStream)) { if (!(this instanceof MediaStream)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MediaStream ': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MediaStream ': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,5 +1,5 @@
// MimeType对象 // MimeType对象
bodavm.memory.globalobj['MimeType'] = function MimeType(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['MimeType'] = function MimeType(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MimeType'], "MimeType"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MimeType'], "MimeType");
bodavm.toolsFunc.defineProperty('MimeType', "type", {configurable:true, enumerable:true, get:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeType'].prototype, "MimeType", "type_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('MimeType', "type", {configurable:true, enumerable:true, get:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeType'].prototype, "MimeType", "type_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('MimeType', "suffixes", {configurable:true, enumerable:true, get:function suffixes (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeType'].prototype, "MimeType", "suffixes_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('MimeType', "suffixes", {configurable:true, enumerable:true, get:function suffixes (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeType'].prototype, "MimeType", "suffixes_get", arguments)}, set:undefined},'prototype');

View File

@ -1,5 +1,5 @@
// MimeTypeArray对象 // MimeTypeArray对象
bodavm.memory.globalobj['MimeTypeArray'] = function MimeTypeArray(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['MimeTypeArray'] = function MimeTypeArray(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MimeTypeArray'], "MimeTypeArray"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MimeTypeArray'], "MimeTypeArray");
bodavm.toolsFunc.defineProperty('MimeTypeArray', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeTypeArray'].prototype, "MimeTypeArray", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('MimeTypeArray', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeTypeArray'].prototype, "MimeTypeArray", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('MimeTypeArray', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeTypeArray'].prototype, "MimeTypeArray", "item", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('MimeTypeArray', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MimeTypeArray'].prototype, "MimeTypeArray", "item", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// MouseEvent对象 // MouseEvent对象
bodavm.memory.globalobj['MouseEvent'] = function MouseEvent() { bodavm.memory.globalobj['MouseEvent'] = function MouseEvent() {this._boisinit=bodavm.config.isinit;
if (!(this instanceof MouseEvent)) { if (!(this instanceof MouseEvent)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MouseEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MouseEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,11 +1,12 @@
// MutationObserver对象 // MutationObserver对象
bodavm.memory.globalobj['MutationObserver'] = function MutationObserver(){ bodavm.memory.globalobj['MutationObserver'] = function MutationObserver(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof MutationObserver)) { if (!(this instanceof MutationObserver)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MutationObserver': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MutationObserver': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };
if (arguments.length <1){ if (arguments.length <1){
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MutationObserver': 1 argument required, but only 0 present.")} return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'MutationObserver': 1 argument required, but only 0 present.")}
this._boarg=new bodaobj.window.MutationObserver(arguments[0])
} }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MutationObserver'], "MutationObserver"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['MutationObserver'], "MutationObserver");
bodavm.toolsFunc.defineProperty('MutationObserver', "disconnect", {configurable:true, enumerable:true, writable:true, value:function disconnect (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MutationObserver'].prototype, "MutationObserver", "disconnect", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('MutationObserver', "disconnect", {configurable:true, enumerable:true, writable:true, value:function disconnect (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['MutationObserver'].prototype, "MutationObserver", "disconnect", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// NamedNodeMap对象 // NamedNodeMap对象
bodavm.memory.globalobj['NamedNodeMap'] = function NamedNodeMap(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['NamedNodeMap'] = function NamedNodeMap(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['NamedNodeMap'], "NamedNodeMap"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['NamedNodeMap'], "NamedNodeMap");
bodavm.toolsFunc.defineProperty('NamedNodeMap', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NamedNodeMap'].prototype, "NamedNodeMap", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('NamedNodeMap', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NamedNodeMap'].prototype, "NamedNodeMap", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('NamedNodeMap', "getNamedItem", {configurable:true, enumerable:true, writable:true, value:function getNamedItem (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NamedNodeMap'].prototype, "NamedNodeMap", "getNamedItem", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('NamedNodeMap', "getNamedItem", {configurable:true, enumerable:true, writable:true, value:function getNamedItem (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NamedNodeMap'].prototype, "NamedNodeMap", "getNamedItem", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// Navigation对象 // Navigation对象
bodavm.memory.globalobj['Navigation'] = function Navigation(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Navigation'] = function Navigation(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Navigation'], "Navigation"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Navigation'], "Navigation");
bodavm.memory.globalobj['Navigation'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['Navigation'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['Navigation'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['Navigation'].__proto__=bodavm.memory.globalobj['EventTarget'];
@ -21,6 +21,6 @@ bodavm.toolsFunc.defineProperty('Navigation', "updateCurrentEntry", {configurabl
bodavm.memory.globalobj[ 'navigation'] ={} bodavm.memory.globalobj[ 'navigation'] ={ _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'navigation'].__proto__=bodavm.memory.globalobj['Navigation'].prototype bodavm.memory.globalobj[ 'navigation'].__proto__=bodavm.memory.globalobj['Navigation'].prototype

View File

@ -1,5 +1,5 @@
// Navigator对象 // Navigator对象
bodavm.memory.globalobj['Navigator'] = function Navigator(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Navigator'] = function Navigator(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Navigator'], "Navigator"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Navigator'], "Navigator");
bodavm.toolsFunc.defineProperty('Navigator', "vendorSub", {configurable:true, enumerable:true, get:function vendorSub (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Navigator'].prototype, "Navigator", "vendorSub_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('Navigator', "vendorSub", {configurable:true, enumerable:true, get:function vendorSub (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Navigator'].prototype, "Navigator", "vendorSub_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('Navigator', "productSub", {configurable:true, enumerable:true, get:function productSub (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Navigator'].prototype, "Navigator", "productSub_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('Navigator', "productSub", {configurable:true, enumerable:true, get:function productSub (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Navigator'].prototype, "Navigator", "productSub_get", arguments)}, set:undefined},'prototype');
@ -68,10 +68,10 @@ bodavm.toolsFunc.defineProperty('Navigator', "unregisterProtocolHandler", {confi
// navigator对象 // navigator对象
bodavm.memory.globalobj[ 'navigator'] = {} bodavm.memory.globalobj[ 'navigator'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'navigator'].__proto__=bodavm.memory.globalobj['Navigator'].prototype; bodavm.memory.globalobj[ 'navigator'].__proto__=bodavm.memory.globalobj['Navigator'].prototype;
// clientInformation对象 // clientInformation对象
bodavm.memory.globalobj[ 'clientInformation'] = {} bodavm.memory.globalobj[ 'clientInformation'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'clientInformation'] .__proto__=bodavm.memory.globalobj['Navigator'].prototype; bodavm.memory.globalobj[ 'clientInformation'] .__proto__=bodavm.memory.globalobj['Navigator'].prototype;

View File

@ -1,5 +1,5 @@
// NetworkInformation对象 // NetworkInformation对象
bodavm.memory.globalobj['NetworkInformation'] = function NetworkInformation(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['NetworkInformation'] = function NetworkInformation(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['NetworkInformation'], "NetworkInformation"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['NetworkInformation'], "NetworkInformation");
bodavm.memory.globalobj['NetworkInformation'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['NetworkInformation'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['NetworkInformation'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['NetworkInformation'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// Node对象 // Node对象
bodavm.memory.globalobj['Node'] = function Node(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Node'] = function Node(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Node'], "Node"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Node'], "Node");
bodavm.memory.globalobj['Node'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['Node'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['Node'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['Node'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// NodeList对象 // NodeList对象
bodavm.memory.globalobj['NodeList'] = function NodeList(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['NodeList'] = function NodeList(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['NodeList'], "NodeList"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['NodeList'], "NodeList");
bodavm.toolsFunc.defineProperty('NodeList', "entries", {configurable:true, enumerable:true, writable:true, value:function entries (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NodeList'].prototype, "NodeList", "entries", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('NodeList', "entries", {configurable:true, enumerable:true, writable:true, value:function entries (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NodeList'].prototype, "NodeList", "entries", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('NodeList', "keys", {configurable:true, enumerable:true, writable:true, value:function keys (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NodeList'].prototype, "NodeList", "keys", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('NodeList', "keys", {configurable:true, enumerable:true, writable:true, value:function keys (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NodeList'].prototype, "NodeList", "keys", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// Notification对象 // Notification对象
bodavm.memory.globalobj['Notification'] = function Notification(){ bodavm.memory.globalobj['Notification'] = function Notification(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof Notification)) { if (!(this instanceof Notification)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Notification': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Notification': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,6 +1,6 @@
// OfflineAudioContext对象 // OfflineAudioContext对象
bodavm.memory.globalobj['OfflineAudioContext'] = function OfflineAudioContext(){ bodavm.memory.globalobj['OfflineAudioContext'] = function OfflineAudioContext(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof OfflineAudioContext)) { if (!(this instanceof OfflineAudioContext)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'OfflineAudioContext': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'OfflineAudioContext': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,5 +1,5 @@
// OffscreenCanvasRenderingContext2D对象 // OffscreenCanvasRenderingContext2D对象
bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'] = function OffscreenCanvasRenderingContext2D(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'] = function OffscreenCanvasRenderingContext2D(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'], "OffscreenCanvasRenderingContext2D"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'], "OffscreenCanvasRenderingContext2D");
bodavm.toolsFunc.defineProperty('OffscreenCanvasRenderingContext2D', "canvas", {configurable:true, enumerable:true, get:function canvas (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'].prototype, "OffscreenCanvasRenderingContext2D", "canvas_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('OffscreenCanvasRenderingContext2D', "canvas", {configurable:true, enumerable:true, get:function canvas (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'].prototype, "OffscreenCanvasRenderingContext2D", "canvas_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('OffscreenCanvasRenderingContext2D', "globalAlpha", {configurable:true, enumerable:true, get:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'].prototype, "OffscreenCanvasRenderingContext2D", "globalAlpha_get", arguments)}, set:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'].prototype, "OffscreenCanvasRenderingContext2D", "globalAlpha_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('OffscreenCanvasRenderingContext2D', "globalAlpha", {configurable:true, enumerable:true, get:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'].prototype, "OffscreenCanvasRenderingContext2D", "globalAlpha_get", arguments)}, set:function globalAlpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['OffscreenCanvasRenderingContext2D'].prototype, "OffscreenCanvasRenderingContext2D", "globalAlpha_set", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// Option对象 // Option对象
bodavm.memory.globalobj['Option'] = function Option(){ bodavm.memory.globalobj['Option'] = function Option(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof Option)) { if (!(this instanceof Option)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Option': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Option': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,5 +1,5 @@
// Path2D对象 // Path2D对象
bodavm.memory.globalobj['Path2D'] = function Path2D(){ bodavm.memory.globalobj['Path2D'] = function Path2D(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof Path2D)) { if (!(this instanceof Path2D)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Path2D': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Path2D': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,5 +1,5 @@
// Performance对象 // Performance对象
bodavm.memory.globalobj['Performance'] = function Performance(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Performance'] = function Performance(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Performance'], "Performance"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Performance'], "Performance");
bodavm.memory.globalobj['Performance'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['Performance'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['Performance'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['Performance'].__proto__=bodavm.memory.globalobj['EventTarget'];
@ -22,6 +22,6 @@ bodavm.toolsFunc.defineProperty('Performance', "memory", {configurable:true, enu
bodavm.toolsFunc.defineProperty('Performance', "eventCounts", {configurable:true, enumerable:true, get:function eventCounts (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Performance'].prototype, "Performance", "eventCounts_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('Performance', "eventCounts", {configurable:true, enumerable:true, get:function eventCounts (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Performance'].prototype, "Performance", "eventCounts_get", arguments)}, set:undefined},'prototype');
// performance对象 // performance对象
bodavm.memory.globalobj[ 'performance'] = {} bodavm.memory.globalobj[ 'performance'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'performance'].__proto__=bodavm.memory.globalobj['Performance'].prototype; bodavm.memory.globalobj[ 'performance'].__proto__=bodavm.memory.globalobj['Performance'].prototype;

View File

@ -1,5 +1,5 @@
// PerformanceEntry对象 // PerformanceEntry对象
bodavm.memory.globalobj['PerformanceEntry'] = function PerformanceEntry(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['PerformanceEntry'] = function PerformanceEntry(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PerformanceEntry'], "PerformanceEntry"); 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', "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', "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');

View File

@ -1,5 +1,5 @@
// PerformancePaintTiming对象 // PerformancePaintTiming对象
bodavm.memory.globalobj['PerformancePaintTiming'] = function PerformancePaintTiming(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['PerformancePaintTiming'] = function PerformancePaintTiming(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PerformancePaintTiming'], "PerformancePaintTiming"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PerformancePaintTiming'], "PerformancePaintTiming");
bodavm.memory.globalobj['PerformancePaintTiming'].prototype.__proto__=bodavm.memory.globalobj['PerformanceEntry'].prototype; bodavm.memory.globalobj['PerformancePaintTiming'].prototype.__proto__=bodavm.memory.globalobj['PerformanceEntry'].prototype;
bodavm.memory.globalobj['PerformancePaintTiming'].__proto__=bodavm.memory.globalobj['PerformanceEntry']; bodavm.memory.globalobj['PerformancePaintTiming'].__proto__=bodavm.memory.globalobj['PerformanceEntry'];

View File

@ -0,0 +1,26 @@
// PerformanceResourceTiming对象
bodavm.memory.globalobj['PerformanceResourceTiming'] = function PerformanceResourceTiming(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PerformanceResourceTiming'], "PerformanceResourceTiming");
bodavm.memory.globalobj['PerformanceResourceTiming'].prototype.__proto__=bodavm.memory.globalobj['PerformanceEntry'].prototype;
bodavm.memory.globalobj['PerformanceResourceTiming'].__proto__=bodavm.memory.globalobj['PerformanceEntry'];
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "initiatorType", {configurable:true, enumerable:true, get:function initiatorType (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "initiatorType_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "nextHopProtocol", {configurable:true, enumerable:true, get:function nextHopProtocol (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "nextHopProtocol_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "workerStart", {configurable:true, enumerable:true, get:function workerStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "workerStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "redirectStart", {configurable:true, enumerable:true, get:function redirectStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "redirectStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "redirectEnd", {configurable:true, enumerable:true, get:function redirectEnd (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "redirectEnd_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "fetchStart", {configurable:true, enumerable:true, get:function fetchStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "fetchStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "domainLookupStart", {configurable:true, enumerable:true, get:function domainLookupStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "domainLookupStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "domainLookupEnd", {configurable:true, enumerable:true, get:function domainLookupEnd (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "domainLookupEnd_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "connectStart", {configurable:true, enumerable:true, get:function connectStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "connectStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "connectEnd", {configurable:true, enumerable:true, get:function connectEnd (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "connectEnd_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "secureConnectionStart", {configurable:true, enumerable:true, get:function secureConnectionStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "secureConnectionStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "requestStart", {configurable:true, enumerable:true, get:function requestStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "requestStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "responseStart", {configurable:true, enumerable:true, get:function responseStart (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "responseStart_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "responseEnd", {configurable:true, enumerable:true, get:function responseEnd (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "responseEnd_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "transferSize", {configurable:true, enumerable:true, get:function transferSize (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "transferSize_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "encodedBodySize", {configurable:true, enumerable:true, get:function encodedBodySize (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "encodedBodySize_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "decodedBodySize", {configurable:true, enumerable:true, get:function decodedBodySize (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "decodedBodySize_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "serverTiming", {configurable:true, enumerable:true, get:function serverTiming (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "serverTiming_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "toJSON", {configurable:true, enumerable:true, writable:true, value:function toJSON (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "toJSON", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "renderBlockingStatus", {configurable:true, enumerable:true, get:function renderBlockingStatus (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "renderBlockingStatus_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PerformanceResourceTiming', "responseStatus", {configurable:true, enumerable:true, get:function responseStatus (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PerformanceResourceTiming'].prototype, "PerformanceResourceTiming", "responseStatus_get", arguments)}, set:undefined},'prototype');

View File

@ -1,5 +1,5 @@
// PermissionStatus对象 // PermissionStatus对象
bodavm.memory.globalobj['PermissionStatus'] = function PermissionStatus(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['PermissionStatus'] = function PermissionStatus(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PermissionStatus'], "PermissionStatus"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PermissionStatus'], "PermissionStatus");
bodavm.memory.globalobj['PermissionStatus'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['PermissionStatus'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['PermissionStatus'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['PermissionStatus'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,4 +1,4 @@
// Permissions对象 // Permissions对象
bodavm.memory.globalobj['Permissions'] = function Permissions(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Permissions'] = function Permissions(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Permissions'], "Permissions"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Permissions'], "Permissions");
bodavm.toolsFunc.defineProperty('Permissions', "query", {configurable:true, enumerable:true, writable:true, value:function query (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Permissions'].prototype, "Permissions", "query", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('Permissions', "query", {configurable:true, enumerable:true, writable:true, value:function query (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Permissions'].prototype, "Permissions", "query", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// Plugin对象 // Plugin对象
bodavm.memory.globalobj['Plugin'] = function Plugin(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Plugin'] = function Plugin(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Plugin'], "Plugin"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Plugin'], "Plugin");
bodavm.toolsFunc.defineProperty('Plugin', "name", {configurable:true, enumerable:true, get:function name (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Plugin'].prototype, "Plugin", "name_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('Plugin', "name", {configurable:true, enumerable:true, get:function name (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Plugin'].prototype, "Plugin", "name_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('Plugin', "filename", {configurable:true, enumerable:true, get:function filename (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Plugin'].prototype, "Plugin", "filename_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('Plugin', "filename", {configurable:true, enumerable:true, get:function filename (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Plugin'].prototype, "Plugin", "filename_get", arguments)}, set:undefined},'prototype');

View File

@ -1,5 +1,5 @@
// PluginArray对象 // PluginArray对象
bodavm.memory.globalobj['PluginArray'] = function PluginArray(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['PluginArray'] = function PluginArray(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PluginArray'], "PluginArray"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['PluginArray'], "PluginArray");
bodavm.toolsFunc.defineProperty('PluginArray', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PluginArray'].prototype, "PluginArray", "length_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('PluginArray', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PluginArray'].prototype, "PluginArray", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('PluginArray', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PluginArray'].prototype, "PluginArray", "item", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('PluginArray', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['PluginArray'].prototype, "PluginArray", "item", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// PointerEvent对象 // PointerEvent对象
bodavm.memory.globalobj['PointerEvent'] = function PointerEvent(){ bodavm.memory.globalobj['PointerEvent'] = function PointerEvent(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof PointerEvent)) { if (!(this instanceof PointerEvent)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'PointerEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'PointerEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,5 +1,5 @@
// PresentationConnectionCloseEvent对象 // PresentationConnectionCloseEvent对象
bodavm.memory.globalobj['PresentationConnectionCloseEvent'] = function PresentationConnectionCloseEvent(){ bodavm.memory.globalobj['PresentationConnectionCloseEvent'] = function PresentationConnectionCloseEvent(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof PresentationConnectionCloseEvent)) { if (!(this instanceof PresentationConnectionCloseEvent)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'PresentationConnectionCloseEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'PresentationConnectionCloseEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,193 +1,174 @@
const PENDING = 'pending'; function Promise(fn) {
const FULFILLED = 'fulfilled'; var self = this;
const REJECTED = 'rejected'; self.value = null;
self.error = null;
self.status = 'pending';
self.onFulfilled = [];
self.onRejected = [];
function Promise(executor) { function resolve(value) {
this.state = PENDING; if (self.status === 'pending') {
this.value = null; self.status = 'fulfilled';
this.reason = null; self.value = value;
this.onFulfilledCallbacks = []; for (var i = 0; i < self.onFulfilled.length; i++) {
this.onRejectedCallbacks = []; setTimeout(function() {
self.onFulfilled[i](self.value);
const resolve = (value) => { }, 0);
if (this.state === PENDING) { }
this.state = FULFILLED;
this.value = value;
this.onFulfilledCallbacks.forEach((fun) => {
fun();
});
} }
};
const reject = (reason) => {
if (this.state === PENDING) {
this.state = REJECTED;
this.reason = reason;
this.onRejectedCallbacks.forEach((fun) => {
fun();
});
}
};
try {
executor(resolve, reject);
} catch (reason) {
reject(reason);
} }
function reject(error) {
if (self.status === 'pending') {
self.status = 'rejected';
self.error = error;
for (var i = 0; i < self.onRejected.length; i++) {
setTimeout(function() {
self.onRejected[i](self.error);
}, 0);
}
}
}
fn(resolve, reject);
} }
bodavm.toolsFunc.safeProto(Promise,"Promise"); bodavm.toolsFunc.safeFunc(Promise,'Promise')
Promise.prototype.then = function(onFulfilled, onRejected) {
var self = this;
var promise = new Promise(function(resolve, reject) {
function handle(value) {
try {
var result = onFulfilled(value);
if (result instanceof Promise) {
result.then(resolve, reject);
} else {
resolve(result);
}
} catch (error) {
reject(error);
}
}
//原型上面的方法 function handleError(error) {
//用settimeout来模拟异步调用,保证链式调用即then方法中要返回一个新的promise并将then方法的返回值进行resolve try {
Promise.prototype.then = function (onFulfilled, onRejected) { var result = onRejected(error);
if (typeof onFulfilled != 'function') { if (result instanceof Promise) {
onFulfilled = function (value) { result.then(resolve, reject);
return value; } else {
}; resolve(result);
} }
if (typeof onRejected != 'function') { } catch (error) {
onRejected = function (reason) { reject(error);
throw reason; }
}; }
}
const promise2 = new Promise((resolve, reject) => { if (self.status === 'fulfilled') {
switch (this.state) { setTimeout(function() {
case FULFILLED: handle(self.value);
setTimeout(() => { }, 0);
try { } else if (self.status === 'rejected') {
const x = onFulfilled(this.value); setTimeout(function() {
resolve(x); handleError(self.error);
} catch (reason) { }, 0);
reject(reason); } else {
} self.onFulfilled.push(handle);
}, 0); self.onRejected.push(handleError);
break;
case REJECTED:
setTimeout(() => {
try {
const x = onRejected(this.reason);
resolve(x);
} catch (reason) {
reject(reason);
}
}, 0);
break;
case PENDING:
this.onFulfilledCallbacks.push(() => {
setTimeout(() => {
try {
const x = onFulfilled(this.value);
resolve(x);
} catch (reason) {
reject(reason);
}
}, 0);
});
this.onRejectedCallbacks.push(() => {
setTimeout(() => {
try {
const x = onRejected(this.reason);
resolve(x);
} catch (reason) {
reject(reason);
}
}, 0);
});
break;
} }
}); });
return promise2;
};
bodavm.toolsFunc.safeFunc(Promise.prototype.then,'then')
Promise.prototype.catch = function (onRejected) { return promise;
};
bodavm.toolsFunc.safeFunc(Promise.prototype.then ,'then')
Promise.prototype.catch = function(onRejected) {
return this.then(null, onRejected); return this.then(null, onRejected);
}; };
bodavm.toolsFunc.safeFunc(Promise.prototype.catch,'catch') bodavm.toolsFunc.safeFunc(Promise.prototype.catch,'catch')
Promise.prototype.finally = function(onFinally) {
Promise.prototype.finally = function (fn) {
return this.then( return this.then(
(value) => { function(value) {
fn(); return Promise.resolve(onFinally()).then(function() {
return value; return value;
});
}, },
(reason) => { function(error) {
fn(); return Promise.resolve(onFinally()).then(function() {
throw reason; throw error;
});
} }
); );
}; };
bodavm.toolsFunc.safeFunc(Promise.prototype.finally,'finally') bodavm.toolsFunc.safeFunc(Promise.prototype.finally,'finally')
Promise.resolve = function(value) {
//静态方法 return new Promise(function(resolve) {
Promise.resolve = function (value) {
return new Promise((resolve, reject) => {
resolve(value); resolve(value);
}); });
}; };
bodavm.toolsFunc.safeFunc(Promise.resolve,'resolve') bodavm.toolsFunc.safeFunc(Promise.resolve ,'resolve')
Promise.reject = function (reason) { Promise.reject = function(error) {
return new Promise((resolve, reject) => { return new Promise(function(resolve, reject) {
reject(reason); reject(error);
}); });
}; };
bodavm.toolsFunc.safeFunc(Promise.reject,'reject') bodavm.toolsFunc.safeFunc(Promise.reject ,'reject')
//接受一个promise数组当所有promise状态resolve后执行resolve Promise.all = function(promises) {
Promise.all = function (promises) { return new Promise(function(resolve, reject) {
return new Promise((resolve, reject) => { var results = [];
if (promises.length === 0) { var count = 0;
resolve([]);
} else { function handle(i, value) {
let result = []; results[i] = value;
let index = 0; count++;
for (let i = 0; i < promises.length; i++) {
promises[i].then( if (count === promises.length) {
(data) => { resolve(results);
result[i] = data;
if (++index === promises.length) {
resolve(result);
}
},
(err) => {
reject(err);
return;
}
);
} }
} }
for (var i = 0; i < promises.length; i++) {
promises[i].then(handle.bind(null, i), reject);
}
}); });
}; };
bodavm.toolsFunc.safeFunc(Promise.all,'all') bodavm.toolsFunc.safeFunc(Promise.all ,'all')
//接受一个promise数组当有一个promise状态resolve后执行resolve Promise.race = function(promises) {
Promise.race = function (promises) { return new Promise(function(resolve, reject) {
return new Promise((resolve, reject) => { for (var i = 0; i < promises.length; i++) {
if (promises.length === 0) { promises[i].then(resolve, reject);
resolve();
} else {
let index = 0;
for (let i = 0; i < promises.length; i++) {
promises[i].then(
(data) => {
resolve(data);
},
(err) => {
reject(err);
return;
}
);
}
} }
}); });
}; };
bodavm.toolsFunc.safeFunc(Promise.race,'race') bodavm.toolsFunc.safeFunc(Promise.race ,'race')
bodavm.toolsFunc.safeFunc(Promise) Promise.allSettled = function(promises) {
return new Promise(function(resolve) {
var results = [];
var count = 0;
function handle(i, status) {
return function(value) {
results[i] = { status: status, value: value };
count++;
if (count === promises.length) {
resolve(results);
}
};
}
for (var i = 0; i < promises.length; i++) {
promises[i].then(handle(i, 'fulfilled'), handle(i, 'rejected'));
}
});
};
bodavm.toolsFunc.safeFunc(Promise.allSettled ,'allSettled')
// bodavm.toolsFunc.safeFunc(Promise)
// globalMy.rename(Promise.prototype,"Promise") // globalMy.rename(Promise.prototype,"Promise")

View File

@ -1,5 +1,5 @@
// RTCDataChannel对象 // RTCDataChannel对象
bodavm.memory.globalobj['RTCDataChannel'] = function RTCDataChannel(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['RTCDataChannel'] = function RTCDataChannel(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['RTCDataChannel'], "RTCDataChannel"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['RTCDataChannel'], "RTCDataChannel");
bodavm.memory.globalobj['RTCDataChannel'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['RTCDataChannel'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['RTCDataChannel'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['RTCDataChannel'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// RTCPeerConnection对象 // RTCPeerConnection对象
bodavm.memory.globalobj['RTCPeerConnection'] = function RTCPeerConnection(){ bodavm.memory.globalobj['RTCPeerConnection'] = function RTCPeerConnection(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof RTCPeerConnection)) { if (!(this instanceof RTCPeerConnection)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'RTCPeerConnection': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'RTCPeerConnection': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
@ -54,3 +54,7 @@ bodavm.toolsFunc.defineProperty('RTCPeerConnection', "restartIce", {configurable
bodavm.toolsFunc.defineProperty('RTCPeerConnection', "setConfiguration", {configurable:true, enumerable:true, writable:true, value:function setConfiguration (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCPeerConnection'].prototype, "RTCPeerConnection", "setConfiguration", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('RTCPeerConnection', "setConfiguration", {configurable:true, enumerable:true, writable:true, value:function setConfiguration (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCPeerConnection'].prototype, "RTCPeerConnection", "setConfiguration", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('RTCPeerConnection', "setLocalDescription", {configurable:true, enumerable:true, writable:true, value:function setLocalDescription (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCPeerConnection'].prototype, "RTCPeerConnection", "setLocalDescription", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('RTCPeerConnection', "setLocalDescription", {configurable:true, enumerable:true, writable:true, value:function setLocalDescription (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCPeerConnection'].prototype, "RTCPeerConnection", "setLocalDescription", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('RTCPeerConnection', "setRemoteDescription", {configurable:true, enumerable:true, writable:true, value:function setRemoteDescription (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCPeerConnection'].prototype, "RTCPeerConnection", "setRemoteDescription", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('RTCPeerConnection', "setRemoteDescription", {configurable:true, enumerable:true, writable:true, value:function setRemoteDescription (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCPeerConnection'].prototype, "RTCPeerConnection", "setRemoteDescription", arguments)}},'prototype');
// bodavm.memory.globalobj['webkitRTCPeerConnection']=bodavm.memory.globalobj['RTCPeerConnection']

View File

@ -1,5 +1,5 @@
// RTCSessionDescription对象 // RTCSessionDescription对象
bodavm.memory.globalobj['RTCSessionDescription'] = function RTCSessionDescription(){} bodavm.memory.globalobj['RTCSessionDescription'] = function RTCSessionDescription(){this._boisinit=bodavm.config.isinit;}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['RTCSessionDescription'], "RTCSessionDescription"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['RTCSessionDescription'], "RTCSessionDescription");
bodavm.toolsFunc.defineProperty('RTCSessionDescription', "type", {configurable:true, enumerable:true, get:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "type_get", arguments)}, set:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "type_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('RTCSessionDescription', "type", {configurable:true, enumerable:true, get:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "type_get", arguments)}, set:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "type_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('RTCSessionDescription', "sdp", {configurable:true, enumerable:true, get:function sdp (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "sdp_get", arguments)}, set:function sdp (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "sdp_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('RTCSessionDescription', "sdp", {configurable:true, enumerable:true, get:function sdp (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "sdp_get", arguments)}, set:function sdp (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['RTCSessionDescription'].prototype, "RTCSessionDescription", "sdp_set", arguments)}},'prototype');

View File

@ -1,5 +1,5 @@
// Request对象 // Request对象
bodavm.memory.globalobj['Request'] = function Request(){ bodavm.memory.globalobj['Request'] = function Request(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof Request)) { if (!(this instanceof Request)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Request': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'Request': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

View File

@ -1,5 +1,5 @@
// SVGElement对象 // SVGElement对象
bodavm.memory.globalobj['SVGElement'] = function SVGElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGElement'] = function SVGElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGElement'], "SVGElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGElement'], "SVGElement");
bodavm.memory.globalobj['SVGElement'].prototype.__proto__=bodavm.memory.globalobj['Element'].prototype; bodavm.memory.globalobj['SVGElement'].prototype.__proto__=bodavm.memory.globalobj['Element'].prototype;
bodavm.memory.globalobj['SVGElement'].__proto__=bodavm.memory.globalobj['Element']; bodavm.memory.globalobj['SVGElement'].__proto__=bodavm.memory.globalobj['Element'];

View File

@ -1,5 +1,5 @@
// SVGGElement对象 // SVGGElement对象
bodavm.memory.globalobj['SVGGElement'] = function SVGGElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGGElement'] = function SVGGElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGGElement'], "SVGGElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGGElement'], "SVGGElement");
bodavm.memory.globalobj['SVGGElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype; bodavm.memory.globalobj['SVGGElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype;
bodavm.memory.globalobj['SVGGElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement']; bodavm.memory.globalobj['SVGGElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement'];

View File

@ -1,5 +1,5 @@
// SVGGeometryElement对象 // SVGGeometryElement对象
bodavm.memory.globalobj['SVGGeometryElement'] = function SVGGeometryElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGGeometryElement'] = function SVGGeometryElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGGeometryElement'], "SVGGeometryElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGGeometryElement'], "SVGGeometryElement");
bodavm.memory.globalobj['SVGGeometryElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype; bodavm.memory.globalobj['SVGGeometryElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype;
bodavm.memory.globalobj['SVGGeometryElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement']; bodavm.memory.globalobj['SVGGeometryElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement'];

View File

@ -1,5 +1,5 @@
// SVGGraphicsElement对象 // SVGGraphicsElement对象
bodavm.memory.globalobj['SVGGraphicsElement'] = function SVGGraphicsElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGGraphicsElement'] = function SVGGraphicsElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGGraphicsElement'], "SVGGraphicsElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGGraphicsElement'], "SVGGraphicsElement");
bodavm.memory.globalobj['SVGGraphicsElement'].prototype.__proto__=bodavm.memory.globalobj['SVGElement'].prototype; bodavm.memory.globalobj['SVGGraphicsElement'].prototype.__proto__=bodavm.memory.globalobj['SVGElement'].prototype;
bodavm.memory.globalobj['SVGGraphicsElement'].__proto__=bodavm.memory.globalobj['SVGElement']; bodavm.memory.globalobj['SVGGraphicsElement'].__proto__=bodavm.memory.globalobj['SVGElement'];

View File

@ -1,5 +1,5 @@
// SVGPathElement对象 // SVGPathElement对象
bodavm.memory.globalobj['SVGPathElement'] = function SVGPathElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGPathElement'] = function SVGPathElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGPathElement'], "SVGPathElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGPathElement'], "SVGPathElement");
bodavm.memory.globalobj['SVGPathElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGeometryElement'].prototype; bodavm.memory.globalobj['SVGPathElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGeometryElement'].prototype;
bodavm.memory.globalobj['SVGPathElement'].__proto__=bodavm.memory.globalobj['SVGGeometryElement']; bodavm.memory.globalobj['SVGPathElement'].__proto__=bodavm.memory.globalobj['SVGGeometryElement'];

View File

@ -1,5 +1,5 @@
// SVGPatternElement对象 // SVGPatternElement对象
bodavm.memory.globalobj['SVGPatternElement'] = function SVGPatternElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGPatternElement'] = function SVGPatternElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGPatternElement'], "SVGPatternElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGPatternElement'], "SVGPatternElement");
bodavm.memory.globalobj['SVGPatternElement'].prototype.__proto__=bodavm.memory.globalobj['SVGElement'].prototype; bodavm.memory.globalobj['SVGPatternElement'].prototype.__proto__=bodavm.memory.globalobj['SVGElement'].prototype;
bodavm.memory.globalobj['SVGPatternElement'].__proto__=bodavm.memory.globalobj['SVGElement']; bodavm.memory.globalobj['SVGPatternElement'].__proto__=bodavm.memory.globalobj['SVGElement'];

View File

@ -1,5 +1,5 @@
// SVGSVGElement对象 // SVGSVGElement对象
bodavm.memory.globalobj['SVGSVGElement'] = function SVGSVGElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGSVGElement'] = function SVGSVGElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGSVGElement'], "SVGSVGElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGSVGElement'], "SVGSVGElement");
bodavm.memory.globalobj['SVGSVGElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype; bodavm.memory.globalobj['SVGSVGElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype;
bodavm.memory.globalobj['SVGSVGElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement']; bodavm.memory.globalobj['SVGSVGElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement'];

View File

@ -1,5 +1,5 @@
// SVGSymbolElement对象 // SVGSymbolElement对象
bodavm.memory.globalobj['SVGSymbolElement'] = function SVGSymbolElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGSymbolElement'] = function SVGSymbolElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGSymbolElement'], "SVGSymbolElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGSymbolElement'], "SVGSymbolElement");
bodavm.memory.globalobj['SVGSymbolElement'].prototype.__proto__=bodavm.memory.globalobj['SVGElement'].prototype; bodavm.memory.globalobj['SVGSymbolElement'].prototype.__proto__=bodavm.memory.globalobj['SVGElement'].prototype;
bodavm.memory.globalobj['SVGSymbolElement'].__proto__=bodavm.memory.globalobj['SVGElement']; bodavm.memory.globalobj['SVGSymbolElement'].__proto__=bodavm.memory.globalobj['SVGElement'];

View File

@ -1,5 +1,5 @@
// SVGUseElement对象 // SVGUseElement对象
bodavm.memory.globalobj['SVGUseElement'] = function SVGUseElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SVGUseElement'] = function SVGUseElement(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGUseElement'], "SVGUseElement"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGUseElement'], "SVGUseElement");
bodavm.memory.globalobj['SVGUseElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype; bodavm.memory.globalobj['SVGUseElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype;
bodavm.memory.globalobj['SVGUseElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement']; bodavm.memory.globalobj['SVGUseElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement'];

View File

@ -1,8 +1,8 @@
// Scheduler对象 // Scheduler对象
bodavm.memory.globalobj['Scheduler'] = function Scheduler(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Scheduler'] = function Scheduler(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Scheduler'], "Scheduler"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Scheduler'], "Scheduler");
bodavm.toolsFunc.defineProperty('Scheduler', "postTask", {configurable:true, enumerable:true, writable:true, value:function postTask (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Scheduler'].prototype, "Scheduler", "postTask", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('Scheduler', "postTask", {configurable:true, enumerable:true, writable:true, value:function postTask (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Scheduler'].prototype, "Scheduler", "postTask", arguments)}},'prototype');
// scheduler对象 // scheduler对象
bodavm.memory.globalobj[ 'scheduler'] = {} bodavm.memory.globalobj[ 'scheduler'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'scheduler'] .__proto__=bodavm.memory.globalobj['Scheduler'].prototype; bodavm.memory.globalobj[ 'scheduler'] .__proto__=bodavm.memory.globalobj['Scheduler'].prototype;

View File

@ -1,5 +1,5 @@
// Screen对象 // Screen对象
bodavm.memory.globalobj['Screen'] = function Screen(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['Screen'] = function Screen(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Screen'], "Screen"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['Screen'], "Screen");
bodavm.memory.globalobj['Screen'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['Screen'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['Screen'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['Screen'].__proto__=bodavm.memory.globalobj['EventTarget'];
@ -15,7 +15,7 @@ bodavm.toolsFunc.defineProperty('Screen', "orientation", {configurable:true, enu
bodavm.toolsFunc.defineProperty('Screen', "onchange", {configurable:true, enumerable:true, get:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Screen'].prototype, "Screen", "onchange_get", arguments)}, set:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Screen'].prototype, "Screen", "onchange_set", arguments)}},'prototype'); bodavm.toolsFunc.defineProperty('Screen', "onchange", {configurable:true, enumerable:true, get:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Screen'].prototype, "Screen", "onchange_get", arguments)}, set:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Screen'].prototype, "Screen", "onchange_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('Screen', "isExtended", {configurable:true, enumerable:true, get:function isExtended (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Screen'].prototype, "Screen", "isExtended_get", arguments)}, set:undefined},'prototype'); bodavm.toolsFunc.defineProperty('Screen', "isExtended", {configurable:true, enumerable:true, get:function isExtended (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['Screen'].prototype, "Screen", "isExtended_get", arguments)}, set:undefined},'prototype');
bodavm.memory.globalobj[ 'screen'] = {} bodavm.memory.globalobj[ 'screen'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'screen'].__proto__=bodavm.memory.globalobj['Screen'].prototype; bodavm.memory.globalobj[ 'screen'].__proto__=bodavm.memory.globalobj['Screen'].prototype;

View File

@ -1,5 +1,5 @@
// ScreenOrientation对象 // ScreenOrientation对象
bodavm.memory.globalobj['ScreenOrientation'] = function ScreenOrientation(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['ScreenOrientation'] = function ScreenOrientation(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['ScreenOrientation'], "ScreenOrientation"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['ScreenOrientation'], "ScreenOrientation");
bodavm.memory.globalobj['ScreenOrientation'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['ScreenOrientation'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['ScreenOrientation'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['ScreenOrientation'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,5 +1,5 @@
// SourceBuffer对象 // SourceBuffer对象
bodavm.memory.globalobj['SourceBuffer'] = function SourceBuffer(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")} bodavm.memory.globalobj['SourceBuffer'] = function SourceBuffer(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SourceBuffer'], "SourceBuffer"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SourceBuffer'], "SourceBuffer");
bodavm.memory.globalobj['SourceBuffer'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype; bodavm.memory.globalobj['SourceBuffer'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['SourceBuffer'].__proto__=bodavm.memory.globalobj['EventTarget']; bodavm.memory.globalobj['SourceBuffer'].__proto__=bodavm.memory.globalobj['EventTarget'];

View File

@ -1,4 +1,4 @@
bodavm.memory.globalobj['SpeechSynthesis'] = function SpeechSynthesis() { return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor") } bodavm.memory.globalobj['SpeechSynthesis'] = function SpeechSynthesis() {this._boisinit=bodavm.config.isinit; return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor") }
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SpeechSynthesis'], "SpeechSynthesis"); bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SpeechSynthesis'], "SpeechSynthesis");
bodavm.toolsFunc.defineProperty('SpeechSynthesis', "cancel", { writable: true, enumerable: true, configurable: true, value: function cancel() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SpeechSynthesis'] .prototype, "SpeechSynthesis", "cancel", arguments) } },'prototype'); bodavm.toolsFunc.defineProperty('SpeechSynthesis', "cancel", { writable: true, enumerable: true, configurable: true, value: function cancel() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SpeechSynthesis'] .prototype, "SpeechSynthesis", "cancel", arguments) } },'prototype');
bodavm.toolsFunc.defineProperty('SpeechSynthesis', "getVoices", { writable: true, enumerable: true, configurable: true, value: function getVoices() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SpeechSynthesis'] .prototype, "SpeechSynthesis", "getVoices", arguments) } },'prototype'); bodavm.toolsFunc.defineProperty('SpeechSynthesis', "getVoices", { writable: true, enumerable: true, configurable: true, value: function getVoices() { return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SpeechSynthesis'] .prototype, "SpeechSynthesis", "getVoices", arguments) } },'prototype');
@ -12,6 +12,6 @@ bodavm.toolsFunc.defineProperty('SpeechSynthesis', "onvoiceschanged", { configur
// speechSynthesis对象 // speechSynthesis对象
bodavm.memory.globalobj[ 'speechSynthesis'] = {} bodavm.memory.globalobj[ 'speechSynthesis'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'speechSynthesis'].__proto__=bodavm.memory.globalobj['SpeechSynthesis'] .prototype; bodavm.memory.globalobj[ 'speechSynthesis'].__proto__=bodavm.memory.globalobj['SpeechSynthesis'] .prototype;
delete SpeechSynthesis delete SpeechSynthesis

View File

@ -1,5 +1,5 @@
// SpeechSynthesisUtterance对象 // SpeechSynthesisUtterance对象
bodavm.memory.globalobj['SpeechSynthesisUtterance'] = function SpeechSynthesisUtterance(){ bodavm.memory.globalobj['SpeechSynthesisUtterance'] = function SpeechSynthesisUtterance(){this._boisinit=bodavm.config.isinit;
if (!(this instanceof SpeechSynthesisUtterance)) { if (!(this instanceof SpeechSynthesisUtterance)) {
return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'SpeechSynthesisUtterance': Please use the 'new' operator, this DOM object constructor cannot be called as a function") return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'SpeechSynthesisUtterance': Please use the 'new' operator, this DOM object constructor cannot be called as a function")
}; };

Some files were not shown because too many files have changed in this diff Show More