2023-08-18

This commit is contained in:
qxVm 2023-08-18 17:52:22 +08:00
parent ac6796afea
commit 9f3fe828ba
120 changed files with 1765 additions and 1327 deletions

27
.vscode/launch.json vendored
View File

@ -1,27 +0,0 @@
{
// 使 IntelliSense
//
// 访: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}\\z_working\\rs5Vm.js"
},
{
"type": "node",
"request": "launch",
"name": "浏览器无环境",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "node-inspect",
"program": "${workspaceFolder}\\z_working\\rs5Vm.js"
}
]
}

View File

@ -20,6 +20,16 @@
## 2023-08-18更新
- 具体细节看demo文件内部的描述
- 完善事件调用(demoEventVm.js)
- 增加一些常用方法封装
- 增加开启nodeServer 功能封装(demoServerVm.js)
## 2023-07-26更新 ## 2023-07-26更新
- 添加完善的日志功能, 替代之前的debugger功能, 使得调试更加舒服 - 添加完善的日志功能, 替代之前的debugger功能, 使得调试更加舒服

View File

@ -16,7 +16,7 @@ AudioDestinationNode = function AudioDestinationNode(createObj_key, channelCount
AudioDestinationNode.prototype = { AudioDestinationNode.prototype = {
get maxChannelCount() { get maxChannelCount() {
if (!AudioDestinationNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioDestinationNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).maxChannelCount;; let result = lwVm.memory.private_data.get(this).maxChannelCount;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioDestinationNode', 'maxChannelCount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioDestinationNode', 'maxChannelCount', arguments, result);
return result; return result;
}, },

View File

@ -18,7 +18,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).forwardX = ele; lwVm.memory.private_data.get(this).forwardX = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'forwardX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'forwardX', arguments, result);
return result; return result;
}, },
@ -29,7 +29,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).forwardY = ele; lwVm.memory.private_data.get(this).forwardY = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'forwardY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'forwardY', arguments, result);
return result; return result;
}, },
@ -40,7 +40,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", -1, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", -1, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).forwardZ = ele; lwVm.memory.private_data.get(this).forwardZ = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'forwardZ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'forwardZ', arguments, result);
return result; return result;
}, },
@ -51,7 +51,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).positionX = ele; lwVm.memory.private_data.get(this).positionX = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'positionX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'positionX', arguments, result);
return result; return result;
}, },
@ -62,7 +62,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).positionY = ele; lwVm.memory.private_data.get(this).positionY = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'positionY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'positionY', arguments, result);
return result; return result;
}, },
@ -73,7 +73,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).positionZ = ele; lwVm.memory.private_data.get(this).positionZ = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'positionZ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'positionZ', arguments, result);
return result; return result;
}, },
@ -96,7 +96,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).upX = ele; lwVm.memory.private_data.get(this).upX = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'upX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'upX', arguments, result);
return result; return result;
}, },
@ -107,7 +107,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 1, 3.4028234663852886e+38, -3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 1, 3.4028234663852886e+38, -3.4028234663852886e+38);
lwVm.memory.private_data.get(this).upY = ele; lwVm.memory.private_data.get(this).upY = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'upY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'upY', arguments, result);
return result; return result;
}, },
@ -118,7 +118,7 @@ AudioListener = function AudioListener(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 3.4028234663852886e+38);
lwVm.memory.private_data.get(this).upZ = ele; lwVm.memory.private_data.get(this).upZ = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'upZ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioListener', 'upZ', arguments, result);
return result; return result;
}, },

View File

@ -17,7 +17,7 @@ AudioNode = function AudioNode(createObj_key, channelCountMode) {
AudioNode.prototype = { AudioNode.prototype = {
get channelCount() { get channelCount() {
if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).channelCount, 2);; let result = lwVm.abs(lwVm.memory.private_data.get(this).channelCount, 2);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'channelCount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'channelCount', arguments, result);
return result; return result;
}, },
@ -28,7 +28,7 @@ AudioNode = function AudioNode(createObj_key, channelCountMode) {
}, },
get channelCountMode() { get channelCountMode() {
if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).channelCountMode, "max");; let result = lwVm.abs(lwVm.memory.private_data.get(this).channelCountMode, "max");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'channelCountMode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'channelCountMode', arguments, result);
return result; return result;
}, },
@ -39,7 +39,7 @@ AudioNode = function AudioNode(createObj_key, channelCountMode) {
}, },
get channelInterpretation() { get channelInterpretation() {
if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).channelInterpretation, "speakers");; let result = lwVm.abs(lwVm.memory.private_data.get(this).channelInterpretation, "speakers");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'channelInterpretation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'channelInterpretation', arguments, result);
return result; return result;
}, },
@ -62,7 +62,7 @@ AudioNode = function AudioNode(createObj_key, channelCountMode) {
ele = new OfflineAudioContext(lwVm.memory.$createObj_key); ele = new OfflineAudioContext(lwVm.memory.$createObj_key);
lwVm.memory.private_data.get(this).context = ele; lwVm.memory.private_data.get(this).context = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'context', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'context', arguments, result);
return result; return result;
}, },
@ -74,13 +74,13 @@ AudioNode = function AudioNode(createObj_key, channelCountMode) {
}, },
get numberOfInputs() { get numberOfInputs() {
if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).numberOfInputs, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).numberOfInputs, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'numberOfInputs', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'numberOfInputs', arguments, result);
return result; return result;
}, },
get numberOfOutputs() { get numberOfOutputs() {
if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).numberOfOutputs, 1);; let result = lwVm.abs(lwVm.memory.private_data.get(this).numberOfOutputs, 1);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'numberOfOutputs', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioNode', 'numberOfOutputs', arguments, result);
return result; return result;
}, },

View File

@ -29,7 +29,7 @@ AudioParam = function AudioParam(createObj_key, automationRate, defaultValue, ma
AudioParam.prototype = { AudioParam.prototype = {
get automationRate() { get automationRate() {
if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).automationRate, "a-rate");; let result = lwVm.abs(lwVm.memory.private_data.get(this).automationRate, "a-rate");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'automationRate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'automationRate', arguments, result);
return result; return result;
}, },
@ -52,7 +52,7 @@ AudioParam = function AudioParam(createObj_key, automationRate, defaultValue, ma
}, },
get defaultValue() { get defaultValue() {
if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultValue, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultValue, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'defaultValue', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'defaultValue', arguments, result);
return result; return result;
}, },
@ -70,13 +70,13 @@ AudioParam = function AudioParam(createObj_key, automationRate, defaultValue, ma
}, },
get maxValue() { get maxValue() {
if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).maxValue;; let result = lwVm.memory.private_data.get(this).maxValue;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'maxValue', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'maxValue', arguments, result);
return result; return result;
}, },
get minValue() { get minValue() {
if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).minValue;; let result = lwVm.memory.private_data.get(this).minValue;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'minValue', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'minValue', arguments, result);
return result; return result;
}, },
@ -88,7 +88,7 @@ AudioParam = function AudioParam(createObj_key, automationRate, defaultValue, ma
}, },
setValueAtTime() { setValueAtTime() {
if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 440, 22050);; let result = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 440, 22050);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'AudioParam', 'setValueAtTime', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'AudioParam', 'setValueAtTime', arguments, result);
return result; return result;
}, },
@ -100,7 +100,7 @@ AudioParam = function AudioParam(createObj_key, automationRate, defaultValue, ma
}, },
get value() { get value() {
if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioParam.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).value, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).value, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'value', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioParam', 'value', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ AudioScheduledSourceNode = function AudioScheduledSourceNode(createObj_key) {
AudioScheduledSourceNode.prototype = { AudioScheduledSourceNode.prototype = {
get onended() { get onended() {
if (!AudioScheduledSourceNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!AudioScheduledSourceNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onended, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onended, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioScheduledSourceNode', 'onended', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'AudioScheduledSourceNode', 'onended', arguments, result);
return result; return result;
}, },

View File

@ -23,7 +23,7 @@ BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数
ele = new AudioWorklet(lwVm.memory.$createObj_key); ele = new AudioWorklet(lwVm.memory.$createObj_key);
lwVm.memory.private_data.get(this).audioWorklet = ele; lwVm.memory.private_data.get(this).audioWorklet = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'audioWorklet', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'audioWorklet', arguments, result);
return result; return result;
}, },
@ -85,7 +85,7 @@ BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数
if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let ele = new DynamicsCompressorNode(lwVm.memory.$createObj_key); let ele = new DynamicsCompressorNode(lwVm.memory.$createObj_key);
ele.channelCountMode = "clamped-max"; ele.channelCountMode = "clamped-max";
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'BaseAudioContext', 'createDynamicsCompressor', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'BaseAudioContext', 'createDynamicsCompressor', arguments, result);
return result; return result;
}, },
@ -103,7 +103,7 @@ BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数
}, },
createOscillator() { createOscillator() {
if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = new OscillatorNode();; let result = new OscillatorNode();
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'BaseAudioContext', 'createOscillator', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'BaseAudioContext', 'createOscillator', arguments, result);
return result; return result;
}, },
@ -139,7 +139,7 @@ BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数
}, },
get currentTime() { get currentTime() {
if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentTime, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentTime, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'currentTime', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'currentTime', arguments, result);
return result; return result;
}, },
@ -156,7 +156,7 @@ BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数
ele = new AudioDestinationNode(lwVm.memory.$createObj_key, "explicit"); ele = new AudioDestinationNode(lwVm.memory.$createObj_key, "explicit");
lwVm.memory.private_data.get(this).destination = ele; lwVm.memory.private_data.get(this).destination = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'destination', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'destination', arguments, result);
return result; return result;
}, },
@ -167,13 +167,13 @@ BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数
ele = new AudioListener(lwVm.memory.$createObj_key); ele = new AudioListener(lwVm.memory.$createObj_key);
lwVm.memory.private_data.get(this).listener = ele; lwVm.memory.private_data.get(this).listener = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'listener', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'listener', arguments, result);
return result; return result;
}, },
get onstatechange() { get onstatechange() {
if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'onstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'onstatechange', arguments, result);
return result; return result;
}, },
@ -184,7 +184,7 @@ BaseAudioContext = function BaseAudioContext(createObj_key) {//构造函数
}, },
get sampleRate() { get sampleRate() {
if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!BaseAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).sampleRate;; let result = lwVm.memory.private_data.get(this).sampleRate;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'sampleRate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BaseAudioContext', 'sampleRate', arguments, result);
return result; return result;
}, },

View File

@ -18,7 +18,7 @@ DynamicsCompressorNode = function DynamicsCompressorNode(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 0.003000000026077032, 1, 0); ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 0.003000000026077032, 1, 0);
lwVm.memory.private_data.get(this).attack = ele; lwVm.memory.private_data.get(this).attack = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'attack', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'attack', arguments, result);
return result; return result;
}, },
@ -29,7 +29,7 @@ DynamicsCompressorNode = function DynamicsCompressorNode(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 30, 40, 0); ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 30, 40, 0);
lwVm.memory.private_data.get(this).knee = ele; lwVm.memory.private_data.get(this).knee = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'knee', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'knee', arguments, result);
return result; return result;
}, },
@ -40,13 +40,13 @@ DynamicsCompressorNode = function DynamicsCompressorNode(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 12, 20, 1); ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 12, 20, 1);
lwVm.memory.private_data.get(this).ratio = ele; lwVm.memory.private_data.get(this).ratio = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'ratio', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'ratio', arguments, result);
return result; return result;
}, },
get reduction() { get reduction() {
if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DynamicsCompressorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'reduction', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'reduction', arguments, result);
return result; return result;
}, },
@ -57,7 +57,7 @@ DynamicsCompressorNode = function DynamicsCompressorNode(createObj_key) {
ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 0.25, 1, 0); ele = new AudioParam(lwVm.memory.$createObj_key, "k-rate", 0.25, 1, 0);
lwVm.memory.private_data.get(this).release = ele; lwVm.memory.private_data.get(this).release = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'release', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DynamicsCompressorNode', 'release', arguments, result);
return result; return result;
}, },

View File

@ -19,13 +19,13 @@ OfflineAudioContext = function OfflineAudioContext(numberOfChannels, length, sam
OfflineAudioContext.prototype = { OfflineAudioContext.prototype = {
get length() { get length() {
if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).length;; let result = lwVm.memory.private_data.get(this).length;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OfflineAudioContext', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OfflineAudioContext', 'length', arguments, result);
return result; return result;
}, },
get oncomplete() { get oncomplete() {
if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!OfflineAudioContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncomplete, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncomplete, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OfflineAudioContext', 'oncomplete', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OfflineAudioContext', 'oncomplete', arguments, result);
return result; return result;
}, },

View File

@ -18,7 +18,7 @@ OscillatorNode = function OscillatorNode() {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 153600, -153600); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 0, 153600, -153600);
lwVm.memory.private_data.get(this).detune = ele; lwVm.memory.private_data.get(this).detune = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OscillatorNode', 'detune', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OscillatorNode', 'detune', arguments, result);
return result; return result;
}, },
@ -29,7 +29,7 @@ OscillatorNode = function OscillatorNode() {
ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 440, 22050, -22050); ele = new AudioParam(lwVm.memory.$createObj_key, "a-rate", 440, 22050, -22050);
lwVm.memory.private_data.get(this).detune = ele; lwVm.memory.private_data.get(this).detune = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OscillatorNode', 'frequency', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OscillatorNode', 'frequency', arguments, result);
return result; return result;
}, },
@ -41,7 +41,7 @@ OscillatorNode = function OscillatorNode() {
}, },
get type() { get type() {
if (!OscillatorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!OscillatorNode.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "sine");; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "sine");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OscillatorNode', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'OscillatorNode', 'type', arguments, result);
return result; return result;
}, },

View File

@ -12,7 +12,7 @@ BarProp = function BarProp(createObj_key) {
BarProp.prototype = { BarProp.prototype = {
get visible() { get visible() {
if (!BarProp.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!BarProp.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = true;; let result = true;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BarProp', 'visible', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'BarProp', 'visible', arguments, result);
return result; return result;
}, },

View File

@ -26,7 +26,7 @@ Crypto = function Crypto(createObj_key) {
}, },
get subtle() { get subtle() {
if (!Crypto.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Crypto.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).subtle, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).subtle, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Crypto', 'subtle', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Crypto', 'subtle', arguments, result);
return result; return result;
}, },

View File

@ -18,15 +18,15 @@ openDatabase = undefined;
SQLResultSetRowList.prototype = { SQLResultSetRowList.prototype = {
item() { item() {
if (!SQLResultSetRowList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SQLResultSetRowList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).rows; let result = lwVm.memory.private_data.get(this).rows;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'SQLResultSetRowList', 'item', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Func', 'SQLResultSetRowList', 'item', arguments, result);
return result; return result;
}, },
get length() { get length() {
if (!SQLResultSetRowList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SQLResultSetRowList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).length, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).length, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SQLResultSetRowList', 'length', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Get', 'SQLResultSetRowList', 'length', arguments, result);
return result; return result;
}, },
} }
lwVm.rename(SQLResultSetRowList.prototype, "SQLResultSetRowList"); lwVm.rename(SQLResultSetRowList.prototype, "SQLResultSetRowList");
@ -50,23 +50,23 @@ openDatabase = undefined;
SQLResultSet.prototype = { SQLResultSet.prototype = {
get insertId() { get insertId() {
if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).insertId, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).insertId, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SQLResultSet', 'insertId', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Get', 'SQLResultSet', 'insertId', arguments, result);
return result; return result;
}, },
get rows() { get rows() {
if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
// let sql_result_row_list = new SQLResultSetRowList(lwVm.memory.$createObj_key, {"value": window.sql_values}); // let sql_result_row_list = new SQLResultSetRowList(lwVm.memory.$createObj_key, {"value": window.sql_values});
let result = { "value": "0" }; let result = { "value": "0" };
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SQLResultSet', 'rows', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Get', 'SQLResultSet', 'rows', arguments, result);
return result; return result;
}, },
get rowsAffected() { get rowsAffected() {
if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SQLResultSet.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).rowsAffected, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).rowsAffected, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SQLResultSet', 'rowsAffected', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Get', 'SQLResultSet', 'rowsAffected', arguments, result);
return result; return result;
}, },
} }
lwVm.rename(SQLResultSet.prototype, "SQLResultSet"); lwVm.rename(SQLResultSet.prototype, "SQLResultSet");
@ -94,14 +94,14 @@ openDatabase = undefined;
try { try {
} catch (error) { } catch (error) {
let result = errorCallback(this, sql_result);; let result = errorCallback(this, sql_result);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'SQLTransaction', '} catch ', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Func', 'SQLTransaction', '} catch ', arguments, result);
return result; return result;
} }
let sql_result = new SQLResultSet(lwVm.memory.$createObj_key); let sql_result = new SQLResultSet(lwVm.memory.$createObj_key);
let result = succrssCallback(this, sql_result); let result = succrssCallback(this, sql_result);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'SQLTransaction', '} catch ', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Func', 'SQLTransaction', '} catch ', arguments, result);
return result; return result;
} }
} }
lwVm.rename(SQLTransaction.prototype, "SQLTransaction"); lwVm.rename(SQLTransaction.prototype, "SQLTransaction");
@ -138,16 +138,16 @@ openDatabase = undefined;
}, },
readTransaction(func) { readTransaction(func) {
if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = undefined; let result = undefined;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Database', 'readTransaction', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Func', 'Database', 'readTransaction', arguments, result);
return result; return result;
}, },
transaction(func) { transaction(func) {
if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let sql_tran = new SQLTransaction(lwVm.memory.$createObj_key); let sql_tran = new SQLTransaction(lwVm.memory.$createObj_key);
let result = func(sql_tran);; let result = func(sql_tran);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Database', 'transaction', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Func', 'Database', 'transaction', arguments, result);
return result; return result;
}, },
get version() { get version() {
if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Database.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
@ -165,8 +165,8 @@ openDatabase = undefined;
let db = buffer_memory[name]; let db = buffer_memory[name];
if (db) { if (db) {
let result = db;; let result = db;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Database', 'if ', arguments, result); if (lwVm.config.logOpen === true) lwVm.logAdd('Func', 'Database', 'if ', arguments, result);
return result; return result;
} }
db = new Database(lwVm.memory.$createObj_key, version); db = new Database(lwVm.memory.$createObj_key, version);

View File

@ -29,7 +29,7 @@ history = {};
}, },
get length() { get length() {
if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = Object.keys(this).length;; let result = Object.keys(this).length;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'History', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'History', 'length', arguments, result);
return result; return result;
}, },
@ -47,7 +47,7 @@ history = {};
}, },
get scrollRestoration() { get scrollRestoration() {
if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!History.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = "auto";; let result = "auto";
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'History', 'scrollRestoration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'History', 'scrollRestoration', arguments, result);
return result; return result;
}, },

View File

@ -29,13 +29,13 @@ Request = function Request() {//构造函数
}, },
get bodyUsed() { get bodyUsed() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).bodyUsed, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).bodyUsed, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'bodyUsed', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'bodyUsed', arguments, result);
return result; return result;
}, },
get cache() { get cache() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).cache, "default");; let result = lwVm.abs(lwVm.memory.private_data.get(this).cache, "default");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'cache', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'cache', arguments, result);
return result; return result;
}, },
@ -47,13 +47,13 @@ Request = function Request() {//构造函数
}, },
get credentials() { get credentials() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).credentials, "same-origin");; let result = lwVm.abs(lwVm.memory.private_data.get(this).credentials, "same-origin");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'credentials', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'credentials', arguments, result);
return result; return result;
}, },
get destination() { get destination() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).destination, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).destination, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'destination', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'destination', arguments, result);
return result; return result;
}, },
@ -65,19 +65,19 @@ Request = function Request() {//构造函数
}, },
get headers() { get headers() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).headers, new class Headers { });; let result = lwVm.abs(lwVm.memory.private_data.get(this).headers, new class Headers { });
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'headers', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'headers', arguments, result);
return result; return result;
}, },
get integrity() { get integrity() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).integrity, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).integrity, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'integrity', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'integrity', arguments, result);
return result; return result;
}, },
get isHistoryNavigation() { get isHistoryNavigation() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).isHistoryNavigation, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).isHistoryNavigation, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'isHistoryNavigation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'isHistoryNavigation', arguments, result);
return result; return result;
}, },
@ -89,43 +89,43 @@ Request = function Request() {//构造函数
}, },
get keepalive() { get keepalive() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).keepalive, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).keepalive, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'keepalive', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'keepalive', arguments, result);
return result; return result;
}, },
get method() { get method() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).method, "GET");; let result = lwVm.abs(lwVm.memory.private_data.get(this).method, "GET");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'method', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'method', arguments, result);
return result; return result;
}, },
get mode() { get mode() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).mode, "cors");; let result = lwVm.abs(lwVm.memory.private_data.get(this).mode, "cors");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'mode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'mode', arguments, result);
return result; return result;
}, },
get redirect() { get redirect() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).redirect, "follow");; let result = lwVm.abs(lwVm.memory.private_data.get(this).redirect, "follow");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'redirect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'redirect', arguments, result);
return result; return result;
}, },
get referrer() { get referrer() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrer, "about:client");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrer, "about:client");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrer', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrer', arguments, result);
return result; return result;
}, },
get referrerPolicy() { get referrerPolicy() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result);
return result; return result;
}, },
get signal() { // 这个有问题 get signal() { // 这个有问题
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).signal, new class AbortSignal { aborted = false; onabort = null });; let result = lwVm.abs(lwVm.memory.private_data.get(this).signal, new class AbortSignal { aborted = false; onabort = null });
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result);
return result; return result;
}, },

View File

@ -41,7 +41,7 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get onreadystatechange() { get onreadystatechange() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onreadystatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onreadystatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'onreadystatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'onreadystatechange', arguments, result);
return result; return result;
}, },
@ -64,13 +64,13 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get readyState() { get readyState() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'readyState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'readyState', arguments, result);
return result; return result;
}, },
get response() { get response() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).response, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).response, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'response', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'response', arguments, result);
return result; return result;
}, },
@ -81,13 +81,13 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get responseText() { get responseText() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseText, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseText, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseText', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseText', arguments, result);
return result; return result;
}, },
get responseType() { get responseType() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseType, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseType, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseType', arguments, result);
return result; return result;
}, },
@ -98,13 +98,13 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get responseURL() { get responseURL() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseURL, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseURL, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseURL', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseURL', arguments, result);
return result; return result;
}, },
get responseXML() { get responseXML() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseXML, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseXML, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseXML', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseXML', arguments, result);
return result; return result;
}, },
@ -122,19 +122,19 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get status() { get status() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).status, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).status, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'status', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'status', arguments, result);
return result; return result;
}, },
get statusText() { get statusText() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).statusText, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).statusText, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'statusText', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'statusText', arguments, result);
return result; return result;
}, },
get timeout() { get timeout() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).timeout, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).timeout, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'timeout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'timeout', arguments, result);
return result; return result;
}, },
@ -148,7 +148,7 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get withCredentials() { get withCredentials() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).withCredentials, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).withCredentials, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'withCredentials', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'withCredentials', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
XMLHttpRequestEventTarget.prototype = { XMLHttpRequestEventTarget.prototype = {
get onabort() { get onabort() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onabort', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onabort', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onerror() { get onerror() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onerror', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onload() { get onload() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onload', arguments, result);
return result; return result;
}, },
@ -46,7 +46,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onloadend() { get onloadend() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadend', arguments, result);
return result; return result;
}, },
@ -57,7 +57,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onloadstart() { get onloadstart() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadstart', arguments, result);
return result; return result;
}, },
@ -68,7 +68,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onprogress() { get onprogress() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onprogress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onprogress', arguments, result);
return result; return result;
}, },
@ -79,7 +79,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get ontimeout() { get ontimeout() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeout, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeout, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'ontimeout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'ontimeout', arguments, result);
return result; return result;
}, },

View File

@ -16,7 +16,7 @@ IDBOpenDBRequest = function IDBOpenDBRequest(createObj_key, name, version) {
IDBOpenDBRequest.prototype = { IDBOpenDBRequest.prototype = {
get onblocked() { get onblocked() {
if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onblocked, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onblocked, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBOpenDBRequest', 'onblocked', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBOpenDBRequest', 'onblocked', arguments, result);
return result; return result;
}, },
@ -27,7 +27,7 @@ IDBOpenDBRequest = function IDBOpenDBRequest(createObj_key, name, version) {
}, },
get onupgradeneeded() { get onupgradeneeded() {
if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBOpenDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onupgradeneeded, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onupgradeneeded, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBOpenDBRequest', 'onupgradeneeded', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBOpenDBRequest', 'onupgradeneeded', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ MediaSession = function MediaSession(createObj_key) {
MediaSession.prototype = { MediaSession.prototype = {
get metadata() { get metadata() {
if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).metadata, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).metadata, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaSession', 'metadata', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaSession', 'metadata', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ MediaSession = function MediaSession(createObj_key) {
}, },
get playbackState() { get playbackState() {
if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaSession.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).playbackState, "none");; let result = lwVm.abs(lwVm.memory.private_data.get(this).playbackState, "none");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaSession', 'playbackState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaSession', 'playbackState', arguments, result);
return result; return result;
}, },

View File

@ -116,25 +116,25 @@ navigator = {};
Navigator.prototype = { Navigator.prototype = {
get appCodeName() { get appCodeName() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.appCodeName;; let result = $attribute_map.appCodeName;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'appCodeName', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'appCodeName', arguments, result);
return result; return result;
}, },
get appName() { get appName() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.appName;; let result = $attribute_map.appName;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'appName', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'appName', arguments, result);
return result; return result;
}, },
get appVersion() { get appVersion() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.appVersion;; let result = $attribute_map.appVersion;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'appVersion', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'appVersion', arguments, result);
return result; return result;
}, },
get bluetooth() { get bluetooth() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.bluetooth;; let result = $attribute_map.bluetooth;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'bluetooth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'bluetooth', arguments, result);
return result; return result;
}, },
@ -152,43 +152,43 @@ navigator = {};
}, },
get clipboard() { get clipboard() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.clipboard;; let result = $attribute_map.clipboard;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'clipboard', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'clipboard', arguments, result);
return result; return result;
}, },
get connection() { get connection() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.connection;; let result = $attribute_map.connection;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'connection', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'connection', arguments, result);
return result; return result;
}, },
get cookieEnabled() { get cookieEnabled() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.cookieEnabled;; let result = $attribute_map.cookieEnabled;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'cookieEnabled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'cookieEnabled', arguments, result);
return result; return result;
}, },
get credentials() { get credentials() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.credentials;; let result = $attribute_map.credentials;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'credentials', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'credentials', arguments, result);
return result; return result;
}, },
get deviceMemory() { get deviceMemory() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.deviceMemory;; let result = $attribute_map.deviceMemory;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'deviceMemory', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'deviceMemory', arguments, result);
return result; return result;
}, },
get doNotTrack() { get doNotTrack() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.doNotTrack;; let result = $attribute_map.doNotTrack;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'doNotTrack', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'doNotTrack', arguments, result);
return result; return result;
}, },
get geolocation() { get geolocation() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.geolocation;; let result = $attribute_map.geolocation;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'geolocation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'geolocation', arguments, result);
return result; return result;
}, },
@ -236,127 +236,127 @@ navigator = {};
}, },
get hardwareConcurrency() { get hardwareConcurrency() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.hardwareConcurrency;; let result = $attribute_map.hardwareConcurrency;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'hardwareConcurrency', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'hardwareConcurrency', arguments, result);
return result; return result;
}, },
get hid() { get hid() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.hid;; let result = $attribute_map.hid;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'hid', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'hid', arguments, result);
return result; return result;
}, },
get ink() { get ink() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.ink;; let result = $attribute_map.ink;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'ink', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'ink', arguments, result);
return result; return result;
}, },
get keyboard() { get keyboard() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.keyboard;; let result = $attribute_map.keyboard;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'keyboard', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'keyboard', arguments, result);
return result; return result;
}, },
get language() { get language() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.languages;; let result = $attribute_map.languages;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'language', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'language', arguments, result);
return result; return result;
}, },
get languages() { get languages() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.languages;; let result = $attribute_map.languages;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'languages', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'languages', arguments, result);
return result; return result;
}, },
get locks() { get locks() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.locks;; let result = $attribute_map.locks;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'locks', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'locks', arguments, result);
return result; return result;
}, },
get managed() { get managed() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.managed;; let result = $attribute_map.managed;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'managed', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'managed', arguments, result);
return result; return result;
}, },
get maxTouchPoints() { get maxTouchPoints() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.maxTouchPoints;; let result = $attribute_map.maxTouchPoints;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'maxTouchPoints', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'maxTouchPoints', arguments, result);
return result; return result;
}, },
get mediaCapabilities() { get mediaCapabilities() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.mediaCapabilities;; let result = $attribute_map.mediaCapabilities;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mediaCapabilities', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mediaCapabilities', arguments, result);
return result; return result;
}, },
get mediaDevices() { get mediaDevices() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.mediaDevices;; let result = $attribute_map.mediaDevices;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mediaDevices', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mediaDevices', arguments, result);
return result; return result;
}, },
get mediaSession() { get mediaSession() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.mediaSession;; let result = $attribute_map.mediaSession;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mediaSession', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mediaSession', arguments, result);
return result; return result;
}, },
get mimeTypes() { get mimeTypes() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.mimeTypes;; let result = $attribute_map.mimeTypes;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mimeTypes', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'mimeTypes', arguments, result);
return result; return result;
}, },
get onLine() { get onLine() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.onLine;; let result = $attribute_map.onLine;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'onLine', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'onLine', arguments, result);
return result; return result;
}, },
get pdfViewerEnabled() { get pdfViewerEnabled() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.pdfViewerEnabled;; let result = $attribute_map.pdfViewerEnabled;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'pdfViewerEnabled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'pdfViewerEnabled', arguments, result);
return result; return result;
}, },
get permissions() { get permissions() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.permissions;; let result = $attribute_map.permissions;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'permissions', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'permissions', arguments, result);
return result; return result;
}, },
get platform() { get platform() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.platform;; let result = $attribute_map.platform;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'platform', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'platform', arguments, result);
return result; return result;
}, },
get plugins() { get plugins() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.plugins;; let result = $attribute_map.plugins;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'plugins', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'plugins', arguments, result);
return result; return result;
}, },
get presentation() { get presentation() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.presentation;; let result = $attribute_map.presentation;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'presentation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'presentation', arguments, result);
return result; return result;
}, },
get product() { get product() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.product;; let result = $attribute_map.product;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'product', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'product', arguments, result);
return result; return result;
}, },
get productSub() { get productSub() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.productSub;; let result = $attribute_map.productSub;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'productSub', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'productSub', arguments, result);
return result; return result;
}, },
@ -380,7 +380,7 @@ navigator = {};
}, },
get scheduling() { get scheduling() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.scheduling;; let result = $attribute_map.scheduling;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'scheduling', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'scheduling', arguments, result);
return result; return result;
}, },
@ -393,13 +393,13 @@ navigator = {};
get serial() { get serial() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.serial;; let result = $attribute_map.serial;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'serial', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'serial', arguments, result);
return result; return result;
}, },
get serviceWorker() { get serviceWorker() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.serviceWorker;; let result = $attribute_map.serviceWorker;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'serviceWorker', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'serviceWorker', arguments, result);
return result; return result;
}, },
@ -417,7 +417,7 @@ navigator = {};
}, },
get storage() { get storage() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.storage;; let result = $attribute_map.storage;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'storage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'storage', arguments, result);
return result; return result;
}, },
@ -429,37 +429,37 @@ navigator = {};
}, },
get usb() { get usb() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = new lwVm.memory.$createObj_key();; let result = new lwVm.memory.$createObj_key();
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'usb', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'usb', arguments, result);
return result; return result;
}, },
get userActivation() { get userActivation() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.userActivation;; let result = $attribute_map.userActivation;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'userActivation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'userActivation', arguments, result);
return result; return result;
}, },
get userAgent() { get userAgent() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.userAgent;; let result = $attribute_map.userAgent;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'userAgent', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'userAgent', arguments, result);
return result; return result;
}, },
get userAgentData() { get userAgentData() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.userAgentData;; let result = $attribute_map.userAgentData;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'userAgentData', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'userAgentData', arguments, result);
return result; return result;
}, },
get vendor() { get vendor() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.vendor;; let result = $attribute_map.vendor;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'vendor', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'vendor', arguments, result);
return result; return result;
}, },
get vendorSub() { get vendorSub() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.vendorSub;; let result = $attribute_map.vendorSub;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'vendorSub', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'vendorSub', arguments, result);
return result; return result;
}, },
@ -471,19 +471,19 @@ navigator = {};
}, },
get virtualKeyboard() { get virtualKeyboard() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.virtualKeyboard;; let result = $attribute_map.virtualKeyboard;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'virtualKeyboard', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'virtualKeyboard', arguments, result);
return result; return result;
}, },
get wakeLock() { get wakeLock() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.wakeLock;; let result = $attribute_map.wakeLock;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'wakeLock', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'wakeLock', arguments, result);
return result; return result;
}, },
get webdriver() { get webdriver() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.webdriver;; let result = $attribute_map.webdriver;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'webdriver', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'webdriver', arguments, result);
return result; return result;
}, },
@ -491,19 +491,19 @@ navigator = {};
}, },
get webkitPersistentStorage() { get webkitPersistentStorage() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.webkitPersistentStorage;; let result = $attribute_map.webkitPersistentStorage;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'webkitPersistentStorage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'webkitPersistentStorage', arguments, result);
return result; return result;
}, },
get webkitTemporaryStorage() { get webkitTemporaryStorage() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.webkitTemporaryStorage;; let result = $attribute_map.webkitTemporaryStorage;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'webkitTemporaryStorage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'webkitTemporaryStorage', arguments, result);
return result; return result;
}, },
get xr() { get xr() {
if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Navigator.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.xr;; let result = $attribute_map.xr;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'xr', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Navigator', 'xr', arguments, result);
return result; return result;
}, },

View File

@ -27,13 +27,13 @@ NavigatorUAData = function NavigatorUAData(createObj_key) {//构造函数
}, },
get mobile() { get mobile() {
if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = false;; let result = false;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NavigatorUAData', 'mobile', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NavigatorUAData', 'mobile', arguments, result);
return result; return result;
}, },
get platform() { get platform() {
if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NavigatorUAData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = "Windows";; let result = "Windows";
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NavigatorUAData', 'platform', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NavigatorUAData', 'platform', arguments, result);
return result; return result;
}, },

View File

@ -20,19 +20,19 @@ Performance = function Performance(createObj_key) {//构造函数
MemoryInfo.prototype = { MemoryInfo.prototype = {
get jsHeapSizeLimit() { get jsHeapSizeLimit() {
if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 2330000000;; let result = 2330000000;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'jsHeapSizeLimit', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'jsHeapSizeLimit', arguments, result);
return result; return result;
}, },
get totalJSHeapSize() { get totalJSHeapSize() {
if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 18200000;; let result = 18200000;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'totalJSHeapSize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'totalJSHeapSize', arguments, result);
return result; return result;
}, },
get usedJSHeapSize() { get usedJSHeapSize() {
if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 15200000;; let result = 15200000;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'usedJSHeapSize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'usedJSHeapSize', arguments, result);
return result; return result;
}, },
@ -69,7 +69,7 @@ Performance = function Performance(createObj_key) {//构造函数
}, },
get eventCounts() { get eventCounts() {
if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).eventCounts, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).eventCounts, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'eventCounts', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'eventCounts', arguments, result);
return result; return result;
}, },
@ -119,7 +119,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = new MemoryInfo(lwVm.memory.$createObj_key); ele = new MemoryInfo(lwVm.memory.$createObj_key);
lwVm.memory.private_data.get(this).memory = ele; lwVm.memory.private_data.get(this).memory = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result);
return result; return result;
}, },
@ -130,7 +130,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = new PerformanceNavigation(lwVm.memory.$createObj_key); ele = new PerformanceNavigation(lwVm.memory.$createObj_key);
lwVm.memory.private_data.get(this).navigation = ele; lwVm.memory.private_data.get(this).navigation = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result);
return result; return result;
}, },
@ -142,7 +142,7 @@ Performance = function Performance(createObj_key) {//构造函数
}, },
get onresourcetimingbufferfull() { get onresourcetimingbufferfull() {
if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onresourcetimingbufferfull, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onresourcetimingbufferfull, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'onresourcetimingbufferfull', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'onresourcetimingbufferfull', arguments, result);
return result; return result;
}, },
@ -164,7 +164,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = (new Date().getTime()) + parseFloat((Math.random()).toFixed(1)) ele = (new Date().getTime()) + parseFloat((Math.random()).toFixed(1))
lwVm.memory.private_data.get(this).timeOrigin = ele lwVm.memory.private_data.get(this).timeOrigin = ele
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timeOrigin', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timeOrigin', arguments, result);
return result; return result;
}, },
@ -175,7 +175,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = new PerformanceTiming(lwVm.memory.$createObj_key, parseInt(this.timeOrigin)); ele = new PerformanceTiming(lwVm.memory.$createObj_key, parseInt(this.timeOrigin));
lwVm.memory.private_data.get(this).timing = ele; lwVm.memory.private_data.get(this).timing = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timing', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timing', arguments, result);
return result; return result;
}, },

View File

@ -20,19 +20,19 @@ Performance = function Performance(createObj_key) {//构造函数
MemoryInfo.prototype = { MemoryInfo.prototype = {
get jsHeapSizeLimit() { get jsHeapSizeLimit() {
if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 2330000000;; let result = 2330000000;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'jsHeapSizeLimit', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'jsHeapSizeLimit', arguments, result);
return result; return result;
}, },
get totalJSHeapSize() { get totalJSHeapSize() {
if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 18200000;; let result = 18200000;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'totalJSHeapSize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'totalJSHeapSize', arguments, result);
return result; return result;
}, },
get usedJSHeapSize() { get usedJSHeapSize() {
if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MemoryInfo.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 15200000;; let result = 15200000;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'usedJSHeapSize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MemoryInfo', 'usedJSHeapSize', arguments, result);
return result; return result;
}, },
@ -69,7 +69,7 @@ Performance = function Performance(createObj_key) {//构造函数
}, },
get eventCounts() { get eventCounts() {
if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).eventCounts, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).eventCounts, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'eventCounts', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'eventCounts', arguments, result);
return result; return result;
}, },
@ -119,7 +119,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = new MemoryInfo(lwVm.memory.$createObj_key); ele = new MemoryInfo(lwVm.memory.$createObj_key);
lwVm.memory.private_data.get(this).memory = ele; lwVm.memory.private_data.get(this).memory = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result);
return result; return result;
}, },
@ -130,7 +130,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = new PerformanceNavigation(lwVm.memory.$createObj_key); ele = new PerformanceNavigation(lwVm.memory.$createObj_key);
lwVm.memory.private_data.get(this).navigation = ele; lwVm.memory.private_data.get(this).navigation = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Performance', 'if ', arguments, result);
return result; return result;
}, },
@ -142,7 +142,7 @@ Performance = function Performance(createObj_key) {//构造函数
}, },
get onresourcetimingbufferfull() { get onresourcetimingbufferfull() {
if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Performance.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onresourcetimingbufferfull, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onresourcetimingbufferfull, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'onresourcetimingbufferfull', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'onresourcetimingbufferfull', arguments, result);
return result; return result;
}, },
@ -164,7 +164,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = (new Date().getTime()) + parseFloat((Math.random()).toFixed(1)) ele = (new Date().getTime()) + parseFloat((Math.random()).toFixed(1))
lwVm.memory.private_data.get(this).timeOrigin = ele lwVm.memory.private_data.get(this).timeOrigin = ele
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timeOrigin', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timeOrigin', arguments, result);
return result; return result;
}, },
@ -175,7 +175,7 @@ Performance = function Performance(createObj_key) {//构造函数
ele = new PerformanceTiming(lwVm.memory.$createObj_key, parseInt(this.timeOrigin)); ele = new PerformanceTiming(lwVm.memory.$createObj_key, parseInt(this.timeOrigin));
lwVm.memory.private_data.get(this).timing = ele; lwVm.memory.private_data.get(this).timing = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timing', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Performance', 'timing', arguments, result);
return result; return result;
}, },

View File

@ -14,25 +14,25 @@ PerformanceEntry = function PerformanceEntry(createObj_key) {
PerformanceEntry.prototype = { PerformanceEntry.prototype = {
get duration() { get duration() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).duration, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).duration, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'duration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'duration', arguments, result);
return result; return result;
}, },
get entryType() { get entryType() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).entryType, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).entryType, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'entryType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'entryType', arguments, result);
return result; return result;
}, },
get name() { get name() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'name', arguments, result);
return result; return result;
}, },
get startTime() { get startTime() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).startTime, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).startTime, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'startTime', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'startTime', arguments, result);
return result; return result;
}, },

View File

@ -19,7 +19,7 @@ PerformanceNavigation = function PerformanceNavigation(createObj_key) {
PerformanceNavigation.prototype = { PerformanceNavigation.prototype = {
get redirectCount() { get redirectCount() {
if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'redirectCount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'redirectCount', arguments, result);
return result; return result;
}, },
@ -31,7 +31,7 @@ PerformanceNavigation = function PerformanceNavigation(createObj_key) {
}, },
get type() { get type() {
if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'type', arguments, result);
return result; return result;
}, },

View File

@ -18,115 +18,115 @@ PerformanceTiming = function PerformanceTiming(createObj_key, timeOrigin) {//构
PerformanceTiming.prototype = { PerformanceTiming.prototype = {
get connectEnd() { get connectEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectEnd', arguments, result);
return result; return result;
}, },
get connectStart() { get connectStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectStart', arguments, result);
return result; return result;
}, },
get domComplete() { get domComplete() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + parseInt(Math.random()*(500 - 10) + 100, 10);; let result = lwVm.memory.private_data.get(this).base_time + parseInt(Math.random()*(500 - 10) + 100, 10);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domComplete', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domComplete', arguments, result);
return result; return result;
}, },
get domContentLoadedEventEnd() { get domContentLoadedEventEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 106;; let result = lwVm.memory.private_data.get(this).base_time + 106;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventEnd', arguments, result);
return result; return result;
}, },
get domContentLoadedEventStart() { get domContentLoadedEventStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 103;; let result = lwVm.memory.private_data.get(this).base_time + 103;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventStart', arguments, result);
return result; return result;
}, },
get domInteractive() { get domInteractive() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 102;; let result = lwVm.memory.private_data.get(this).base_time + 102;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domInteractive', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domInteractive', arguments, result);
return result; return result;
}, },
get domLoading() { get domLoading() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 79;; let result = lwVm.memory.private_data.get(this).base_time + 79;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domLoading', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domLoading', arguments, result);
return result; return result;
}, },
get domainLookupEnd() { get domainLookupEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupEnd', arguments, result);
return result; return result;
}, },
get domainLookupStart() { get domainLookupStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupStart', arguments, result);
return result; return result;
}, },
get fetchStart() { get fetchStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'fetchStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'fetchStart', arguments, result);
return result; return result;
}, },
get loadEventEnd() { get loadEventEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this.domComplete;; let result = this.domComplete;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventEnd', arguments, result);
return result; return result;
}, },
get loadEventStart() { get loadEventStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this.domComplete;; let result = this.domComplete;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventStart', arguments, result);
return result; return result;
}, },
get navigationStart() { get navigationStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + -8;; let result = lwVm.memory.private_data.get(this).base_time + -8;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'navigationStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'navigationStart', arguments, result);
return result; return result;
}, },
get redirectEnd() { get redirectEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectEnd', arguments, result);
return result; return result;
}, },
get redirectStart() { get redirectStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectStart', arguments, result);
return result; return result;
}, },
get requestStart() { get requestStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'requestStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'requestStart', arguments, result);
return result; return result;
}, },
get responseEnd() { get responseEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 20;; let result = lwVm.memory.private_data.get(this).base_time + 20;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseEnd', arguments, result);
return result; return result;
}, },
get responseStart() { get responseStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseStart', arguments, result);
return result; return result;
}, },
get secureConnectionStart() { get secureConnectionStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'secureConnectionStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'secureConnectionStart', arguments, result);
return result; return result;
}, },
@ -138,7 +138,7 @@ PerformanceTiming = function PerformanceTiming(createObj_key, timeOrigin) {//构
}, },
get unloadEventEnd() { get unloadEventEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'unloadEventEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'unloadEventEnd', arguments, result);
return result; return result;
}, },

View File

@ -14,25 +14,25 @@ PerformanceEntry = function PerformanceEntry(createObj_key) {
PerformanceEntry.prototype = { PerformanceEntry.prototype = {
get duration() { get duration() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).duration, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).duration, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'duration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'duration', arguments, result);
return result; return result;
}, },
get entryType() { get entryType() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).entryType, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).entryType, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'entryType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'entryType', arguments, result);
return result; return result;
}, },
get name() { get name() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'name', arguments, result);
return result; return result;
}, },
get startTime() { get startTime() {
if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceEntry.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).startTime, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).startTime, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'startTime', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceEntry', 'startTime', arguments, result);
return result; return result;
}, },

View File

@ -19,7 +19,7 @@ PerformanceNavigation = function PerformanceNavigation(createObj_key) {
PerformanceNavigation.prototype = { PerformanceNavigation.prototype = {
get redirectCount() { get redirectCount() {
if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'redirectCount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'redirectCount', arguments, result);
return result; return result;
}, },
@ -31,7 +31,7 @@ PerformanceNavigation = function PerformanceNavigation(createObj_key) {
}, },
get type() { get type() {
if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceNavigation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceNavigation', 'type', arguments, result);
return result; return result;
}, },

View File

@ -18,115 +18,115 @@ PerformanceTiming = function PerformanceTiming(createObj_key, timeOrigin) {//构
PerformanceTiming.prototype = { PerformanceTiming.prototype = {
get connectEnd() { get connectEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectEnd', arguments, result);
return result; return result;
}, },
get connectStart() { get connectStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'connectStart', arguments, result);
return result; return result;
}, },
get domComplete() { get domComplete() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + parseInt(Math.random()*(500 - 10) + 100, 10);; let result = lwVm.memory.private_data.get(this).base_time + parseInt(Math.random()*(500 - 10) + 100, 10);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domComplete', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domComplete', arguments, result);
return result; return result;
}, },
get domContentLoadedEventEnd() { get domContentLoadedEventEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 106;; let result = lwVm.memory.private_data.get(this).base_time + 106;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventEnd', arguments, result);
return result; return result;
}, },
get domContentLoadedEventStart() { get domContentLoadedEventStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 103;; let result = lwVm.memory.private_data.get(this).base_time + 103;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domContentLoadedEventStart', arguments, result);
return result; return result;
}, },
get domInteractive() { get domInteractive() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 102;; let result = lwVm.memory.private_data.get(this).base_time + 102;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domInteractive', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domInteractive', arguments, result);
return result; return result;
}, },
get domLoading() { get domLoading() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 79;; let result = lwVm.memory.private_data.get(this).base_time + 79;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domLoading', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domLoading', arguments, result);
return result; return result;
}, },
get domainLookupEnd() { get domainLookupEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupEnd', arguments, result);
return result; return result;
}, },
get domainLookupStart() { get domainLookupStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'domainLookupStart', arguments, result);
return result; return result;
}, },
get fetchStart() { get fetchStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'fetchStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'fetchStart', arguments, result);
return result; return result;
}, },
get loadEventEnd() { get loadEventEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this.domComplete;; let result = this.domComplete;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventEnd', arguments, result);
return result; return result;
}, },
get loadEventStart() { get loadEventStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this.domComplete;; let result = this.domComplete;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'loadEventStart', arguments, result);
return result; return result;
}, },
get navigationStart() { get navigationStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + -8;; let result = lwVm.memory.private_data.get(this).base_time + -8;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'navigationStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'navigationStart', arguments, result);
return result; return result;
}, },
get redirectEnd() { get redirectEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectEnd', arguments, result);
return result; return result;
}, },
get redirectStart() { get redirectStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'redirectStart', arguments, result);
return result; return result;
}, },
get requestStart() { get requestStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'requestStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'requestStart', arguments, result);
return result; return result;
}, },
get responseEnd() { get responseEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time + 20;; let result = lwVm.memory.private_data.get(this).base_time + 20;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseEnd', arguments, result);
return result; return result;
}, },
get responseStart() { get responseStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).base_time;; let result = lwVm.memory.private_data.get(this).base_time;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'responseStart', arguments, result);
return result; return result;
}, },
get secureConnectionStart() { get secureConnectionStart() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'secureConnectionStart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'secureConnectionStart', arguments, result);
return result; return result;
}, },
@ -138,7 +138,7 @@ PerformanceTiming = function PerformanceTiming(createObj_key, timeOrigin) {//构
}, },
get unloadEventEnd() { get unloadEventEnd() {
if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PerformanceTiming.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'unloadEventEnd', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PerformanceTiming', 'unloadEventEnd', arguments, result);
return result; return result;
}, },

View File

@ -10,18 +10,18 @@ MimeTypeArray = function MimeTypeArray() {
MimeTypeArray.prototype = { MimeTypeArray.prototype = {
item(index) { item(index) {
let result = this[index];; let result = this[index];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'MimeTypeArray', 'item', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'MimeTypeArray', 'item', arguments, result);
return result; return result;
}, },
get length() { get length() {
if (!MimeTypeArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MimeTypeArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.mimeTypeArray.length;; let result = lwVm.memory.mimeTypeArray.length;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MimeTypeArray', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MimeTypeArray', 'length', arguments, result);
return result; return result;
}, },
namedItem(key) { namedItem(key) {
let result = this[key];; let result = this[key];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'MimeTypeArray', 'namedItem', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'MimeTypeArray', 'namedItem', arguments, result);
return result; return result;
} }

View File

@ -23,7 +23,7 @@ Plugin = function Plugin() {
}, },
item(index) { item(index) {
// debugger; // debugger;
let result = this[index];; let result = this[index];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Plugin', 'item', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Plugin', 'item', arguments, result);
return result; return result;
}, },
@ -40,7 +40,7 @@ Plugin = function Plugin() {
return result; return result;
}, },
namedItem(key) { namedItem(key) {
let result = this[key];; let result = this[key];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Plugin', 'namedItem', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Plugin', 'namedItem', arguments, result);
return result; return result;
}, },
@ -73,7 +73,7 @@ Plugin = function Plugin() {
plugin.length = plugin_data.MimeTypes.length; plugin.length = plugin_data.MimeTypes.length;
} }
Object.setPrototypeOf(plugin, Plugin.prototype) Object.setPrototypeOf(plugin, Plugin.prototype)
let result = plugin;; let result = plugin;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Plugin', 'namedItem', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Plugin', 'namedItem', arguments, result);
return result; return result;
} }

View File

@ -12,19 +12,19 @@ lwVm.safefunction(PluginArray);
PluginArray.prototype = { PluginArray.prototype = {
item(index) { item(index) {
if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this[index];; let result = this[index];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'PluginArray', 'item', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'PluginArray', 'item', arguments, result);
return result; return result;
}, },
get length() { get length() {
if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.pluginArray.temp.length;; let result = lwVm.memory.pluginArray.temp.length;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PluginArray', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PluginArray', 'length', arguments, result);
return result; return result;
}, },
namedItem(key) { namedItem(key) {
if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PluginArray.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this[key];; let result = this[key];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'PluginArray', 'namedItem', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'PluginArray', 'namedItem', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ Presentation = function Presentation(createObj_key) {
Presentation.prototype = { Presentation.prototype = {
get defaultRequest() { get defaultRequest() {
if (!Presentation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Presentation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultRequest, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultRequest, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Presentation', 'defaultRequest', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Presentation', 'defaultRequest', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ Presentation = function Presentation(createObj_key) {
}, },
get receiver() { get receiver() {
if (!Presentation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Presentation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Presentation', 'receiver', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Presentation', 'receiver', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
get binaryType() { get binaryType() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).binaryType, "arraybuffer");; let result = lwVm.abs(lwVm.memory.private_data.get(this).binaryType, "arraybuffer");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'binaryType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'binaryType', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get bufferedAmount() { get bufferedAmount() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmount, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmount, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmount', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get bufferedAmountLowThreshold() { get bufferedAmountLowThreshold() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmountLowThreshold, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmountLowThreshold, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmountLowThreshold', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmountLowThreshold', arguments, result);
return result; return result;
}, },
@ -52,37 +52,37 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get id() { get id() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).id, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).id, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'id', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'id', arguments, result);
return result; return result;
}, },
get label() { get label() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).label;; let result = lwVm.memory.private_data.get(this).label;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'label', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'label', arguments, result);
return result; return result;
}, },
get maxRetransmitTime() { get maxRetransmitTime() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmitTime, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmitTime, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmitTime', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmitTime', arguments, result);
return result; return result;
}, },
get maxRetransmits() { get maxRetransmits() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmits, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmits, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmits', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmits', arguments, result);
return result; return result;
}, },
get negotiated() { get negotiated() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).negotiated, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).negotiated, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'negotiated', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'negotiated', arguments, result);
return result; return result;
}, },
get onbufferedamountlow() { get onbufferedamountlow() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onbufferedamountlow, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onbufferedamountlow, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onbufferedamountlow', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onbufferedamountlow', arguments, result);
return result; return result;
}, },
@ -93,7 +93,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onclose() { get onclose() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onclose', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onclose', arguments, result);
return result; return result;
}, },
@ -104,7 +104,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onerror() { get onerror() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onerror', arguments, result);
return result; return result;
}, },
@ -115,7 +115,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onmessage() { get onmessage() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessage, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessage, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onmessage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onmessage', arguments, result);
return result; return result;
}, },
@ -126,7 +126,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onopen() { get onopen() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onopen, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onopen, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onopen', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onopen', arguments, result);
return result; return result;
}, },
@ -137,25 +137,25 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get ordered() { get ordered() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ordered, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ordered, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'ordered', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'ordered', arguments, result);
return result; return result;
}, },
get protocol() { get protocol() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'protocol', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'protocol', arguments, result);
return result; return result;
}, },
get readyState() { get readyState() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "connecting");; let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "connecting");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'readyState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'readyState', arguments, result);
return result; return result;
}, },
get reliable() { get reliable() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).reliable, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).reliable, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'reliable', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'reliable', arguments, result);
return result; return result;
}, },

View File

@ -13,73 +13,73 @@ RTCIceCandidate = function RTCIceCandidate(createObj_key) {
RTCIceCandidate.prototype = { RTCIceCandidate.prototype = {
get address() { get address() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).address, "192.168.0.103");; let result = lwVm.abs(lwVm.memory.private_data.get(this).address, "192.168.0.103");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'address', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'address', arguments, result);
return result; return result;
}, },
get candidate() { get candidate() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, "candidate:1840965416 1 udp 2122260223 192.168.0.103 49325 typ host generation 0 ufrag o6U2 network-id 1 network-cost 10");; let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, "candidate:1840965416 1 udp 2122260223 192.168.0.103 49325 typ host generation 0 ufrag o6U2 network-id 1 network-cost 10");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'candidate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'candidate', arguments, result);
return result; return result;
}, },
get component() { get component() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).component, "rtp");; let result = lwVm.abs(lwVm.memory.private_data.get(this).component, "rtp");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'component', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'component', arguments, result);
return result; return result;
}, },
get foundation() { get foundation() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).foundation, "1840965416");; let result = lwVm.abs(lwVm.memory.private_data.get(this).foundation, "1840965416");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'foundation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'foundation', arguments, result);
return result; return result;
}, },
get port() { get port() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).port, 49325);; let result = lwVm.abs(lwVm.memory.private_data.get(this).port, 49325);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'port', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'port', arguments, result);
return result; return result;
}, },
get priority() { get priority() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).priority, 2122260223);; let result = lwVm.abs(lwVm.memory.private_data.get(this).priority, 2122260223);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'priority', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'priority', arguments, result);
return result; return result;
}, },
get protocol() { get protocol() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "udp");; let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "udp");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'protocol', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'protocol', arguments, result);
return result; return result;
}, },
get relatedAddress() { get relatedAddress() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedAddress, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedAddress, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedAddress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedAddress', arguments, result);
return result; return result;
}, },
get relatedPort() { get relatedPort() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedPort, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedPort, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedPort', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedPort', arguments, result);
return result; return result;
}, },
get sdpMLineIndex() { get sdpMLineIndex() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMLineIndex, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMLineIndex, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMLineIndex', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMLineIndex', arguments, result);
return result; return result;
}, },
get sdpMid() { get sdpMid() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMid, "1");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMid, "1");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMid', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMid', arguments, result);
return result; return result;
}, },
get tcpType() { get tcpType() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).tcpType, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).tcpType, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'tcpType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'tcpType', arguments, result);
return result; return result;
}, },
@ -91,13 +91,13 @@ RTCIceCandidate = function RTCIceCandidate(createObj_key) {
}, },
get type() { get type() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "host");; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "host");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'type', arguments, result);
return result; return result;
}, },
get usernameFragment() { get usernameFragment() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).usernameFragment, "o6U2");; let result = lwVm.abs(lwVm.memory.private_data.get(this).usernameFragment, "o6U2");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'usernameFragment', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'usernameFragment', arguments, result);
return result; return result;
}, },

View File

@ -46,7 +46,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get canTrickleIceCandidates() { get canTrickleIceCandidates() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).canTrickleIceCandidates, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).canTrickleIceCandidates, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'canTrickleIceCandidates', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'canTrickleIceCandidates', arguments, result);
return result; return result;
}, },
@ -58,7 +58,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get connectionState() { get connectionState() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).connectionState, "new");; let result = lwVm.abs(lwVm.memory.private_data.get(this).connectionState, "new");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'connectionState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'connectionState', arguments, result);
return result; return result;
}, },
@ -77,7 +77,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
createDataChannel(label) { createDataChannel(label) {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
if (label === undefined) { throw new TypeError(`Failed to execute 'createDataChannel' on 'RTCPeerConnection': 1 argument required, but only 0 present.`) } if (label === undefined) { throw new TypeError(`Failed to execute 'createDataChannel' on 'RTCPeerConnection': 1 argument required, but only 0 present.`) }
let result = new RTCDataChannel(lwVm.memory.$createObj_key, label);; let result = new RTCDataChannel(lwVm.memory.$createObj_key, label);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'RTCPeerConnection', 'createDataChannel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'RTCPeerConnection', 'createDataChannel', arguments, result);
return result; return result;
}, },
@ -93,13 +93,13 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get currentLocalDescription() { get currentLocalDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentLocalDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentLocalDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentLocalDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentLocalDescription', arguments, result);
return result; return result;
}, },
get currentRemoteDescription() { get currentRemoteDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentRemoteDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentRemoteDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentRemoteDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentRemoteDescription', arguments, result);
return result; return result;
}, },
@ -147,25 +147,25 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get iceConnectionState() { get iceConnectionState() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).iceConnectionState, "new");; let result = lwVm.abs(lwVm.memory.private_data.get(this).iceConnectionState, "new");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceConnectionState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceConnectionState', arguments, result);
return result; return result;
}, },
get iceGatheringState() { get iceGatheringState() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).iceGatheringState, "new");; let result = lwVm.abs(lwVm.memory.private_data.get(this).iceGatheringState, "new");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceGatheringState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceGatheringState', arguments, result);
return result; return result;
}, },
get localDescription() { get localDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).localDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).localDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'localDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'localDescription', arguments, result);
return result; return result;
}, },
get onaddstream() { get onaddstream() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onaddstream, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onaddstream, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onaddstream', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onaddstream', arguments, result);
return result; return result;
}, },
@ -176,7 +176,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onconnectionstatechange() { get onconnectionstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onconnectionstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onconnectionstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onconnectionstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onconnectionstatechange', arguments, result);
return result; return result;
}, },
@ -187,7 +187,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get ondatachannel() { get ondatachannel() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondatachannel, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondatachannel, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ondatachannel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ondatachannel', arguments, result);
return result; return result;
}, },
@ -198,7 +198,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onicecandidate() { get onicecandidate() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidate, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidate, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidate', arguments, result);
return result; return result;
}, },
@ -209,7 +209,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onicecandidateerror() { get onicecandidateerror() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidateerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidateerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidateerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidateerror', arguments, result);
return result; return result;
}, },
@ -220,7 +220,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get oniceconnectionstatechange() { get oniceconnectionstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oniceconnectionstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oniceconnectionstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'oniceconnectionstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'oniceconnectionstatechange', arguments, result);
return result; return result;
}, },
@ -231,7 +231,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onicegatheringstatechange() { get onicegatheringstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onicegatheringstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onicegatheringstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicegatheringstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicegatheringstatechange', arguments, result);
return result; return result;
}, },
@ -242,7 +242,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onnegotiationneeded() { get onnegotiationneeded() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onnegotiationneeded, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onnegotiationneeded, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onnegotiationneeded', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onnegotiationneeded', arguments, result);
return result; return result;
}, },
@ -253,7 +253,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onremovestream() { get onremovestream() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onremovestream, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onremovestream, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onremovestream', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onremovestream', arguments, result);
return result; return result;
}, },
@ -264,7 +264,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onsignalingstatechange() { get onsignalingstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsignalingstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsignalingstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onsignalingstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onsignalingstatechange', arguments, result);
return result; return result;
}, },
@ -275,7 +275,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get ontrack() { get ontrack() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontrack, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontrack, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ontrack', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ontrack', arguments, result);
return result; return result;
}, },
@ -286,19 +286,19 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get pendingLocalDescription() { get pendingLocalDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingLocalDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingLocalDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingLocalDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingLocalDescription', arguments, result);
return result; return result;
}, },
get pendingRemoteDescription() { get pendingRemoteDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingRemoteDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingRemoteDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingRemoteDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingRemoteDescription', arguments, result);
return result; return result;
}, },
get remoteDescription() { get remoteDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).remoteDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).remoteDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'remoteDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'remoteDescription', arguments, result);
return result; return result;
}, },
@ -322,7 +322,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get sctp() { get sctp() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sctp, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).sctp, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'sctp', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'sctp', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ RTCPeerConnectionIceEvent = function RTCPeerConnectionIceEvent(createObj_key, ty
RTCPeerConnectionIceEvent.prototype = { RTCPeerConnectionIceEvent.prototype = {
get candidate() { get candidate() {
if (!RTCPeerConnectionIceEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnectionIceEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnectionIceEvent', 'candidate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnectionIceEvent', 'candidate', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ RTCSessionDescription = function RTCSessionDescription(createObj_key, sdp, type)
RTCSessionDescription.prototype = { RTCSessionDescription.prototype = {
get sdp() { get sdp() {
if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sdp, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sdp, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'sdp', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'sdp', arguments, result);
return result; return result;
}, },
@ -30,7 +30,7 @@ RTCSessionDescription = function RTCSessionDescription(createObj_key, sdp, type)
}, },
get type() { get type() {
if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'type', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
get binaryType() { get binaryType() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).binaryType, "arraybuffer");; let result = lwVm.abs(lwVm.memory.private_data.get(this).binaryType, "arraybuffer");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'binaryType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'binaryType', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get bufferedAmount() { get bufferedAmount() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmount, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmount, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmount', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get bufferedAmountLowThreshold() { get bufferedAmountLowThreshold() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmountLowThreshold, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).bufferedAmountLowThreshold, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmountLowThreshold', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'bufferedAmountLowThreshold', arguments, result);
return result; return result;
}, },
@ -52,37 +52,37 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get id() { get id() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).id, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).id, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'id', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'id', arguments, result);
return result; return result;
}, },
get label() { get label() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).label;; let result = lwVm.memory.private_data.get(this).label;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'label', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'label', arguments, result);
return result; return result;
}, },
get maxRetransmitTime() { get maxRetransmitTime() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmitTime, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmitTime, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmitTime', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmitTime', arguments, result);
return result; return result;
}, },
get maxRetransmits() { get maxRetransmits() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmits, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).maxRetransmits, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmits', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'maxRetransmits', arguments, result);
return result; return result;
}, },
get negotiated() { get negotiated() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).negotiated, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).negotiated, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'negotiated', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'negotiated', arguments, result);
return result; return result;
}, },
get onbufferedamountlow() { get onbufferedamountlow() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onbufferedamountlow, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onbufferedamountlow, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onbufferedamountlow', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onbufferedamountlow', arguments, result);
return result; return result;
}, },
@ -93,7 +93,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onclose() { get onclose() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onclose', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onclose', arguments, result);
return result; return result;
}, },
@ -104,7 +104,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onerror() { get onerror() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onerror', arguments, result);
return result; return result;
}, },
@ -115,7 +115,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onmessage() { get onmessage() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessage, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessage, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onmessage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onmessage', arguments, result);
return result; return result;
}, },
@ -126,7 +126,7 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get onopen() { get onopen() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onopen, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onopen, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onopen', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'onopen', arguments, result);
return result; return result;
}, },
@ -137,25 +137,25 @@ RTCDataChannel = function RTCDataChannel(createObj_key, label) {//构造函数
}, },
get ordered() { get ordered() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ordered, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ordered, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'ordered', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'ordered', arguments, result);
return result; return result;
}, },
get protocol() { get protocol() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'protocol', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'protocol', arguments, result);
return result; return result;
}, },
get readyState() { get readyState() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "connecting");; let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "connecting");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'readyState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'readyState', arguments, result);
return result; return result;
}, },
get reliable() { get reliable() {
if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCDataChannel.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).reliable, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).reliable, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'reliable', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCDataChannel', 'reliable', arguments, result);
return result; return result;
}, },

View File

@ -13,73 +13,73 @@ RTCIceCandidate = function RTCIceCandidate(createObj_key) {
RTCIceCandidate.prototype = { RTCIceCandidate.prototype = {
get address() { get address() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).address, "192.168.0.103");; let result = lwVm.abs(lwVm.memory.private_data.get(this).address, "192.168.0.103");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'address', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'address', arguments, result);
return result; return result;
}, },
get candidate() { get candidate() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, "candidate:1840965416 1 udp 2122260223 192.168.0.103 49325 typ host generation 0 ufrag o6U2 network-id 1 network-cost 10");; let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, "candidate:1840965416 1 udp 2122260223 192.168.0.103 49325 typ host generation 0 ufrag o6U2 network-id 1 network-cost 10");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'candidate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'candidate', arguments, result);
return result; return result;
}, },
get component() { get component() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).component, "rtp");; let result = lwVm.abs(lwVm.memory.private_data.get(this).component, "rtp");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'component', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'component', arguments, result);
return result; return result;
}, },
get foundation() { get foundation() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).foundation, "1840965416");; let result = lwVm.abs(lwVm.memory.private_data.get(this).foundation, "1840965416");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'foundation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'foundation', arguments, result);
return result; return result;
}, },
get port() { get port() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).port, 49325);; let result = lwVm.abs(lwVm.memory.private_data.get(this).port, 49325);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'port', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'port', arguments, result);
return result; return result;
}, },
get priority() { get priority() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).priority, 2122260223);; let result = lwVm.abs(lwVm.memory.private_data.get(this).priority, 2122260223);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'priority', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'priority', arguments, result);
return result; return result;
}, },
get protocol() { get protocol() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "udp");; let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "udp");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'protocol', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'protocol', arguments, result);
return result; return result;
}, },
get relatedAddress() { get relatedAddress() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedAddress, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedAddress, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedAddress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedAddress', arguments, result);
return result; return result;
}, },
get relatedPort() { get relatedPort() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedPort, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedPort, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedPort', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'relatedPort', arguments, result);
return result; return result;
}, },
get sdpMLineIndex() { get sdpMLineIndex() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMLineIndex, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMLineIndex, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMLineIndex', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMLineIndex', arguments, result);
return result; return result;
}, },
get sdpMid() { get sdpMid() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMid, "1");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sdpMid, "1");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMid', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'sdpMid', arguments, result);
return result; return result;
}, },
get tcpType() { get tcpType() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).tcpType, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).tcpType, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'tcpType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'tcpType', arguments, result);
return result; return result;
}, },
@ -91,13 +91,13 @@ RTCIceCandidate = function RTCIceCandidate(createObj_key) {
}, },
get type() { get type() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "host");; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "host");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'type', arguments, result);
return result; return result;
}, },
get usernameFragment() { get usernameFragment() {
if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCIceCandidate.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).usernameFragment, "o6U2");; let result = lwVm.abs(lwVm.memory.private_data.get(this).usernameFragment, "o6U2");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'usernameFragment', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCIceCandidate', 'usernameFragment', arguments, result);
return result; return result;
}, },

View File

@ -46,7 +46,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get canTrickleIceCandidates() { get canTrickleIceCandidates() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).canTrickleIceCandidates, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).canTrickleIceCandidates, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'canTrickleIceCandidates', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'canTrickleIceCandidates', arguments, result);
return result; return result;
}, },
@ -58,7 +58,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get connectionState() { get connectionState() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).connectionState, "new");; let result = lwVm.abs(lwVm.memory.private_data.get(this).connectionState, "new");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'connectionState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'connectionState', arguments, result);
return result; return result;
}, },
@ -77,7 +77,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
createDataChannel(label) { createDataChannel(label) {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
if (label === undefined) { throw new TypeError(`Failed to execute 'createDataChannel' on 'RTCPeerConnection': 1 argument required, but only 0 present.`) } if (label === undefined) { throw new TypeError(`Failed to execute 'createDataChannel' on 'RTCPeerConnection': 1 argument required, but only 0 present.`) }
let result = new RTCDataChannel(lwVm.memory.$createObj_key, label);; let result = new RTCDataChannel(lwVm.memory.$createObj_key, label);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'RTCPeerConnection', 'createDataChannel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'RTCPeerConnection', 'createDataChannel', arguments, result);
return result; return result;
}, },
@ -93,13 +93,13 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get currentLocalDescription() { get currentLocalDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentLocalDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentLocalDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentLocalDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentLocalDescription', arguments, result);
return result; return result;
}, },
get currentRemoteDescription() { get currentRemoteDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentRemoteDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentRemoteDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentRemoteDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'currentRemoteDescription', arguments, result);
return result; return result;
}, },
@ -147,25 +147,25 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get iceConnectionState() { get iceConnectionState() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).iceConnectionState, "new");; let result = lwVm.abs(lwVm.memory.private_data.get(this).iceConnectionState, "new");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceConnectionState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceConnectionState', arguments, result);
return result; return result;
}, },
get iceGatheringState() { get iceGatheringState() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).iceGatheringState, "new");; let result = lwVm.abs(lwVm.memory.private_data.get(this).iceGatheringState, "new");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceGatheringState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'iceGatheringState', arguments, result);
return result; return result;
}, },
get localDescription() { get localDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).localDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).localDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'localDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'localDescription', arguments, result);
return result; return result;
}, },
get onaddstream() { get onaddstream() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onaddstream, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onaddstream, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onaddstream', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onaddstream', arguments, result);
return result; return result;
}, },
@ -176,7 +176,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onconnectionstatechange() { get onconnectionstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onconnectionstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onconnectionstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onconnectionstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onconnectionstatechange', arguments, result);
return result; return result;
}, },
@ -187,7 +187,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get ondatachannel() { get ondatachannel() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondatachannel, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondatachannel, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ondatachannel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ondatachannel', arguments, result);
return result; return result;
}, },
@ -198,7 +198,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onicecandidate() { get onicecandidate() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidate, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidate, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidate', arguments, result);
return result; return result;
}, },
@ -209,7 +209,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onicecandidateerror() { get onicecandidateerror() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidateerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onicecandidateerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidateerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicecandidateerror', arguments, result);
return result; return result;
}, },
@ -220,7 +220,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get oniceconnectionstatechange() { get oniceconnectionstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oniceconnectionstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oniceconnectionstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'oniceconnectionstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'oniceconnectionstatechange', arguments, result);
return result; return result;
}, },
@ -231,7 +231,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onicegatheringstatechange() { get onicegatheringstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onicegatheringstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onicegatheringstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicegatheringstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onicegatheringstatechange', arguments, result);
return result; return result;
}, },
@ -242,7 +242,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onnegotiationneeded() { get onnegotiationneeded() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onnegotiationneeded, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onnegotiationneeded, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onnegotiationneeded', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onnegotiationneeded', arguments, result);
return result; return result;
}, },
@ -253,7 +253,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onremovestream() { get onremovestream() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onremovestream, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onremovestream, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onremovestream', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onremovestream', arguments, result);
return result; return result;
}, },
@ -264,7 +264,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get onsignalingstatechange() { get onsignalingstatechange() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsignalingstatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsignalingstatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onsignalingstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'onsignalingstatechange', arguments, result);
return result; return result;
}, },
@ -275,7 +275,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get ontrack() { get ontrack() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontrack, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontrack, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ontrack', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'ontrack', arguments, result);
return result; return result;
}, },
@ -286,19 +286,19 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get pendingLocalDescription() { get pendingLocalDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingLocalDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingLocalDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingLocalDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingLocalDescription', arguments, result);
return result; return result;
}, },
get pendingRemoteDescription() { get pendingRemoteDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingRemoteDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).pendingRemoteDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingRemoteDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'pendingRemoteDescription', arguments, result);
return result; return result;
}, },
get remoteDescription() { get remoteDescription() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).remoteDescription, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).remoteDescription, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'remoteDescription', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'remoteDescription', arguments, result);
return result; return result;
}, },
@ -322,7 +322,7 @@ RTCPeerConnection = function RTCPeerConnection() {//构造函数
}, },
get sctp() { get sctp() {
if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sctp, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).sctp, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'sctp', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnection', 'sctp', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ RTCPeerConnectionIceEvent = function RTCPeerConnectionIceEvent(createObj_key, ty
RTCPeerConnectionIceEvent.prototype = { RTCPeerConnectionIceEvent.prototype = {
get candidate() { get candidate() {
if (!RTCPeerConnectionIceEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCPeerConnectionIceEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).candidate, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnectionIceEvent', 'candidate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCPeerConnectionIceEvent', 'candidate', arguments, result);
return result; return result;
}, },

View File

@ -13,19 +13,19 @@ RTCSctpTransport = function RTCSctpTransport(createObj_key) {
RTCSctpTransport.prototype = { RTCSctpTransport.prototype = {
get maxChannels() { get maxChannels() {
if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).maxChannels, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).maxChannels, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'maxChannels', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'maxChannels', arguments, result);
return result; return result;
}, },
get maxMessageSize() { get maxMessageSize() {
if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).maxMessageSize, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).maxMessageSize, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'maxMessageSize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'maxMessageSize', arguments, result);
return result; return result;
}, },
get onstatechange() { get onstatechange() {
if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onstatechange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onstatechange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'onstatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'onstatechange', arguments, result);
return result; return result;
}, },
@ -36,13 +36,13 @@ RTCSctpTransport = function RTCSctpTransport(createObj_key) {
}, },
get state() { get state() {
if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).state, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).state, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'state', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'state', arguments, result);
return result; return result;
}, },
get transport() { get transport() {
if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSctpTransport.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).transport, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).transport, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'transport', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSctpTransport', 'transport', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ RTCSessionDescription = function RTCSessionDescription(createObj_key, sdp, type)
RTCSessionDescription.prototype = { RTCSessionDescription.prototype = {
get sdp() { get sdp() {
if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sdp, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sdp, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'sdp', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'sdp', arguments, result);
return result; return result;
}, },
@ -30,7 +30,7 @@ RTCSessionDescription = function RTCSessionDescription(createObj_key, sdp, type)
}, },
get type() { get type() {
if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!RTCSessionDescription.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'RTCSessionDescription', 'type', arguments, result);
return result; return result;
}, },

View File

@ -29,13 +29,13 @@ Request = function Request() {//构造函数
}, },
get bodyUsed() { get bodyUsed() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).bodyUsed, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).bodyUsed, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'bodyUsed', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'bodyUsed', arguments, result);
return result; return result;
}, },
get cache() { get cache() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).cache, "default");; let result = lwVm.abs(lwVm.memory.private_data.get(this).cache, "default");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'cache', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'cache', arguments, result);
return result; return result;
}, },
@ -47,13 +47,13 @@ Request = function Request() {//构造函数
}, },
get credentials() { get credentials() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).credentials, "same-origin");; let result = lwVm.abs(lwVm.memory.private_data.get(this).credentials, "same-origin");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'credentials', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'credentials', arguments, result);
return result; return result;
}, },
get destination() { get destination() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).destination, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).destination, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'destination', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'destination', arguments, result);
return result; return result;
}, },
@ -65,19 +65,19 @@ Request = function Request() {//构造函数
}, },
get headers() { get headers() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).headers, new class Headers { });; let result = lwVm.abs(lwVm.memory.private_data.get(this).headers, new class Headers { });
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'headers', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'headers', arguments, result);
return result; return result;
}, },
get integrity() { get integrity() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).integrity, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).integrity, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'integrity', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'integrity', arguments, result);
return result; return result;
}, },
get isHistoryNavigation() { get isHistoryNavigation() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).isHistoryNavigation, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).isHistoryNavigation, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'isHistoryNavigation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'isHistoryNavigation', arguments, result);
return result; return result;
}, },
@ -89,43 +89,43 @@ Request = function Request() {//构造函数
}, },
get keepalive() { get keepalive() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).keepalive, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).keepalive, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'keepalive', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'keepalive', arguments, result);
return result; return result;
}, },
get method() { get method() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).method, "GET");; let result = lwVm.abs(lwVm.memory.private_data.get(this).method, "GET");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'method', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'method', arguments, result);
return result; return result;
}, },
get mode() { get mode() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).mode, "cors");; let result = lwVm.abs(lwVm.memory.private_data.get(this).mode, "cors");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'mode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'mode', arguments, result);
return result; return result;
}, },
get redirect() { get redirect() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).redirect, "follow");; let result = lwVm.abs(lwVm.memory.private_data.get(this).redirect, "follow");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'redirect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'redirect', arguments, result);
return result; return result;
}, },
get referrer() { get referrer() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrer, "about:client");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrer, "about:client");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrer', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrer', arguments, result);
return result; return result;
}, },
get referrerPolicy() { get referrerPolicy() {
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result);
return result; return result;
}, },
get signal() { // 这个有问题 get signal() { // 这个有问题
if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Request.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).signal, new class AbortSignal { aborted = false; onabort = null });; let result = lwVm.abs(lwVm.memory.private_data.get(this).signal, new class AbortSignal { aborted = false; onabort = null });
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Request', 'referrerPolicy', arguments, result);
return result; return result;
}, },

View File

@ -30,37 +30,37 @@ screen = {};
Screen.prototype = { Screen.prototype = {
get availHeight() { get availHeight() {
if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.availHeight;; let result = $attribute_map.availHeight;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availHeight', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availHeight', arguments, result);
return result; return result;
}, },
get availLeft() { get availLeft() {
if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.availLeft;; let result = $attribute_map.availLeft;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availLeft', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availLeft', arguments, result);
return result; return result;
}, },
get availTop() { get availTop() {
if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.availTop;; let result = $attribute_map.availTop;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availTop', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availTop', arguments, result);
return result; return result;
}, },
get availWidth() { get availWidth() {
if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.availWidth;; let result = $attribute_map.availWidth;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'availWidth', arguments, result);
return result; return result;
}, },
get colorDepth() { get colorDepth() {
if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.colorDepth;; let result = $attribute_map.colorDepth;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'colorDepth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'colorDepth', arguments, result);
return result; return result;
}, },
get height() { get height() {
if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.height;; let result = $attribute_map.height;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'height', arguments, result);
return result; return result;
}, },
@ -72,7 +72,7 @@ screen = {};
}, },
get pixelDepth() { get pixelDepth() {
if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Screen.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = $attribute_map.pixelDepth;; let result = $attribute_map.pixelDepth;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'pixelDepth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Screen', 'pixelDepth', arguments, result);
return result; return result;
}, },

View File

@ -19,18 +19,18 @@ sessionStorage = {};
} }
}, },
getItem(k) { getItem(k) {
let result = this[k] ? this[k] : null;; let result = this[k] ? this[k] : null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Storage', 'getItem', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Storage', 'getItem', arguments, result);
return result; return result;
}, },
key(index) { key(index) {
let result = Object.keys(this)[index];; let result = Object.keys(this)[index];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Storage', 'key', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Storage', 'key', arguments, result);
return result; return result;
}, },
get length() { get length() {
if (!Storage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Storage.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = Object.keys(this).length;; let result = Object.keys(this).length;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Storage', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Storage', 'length', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ UserActivation = function UserActivation(createObj_key) {
UserActivation.prototype = { UserActivation.prototype = {
get hasBeenActive() { get hasBeenActive() {
if (!UserActivation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!UserActivation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = true;; let result = true;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UserActivation', 'hasBeenActive', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UserActivation', 'hasBeenActive', arguments, result);
return result; return result;
}, },

View File

@ -41,7 +41,7 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get onreadystatechange() { get onreadystatechange() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onreadystatechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onreadystatechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'onreadystatechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'onreadystatechange', arguments, result);
return result; return result;
}, },
@ -64,13 +64,13 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get readyState() { get readyState() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'readyState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'readyState', arguments, result);
return result; return result;
}, },
get response() { get response() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).response, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).response, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'response', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'response', arguments, result);
return result; return result;
}, },
@ -81,13 +81,13 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get responseText() { get responseText() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseText, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseText, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseText', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseText', arguments, result);
return result; return result;
}, },
get responseType() { get responseType() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseType, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseType, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseType', arguments, result);
return result; return result;
}, },
@ -98,13 +98,13 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get responseURL() { get responseURL() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseURL, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseURL, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseURL', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseURL', arguments, result);
return result; return result;
}, },
get responseXML() { get responseXML() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).responseXML, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).responseXML, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseXML', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'responseXML', arguments, result);
return result; return result;
}, },
@ -122,19 +122,19 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get status() { get status() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).status, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).status, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'status', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'status', arguments, result);
return result; return result;
}, },
get statusText() { get statusText() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).statusText, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).statusText, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'statusText', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'statusText', arguments, result);
return result; return result;
}, },
get timeout() { get timeout() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).timeout, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).timeout, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'timeout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'timeout', arguments, result);
return result; return result;
}, },
@ -148,7 +148,7 @@ XMLHttpRequest = function XMLHttpRequest() {//构造函数
}, },
get withCredentials() { get withCredentials() {
if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).withCredentials, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).withCredentials, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'withCredentials', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequest', 'withCredentials', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
XMLHttpRequestEventTarget.prototype = { XMLHttpRequestEventTarget.prototype = {
get onabort() { get onabort() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onabort', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onabort', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onerror() { get onerror() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onerror', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onload() { get onload() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onload', arguments, result);
return result; return result;
}, },
@ -46,7 +46,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onloadend() { get onloadend() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadend', arguments, result);
return result; return result;
}, },
@ -57,7 +57,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onloadstart() { get onloadstart() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onloadstart', arguments, result);
return result; return result;
}, },
@ -68,7 +68,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get onprogress() { get onprogress() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onprogress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'onprogress', arguments, result);
return result; return result;
}, },
@ -79,7 +79,7 @@ XMLHttpRequestEventTarget = function XMLHttpRequestEventTarget(createObj_key) {/
}, },
get ontimeout() { get ontimeout() {
if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!XMLHttpRequestEventTarget.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeout, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeout, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'ontimeout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'XMLHttpRequestEventTarget', 'ontimeout', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ CSSStyleDeclaration = function CSSStyleDeclaration(createObj_key) {//构造函
get cssFloat() { get cssFloat() {
if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).cssFloat, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).cssFloat, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'cssFloat', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'cssFloat', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ CSSStyleDeclaration = function CSSStyleDeclaration(createObj_key) {//构造函
}, },
get cssText() { get cssText() {
if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).cssText, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).cssText, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'cssText', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'cssText', arguments, result);
return result; return result;
}, },
@ -53,13 +53,13 @@ CSSStyleDeclaration = function CSSStyleDeclaration(createObj_key) {//构造函
}, },
get length() { get length() {
if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'length', arguments, result);
return result; return result;
}, },
get parentRule() { get parentRule() {
if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CSSStyleDeclaration.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).parentRule, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).parentRule, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'parentRule', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CSSStyleDeclaration', 'parentRule', arguments, result);
return result; return result;
}, },

View File

@ -51,7 +51,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get canvas() { get canvas() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).canvas;; let result = lwVm.memory.private_data.get(this).canvas;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'canvas', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'canvas', arguments, result);
return result; return result;
}, },
@ -99,7 +99,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get direction() { get direction() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).direction, "ltr");; let result = lwVm.abs(lwVm.memory.private_data.get(this).direction, "ltr");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'direction', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'direction', arguments, result);
return result; return result;
}, },
@ -140,7 +140,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get fillStyle() { get fillStyle() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).fillStyle, "#000000");; let result = lwVm.abs(lwVm.memory.private_data.get(this).fillStyle, "#000000");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'fillStyle', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'fillStyle', arguments, result);
return result; return result;
}, },
@ -161,7 +161,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get filter() { get filter() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).filter, "none");; let result = lwVm.abs(lwVm.memory.private_data.get(this).filter, "none");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'filter', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'filter', arguments, result);
return result; return result;
}, },
@ -172,7 +172,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get font() { get font() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).font, "10px sans-serif");; let result = lwVm.abs(lwVm.memory.private_data.get(this).font, "10px sans-serif");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'font', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'font', arguments, result);
return result; return result;
}, },
@ -197,7 +197,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
getLineDash() { getLineDash() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = [];; let result = [];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'CanvasRenderingContext2D', 'getLineDash', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'CanvasRenderingContext2D', 'getLineDash', arguments, result);
return result; return result;
}, },
@ -232,7 +232,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get globalAlpha() { get globalAlpha() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).globalAlpha, 1);; let result = lwVm.abs(lwVm.memory.private_data.get(this).globalAlpha, 1);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'globalAlpha', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'globalAlpha', arguments, result);
return result; return result;
}, },
@ -243,7 +243,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get globalCompositeOperation() { get globalCompositeOperation() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).globalCompositeOperation, "source-over");; let result = lwVm.abs(lwVm.memory.private_data.get(this).globalCompositeOperation, "source-over");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'globalCompositeOperation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'globalCompositeOperation', arguments, result);
return result; return result;
}, },
@ -254,7 +254,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get imageSmoothingEnabled() { get imageSmoothingEnabled() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSmoothingEnabled, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSmoothingEnabled, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'imageSmoothingEnabled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'imageSmoothingEnabled', arguments, result);
return result; return result;
}, },
@ -265,7 +265,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get imageSmoothingQuality() { get imageSmoothingQuality() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSmoothingQuality, "low");; let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSmoothingQuality, "low");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'imageSmoothingQuality', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'imageSmoothingQuality', arguments, result);
return result; return result;
}, },
@ -288,7 +288,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get lineCap() { get lineCap() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).lineCap, "butt");; let result = lwVm.abs(lwVm.memory.private_data.get(this).lineCap, "butt");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineCap', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineCap', arguments, result);
return result; return result;
}, },
@ -299,7 +299,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get lineDashOffset() { get lineDashOffset() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).lineDashOffset, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).lineDashOffset, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineDashOffset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineDashOffset', arguments, result);
return result; return result;
}, },
@ -315,7 +315,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get lineJoin() { get lineJoin() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).lineJoin, "miter");; let result = lwVm.abs(lwVm.memory.private_data.get(this).lineJoin, "miter");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineJoin', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineJoin', arguments, result);
return result; return result;
}, },
@ -332,7 +332,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get lineWidth() { get lineWidth() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).lineWidth, 1);; let result = lwVm.abs(lwVm.memory.private_data.get(this).lineWidth, 1);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'lineWidth', arguments, result);
return result; return result;
}, },
@ -354,7 +354,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get miterLimit() { get miterLimit() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).miterLimit, 10);; let result = lwVm.abs(lwVm.memory.private_data.get(this).miterLimit, 10);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'miterLimit', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'miterLimit', arguments, result);
return result; return result;
}, },
@ -436,7 +436,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get shadowBlur() { get shadowBlur() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowBlur, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowBlur, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowBlur', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowBlur', arguments, result);
return result; return result;
}, },
@ -452,7 +452,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get shadowColor() { get shadowColor() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowColor, "rgba(0, 0, 0, 0)");; let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowColor, "rgba(0, 0, 0, 0)");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowColor', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowColor', arguments, result);
return result; return result;
}, },
@ -463,7 +463,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get shadowOffsetX() { get shadowOffsetX() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowOffsetX, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowOffsetX, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowOffsetX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowOffsetX', arguments, result);
return result; return result;
}, },
@ -479,7 +479,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get shadowOffsetY() { get shadowOffsetY() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowOffsetY, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).shadowOffsetY, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowOffsetY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'shadowOffsetY', arguments, result);
return result; return result;
}, },
@ -507,7 +507,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get strokeStyle() { get strokeStyle() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).strokeStyle, "#000000");; let result = lwVm.abs(lwVm.memory.private_data.get(this).strokeStyle, "#000000");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'strokeStyle', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'strokeStyle', arguments, result);
return result; return result;
}, },
@ -524,7 +524,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get textAlign() { get textAlign() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).textAlign, "start");; let result = lwVm.abs(lwVm.memory.private_data.get(this).textAlign, "start");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'textAlign', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'textAlign', arguments, result);
return result; return result;
}, },
@ -535,7 +535,7 @@ CanvasRenderingContext2D = function CanvasRenderingContext2D(createObj_key, canv
}, },
get textBaseline() { get textBaseline() {
if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CanvasRenderingContext2D.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).textBaseline, "alphabetic");; let result = lwVm.abs(lwVm.memory.private_data.get(this).textBaseline, "alphabetic");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'textBaseline', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CanvasRenderingContext2D', 'textBaseline', arguments, result);
return result; return result;
}, },

View File

@ -31,7 +31,7 @@ CharacterData = function (createObj_key) {//构造函数
}, },
get data() { get data() {
if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).data, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).data, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'data', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'data', arguments, result);
return result; return result;
}, },
@ -54,19 +54,19 @@ CharacterData = function (createObj_key) {//构造函数
}, },
get length() { get length() {
if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'length', arguments, result);
return result; return result;
}, },
get nextElementSibling() { get nextElementSibling() {
if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).nextElementSibling, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).nextElementSibling, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'nextElementSibling', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'nextElementSibling', arguments, result);
return result; return result;
}, },
get previousElementSibling() { get previousElementSibling() {
if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CharacterData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).previousElementSibling, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).previousElementSibling, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'previousElementSibling', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CharacterData', 'previousElementSibling', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ DOMRect = function DOMRect(createObj_key) {
DOMRect.prototype = { DOMRect.prototype = {
get height() { get height() {
if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).height, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).height, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'height', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ DOMRect = function DOMRect(createObj_key) {
}, },
get width() { get width() {
if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).width, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).width, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'width', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'width', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ DOMRect = function DOMRect(createObj_key) {
}, },
get x() { get x() {
if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).x, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).x, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'x', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'x', arguments, result);
return result; return result;
}, },
@ -46,7 +46,7 @@ DOMRect = function DOMRect(createObj_key) {
}, },
get y() { get y() {
if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRect.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).y, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).y, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'y', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRect', 'y', arguments, result);
return result; return result;
}, },

View File

@ -13,25 +13,25 @@ DOMRectReadOnly = function DOMRectReadOnly(createObj_key) {
DOMRectReadOnly.prototype = { DOMRectReadOnly.prototype = {
get bottom() { get bottom() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'bottom', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'bottom', arguments, result);
return result; return result;
}, },
get height() { get height() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'height', arguments, result);
return result; return result;
}, },
get left() { get left() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'left', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'left', arguments, result);
return result; return result;
}, },
get right() { get right() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'right', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'right', arguments, result);
return result; return result;
}, },
@ -43,25 +43,25 @@ DOMRectReadOnly = function DOMRectReadOnly(createObj_key) {
}, },
get top() { get top() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'top', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'top', arguments, result);
return result; return result;
}, },
get width() { get width() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'width', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'width', arguments, result);
return result; return result;
}, },
get x() { get x() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'x', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'x', arguments, result);
return result; return result;
}, },
get y() { get y() {
if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMRectReadOnly.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'y', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMRectReadOnly', 'y', arguments, result);
return result; return result;
}, },

View File

@ -49,7 +49,7 @@ DOMTokenList = function DOMTokenList(createObj_key) {//构造函数
}, },
get length() { get length() {
if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMTokenList', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMTokenList', 'length', arguments, result);
return result; return result;
}, },
@ -85,7 +85,7 @@ DOMTokenList = function DOMTokenList(createObj_key) {//构造函数
}, },
get value() { get value() {
if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!DOMTokenList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).value, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).value, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMTokenList', 'value', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'DOMTokenList', 'value', arguments, result);
return result; return result;
}, },

File diff suppressed because it is too large Load Diff

View File

@ -662,7 +662,7 @@ Element = function Element() {
}, },
get innerHTML() { get innerHTML() {
if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Element.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).innerHTML, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).innerHTML, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Element', 'innerHTML', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Element', 'innerHTML', arguments, result);
return result; return result;
}, },

View File

@ -12,7 +12,7 @@ HTMLCollection = function HTMLCollection(createObj_key) {//构造函数
HTMLCollection.prototype = { HTMLCollection.prototype = {
item(index) { item(index) {
if (!HTMLCollection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLCollection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this[index];; let result = this[index];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCollection', 'item', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCollection', 'item', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ HTMLCollection = function HTMLCollection(createObj_key) {//构造函数
}, },
namedItem(name) { namedItem(name) {
if (!HTMLCollection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLCollection.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this[name];; let result = this[name];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCollection', 'namedItem', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCollection', 'namedItem', arguments, result);
return result; return result;
} }

View File

@ -116,7 +116,7 @@ HTMLElement = function HTMLElement(createObj_key) {
HTMLElement.prototype = { HTMLElement.prototype = {
get accessKey() { get accessKey() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).accessKey, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).accessKey, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'accessKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'accessKey', arguments, result);
return result; return result;
}, },
@ -133,7 +133,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get autocapitalize() { get autocapitalize() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).autocapitalize, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).autocapitalize, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'autocapitalize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'autocapitalize', arguments, result);
return result; return result;
}, },
@ -144,7 +144,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get autofocus() { get autofocus() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).autofocus, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).autofocus, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'autofocus', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'autofocus', arguments, result);
return result; return result;
}, },
@ -167,7 +167,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get contentEditable() { get contentEditable() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).contentEditable, "inherit");; let result = lwVm.abs(lwVm.memory.private_data.get(this).contentEditable, "inherit");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'contentEditable', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'contentEditable', arguments, result);
return result; return result;
}, },
@ -186,13 +186,13 @@ HTMLElement = function HTMLElement(createObj_key) {
ele = new DOMStringMap(); ele = new DOMStringMap();
lwVm.memory.private_data.get(this).dataset = ele; lwVm.memory.private_data.get(this).dataset = ele;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLElement', 'if ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLElement', 'if ', arguments, result);
return result; return result;
}, },
get dir() { get dir() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).dir, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).dir, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'dir', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'dir', arguments, result);
return result; return result;
}, },
@ -203,7 +203,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get draggable() { get draggable() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).draggable, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).draggable, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'draggable', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'draggable', arguments, result);
return result; return result;
}, },
@ -214,7 +214,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get enterKeyHint() { get enterKeyHint() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).enterKeyHint, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).enterKeyHint, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'enterKeyHint', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'enterKeyHint', arguments, result);
return result; return result;
}, },
@ -231,7 +231,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get hidden() { get hidden() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).hidden, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).hidden, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'hidden', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'hidden', arguments, result);
return result; return result;
}, },
@ -242,7 +242,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get innerText() { get innerText() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).innerText, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).innerText, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'innerText', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'innerText', arguments, result);
return result; return result;
}, },
@ -253,7 +253,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get inputMode() { get inputMode() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).inputMode, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).inputMode, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'inputMode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'inputMode', arguments, result);
return result; return result;
}, },
@ -264,13 +264,13 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get isContentEditable() { get isContentEditable() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).isContentEditable, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).isContentEditable, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'isContentEditable', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'isContentEditable', arguments, result);
return result; return result;
}, },
get lang() { get lang() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).lang, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).lang, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'lang', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'lang', arguments, result);
return result; return result;
}, },
@ -281,7 +281,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get nonce() { get nonce() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).nonce, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).nonce, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'nonce', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'nonce', arguments, result);
return result; return result;
}, },
@ -292,37 +292,37 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get offsetHeight() { get offsetHeight() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetHeight', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetHeight', arguments, result);
return result; return result;
}, },
get offsetLeft() { get offsetLeft() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetLeft', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetLeft', arguments, result);
return result; return result;
}, },
get offsetParent() { get offsetParent() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetParent', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetParent', arguments, result);
return result; return result;
}, },
get offsetTop() { get offsetTop() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetTop', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetTop', arguments, result);
return result; return result;
}, },
get offsetWidth() { get offsetWidth() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'offsetWidth', arguments, result);
return result; return result;
}, },
get onabort() { get onabort() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onabort', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onabort', arguments, result);
return result; return result;
}, },
@ -333,7 +333,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onanimationend() { get onanimationend() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onanimationend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onanimationend', arguments, result);
return result; return result;
}, },
@ -344,7 +344,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onanimationiteration() { get onanimationiteration() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationiteration, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationiteration, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onanimationiteration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onanimationiteration', arguments, result);
return result; return result;
}, },
@ -355,7 +355,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onanimationstart() { get onanimationstart() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onanimationstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onanimationstart', arguments, result);
return result; return result;
}, },
@ -366,7 +366,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onauxclick() { get onauxclick() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onauxclick, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onauxclick, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onauxclick', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onauxclick', arguments, result);
return result; return result;
}, },
@ -377,7 +377,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onbeforexrselect() { get onbeforexrselect() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforexrselect, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforexrselect, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onbeforexrselect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onbeforexrselect', arguments, result);
return result; return result;
}, },
@ -388,7 +388,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onblur() { get onblur() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onblur, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onblur, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onblur', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onblur', arguments, result);
return result; return result;
}, },
@ -399,7 +399,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oncancel() { get oncancel() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncancel, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncancel, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncancel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncancel', arguments, result);
return result; return result;
}, },
@ -410,7 +410,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oncanplay() { get oncanplay() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplay, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplay, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncanplay', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncanplay', arguments, result);
return result; return result;
}, },
@ -421,7 +421,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oncanplaythrough() { get oncanplaythrough() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplaythrough, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplaythrough, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncanplaythrough', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncanplaythrough', arguments, result);
return result; return result;
}, },
@ -432,7 +432,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onchange() { get onchange() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onchange', arguments, result);
return result; return result;
}, },
@ -443,7 +443,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onclick() { get onclick() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onclick, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onclick, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onclick', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onclick', arguments, result);
return result; return result;
}, },
@ -454,7 +454,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onclose() { get onclose() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onclose', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onclose', arguments, result);
return result; return result;
}, },
@ -465,7 +465,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oncontextmenu() { get oncontextmenu() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncontextmenu, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncontextmenu, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncontextmenu', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncontextmenu', arguments, result);
return result; return result;
}, },
@ -476,7 +476,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oncopy() { get oncopy() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncopy, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncopy, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncopy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncopy', arguments, result);
return result; return result;
}, },
@ -487,7 +487,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oncuechange() { get oncuechange() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncuechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncuechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncuechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncuechange', arguments, result);
return result; return result;
}, },
@ -498,7 +498,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oncut() { get oncut() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncut, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncut, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncut', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oncut', arguments, result);
return result; return result;
}, },
@ -509,7 +509,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondblclick() { get ondblclick() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondblclick, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondblclick, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondblclick', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondblclick', arguments, result);
return result; return result;
}, },
@ -520,7 +520,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondrag() { get ondrag() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrag, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrag, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondrag', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondrag', arguments, result);
return result; return result;
}, },
@ -531,7 +531,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondragend() { get ondragend() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragend', arguments, result);
return result; return result;
}, },
@ -542,7 +542,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondragenter() { get ondragenter() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragenter, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragenter, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragenter', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragenter', arguments, result);
return result; return result;
}, },
@ -553,7 +553,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondragleave() { get ondragleave() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragleave, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragleave, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragleave', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragleave', arguments, result);
return result; return result;
}, },
@ -564,7 +564,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondragover() { get ondragover() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragover, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragover, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragover', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragover', arguments, result);
return result; return result;
}, },
@ -575,7 +575,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondragstart() { get ondragstart() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondragstart', arguments, result);
return result; return result;
}, },
@ -586,7 +586,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondrop() { get ondrop() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrop, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrop, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondrop', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondrop', arguments, result);
return result; return result;
}, },
@ -597,7 +597,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ondurationchange() { get ondurationchange() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondurationchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondurationchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondurationchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ondurationchange', arguments, result);
return result; return result;
}, },
@ -608,7 +608,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onemptied() { get onemptied() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onemptied, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onemptied, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onemptied', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onemptied', arguments, result);
return result; return result;
}, },
@ -619,7 +619,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onended() { get onended() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onended, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onended, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onended', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onended', arguments, result);
return result; return result;
}, },
@ -630,7 +630,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onerror() { get onerror() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onerror', arguments, result);
return result; return result;
}, },
@ -641,7 +641,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onfocus() { get onfocus() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onfocus, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onfocus, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onfocus', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onfocus', arguments, result);
return result; return result;
}, },
@ -652,7 +652,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onformdata() { get onformdata() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onformdata, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onformdata, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onformdata', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onformdata', arguments, result);
return result; return result;
}, },
@ -663,7 +663,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ongotpointercapture() { get ongotpointercapture() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ongotpointercapture, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ongotpointercapture, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ongotpointercapture', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ongotpointercapture', arguments, result);
return result; return result;
}, },
@ -674,7 +674,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oninput() { get oninput() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oninput, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oninput, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oninput', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oninput', arguments, result);
return result; return result;
}, },
@ -685,7 +685,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get oninvalid() { get oninvalid() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oninvalid, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).oninvalid, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oninvalid', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'oninvalid', arguments, result);
return result; return result;
}, },
@ -696,7 +696,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onkeydown() { get onkeydown() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeydown, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeydown, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onkeydown', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onkeydown', arguments, result);
return result; return result;
}, },
@ -707,7 +707,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onkeypress() { get onkeypress() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeypress, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeypress, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onkeypress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onkeypress', arguments, result);
return result; return result;
}, },
@ -718,7 +718,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onkeyup() { get onkeyup() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeyup, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeyup, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onkeyup', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onkeyup', arguments, result);
return result; return result;
}, },
@ -729,7 +729,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onload() { get onload() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onload', arguments, result);
return result; return result;
}, },
@ -740,7 +740,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onloadeddata() { get onloadeddata() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadeddata, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadeddata, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onloadeddata', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onloadeddata', arguments, result);
return result; return result;
}, },
@ -751,7 +751,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onloadedmetadata() { get onloadedmetadata() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadedmetadata, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadedmetadata, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onloadedmetadata', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onloadedmetadata', arguments, result);
return result; return result;
}, },
@ -762,7 +762,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onloadstart() { get onloadstart() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onloadstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onloadstart', arguments, result);
return result; return result;
}, },
@ -773,7 +773,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onlostpointercapture() { get onlostpointercapture() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onlostpointercapture, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onlostpointercapture, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onlostpointercapture', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onlostpointercapture', arguments, result);
return result; return result;
}, },
@ -784,7 +784,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onmousedown() { get onmousedown() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousedown, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousedown, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmousedown', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmousedown', arguments, result);
return result; return result;
}, },
@ -795,7 +795,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onmousemove() { get onmousemove() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousemove, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousemove, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmousemove', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmousemove', arguments, result);
return result; return result;
}, },
@ -806,7 +806,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onmouseout() { get onmouseout() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseout, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseout, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmouseout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmouseout', arguments, result);
return result; return result;
}, },
@ -817,7 +817,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onmouseover() { get onmouseover() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseover, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseover, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmouseover', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmouseover', arguments, result);
return result; return result;
}, },
@ -828,7 +828,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onmouseup() { get onmouseup() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseup, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseup, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmouseup', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmouseup', arguments, result);
return result; return result;
}, },
@ -839,7 +839,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onmousewheel() { get onmousewheel() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousewheel, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousewheel, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmousewheel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onmousewheel', arguments, result);
return result; return result;
}, },
@ -850,7 +850,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpaste() { get onpaste() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpaste, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpaste, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpaste', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpaste', arguments, result);
return result; return result;
}, },
@ -861,7 +861,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpause() { get onpause() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpause, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpause, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpause', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpause', arguments, result);
return result; return result;
}, },
@ -872,7 +872,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onplay() { get onplay() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onplay, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onplay, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onplay', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onplay', arguments, result);
return result; return result;
}, },
@ -883,7 +883,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onplaying() { get onplaying() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onplaying, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onplaying, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onplaying', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onplaying', arguments, result);
return result; return result;
}, },
@ -894,7 +894,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointercancel() { get onpointercancel() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointercancel, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointercancel, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointercancel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointercancel', arguments, result);
return result; return result;
}, },
@ -905,7 +905,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointerdown() { get onpointerdown() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerdown, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerdown, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerdown', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerdown', arguments, result);
return result; return result;
}, },
@ -916,7 +916,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointerenter() { get onpointerenter() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerenter, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerenter, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerenter', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerenter', arguments, result);
return result; return result;
}, },
@ -927,7 +927,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointerleave() { get onpointerleave() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerleave, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerleave, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerleave', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerleave', arguments, result);
return result; return result;
}, },
@ -938,7 +938,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointermove() { get onpointermove() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointermove, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointermove, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointermove', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointermove', arguments, result);
return result; return result;
}, },
@ -949,7 +949,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointerout() { get onpointerout() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerout, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerout, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerout', arguments, result);
return result; return result;
}, },
@ -960,7 +960,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointerover() { get onpointerover() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerover, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerover, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerover', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerover', arguments, result);
return result; return result;
}, },
@ -971,7 +971,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointerrawupdate() { get onpointerrawupdate() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerrawupdate, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerrawupdate, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerrawupdate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerrawupdate', arguments, result);
return result; return result;
}, },
@ -982,7 +982,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onpointerup() { get onpointerup() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerup, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerup, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerup', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onpointerup', arguments, result);
return result; return result;
}, },
@ -993,7 +993,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onprogress() { get onprogress() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onprogress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onprogress', arguments, result);
return result; return result;
}, },
@ -1004,7 +1004,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onratechange() { get onratechange() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onratechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onratechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onratechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onratechange', arguments, result);
return result; return result;
}, },
@ -1015,7 +1015,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onreset() { get onreset() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onreset, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onreset, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onreset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onreset', arguments, result);
return result; return result;
}, },
@ -1026,7 +1026,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onresize() { get onresize() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onresize, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onresize, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onresize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onresize', arguments, result);
return result; return result;
}, },
@ -1037,7 +1037,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onscroll() { get onscroll() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onscroll, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onscroll, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onscroll', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onscroll', arguments, result);
return result; return result;
}, },
@ -1048,7 +1048,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onsecuritypolicyviolation() { get onsecuritypolicyviolation() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsecuritypolicyviolation, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsecuritypolicyviolation, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onsecuritypolicyviolation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onsecuritypolicyviolation', arguments, result);
return result; return result;
}, },
@ -1059,7 +1059,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onseeked() { get onseeked() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeked, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeked, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onseeked', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onseeked', arguments, result);
return result; return result;
}, },
@ -1070,7 +1070,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onseeking() { get onseeking() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeking, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeking, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onseeking', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onseeking', arguments, result);
return result; return result;
}, },
@ -1081,7 +1081,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onselect() { get onselect() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onselect, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onselect, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onselect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onselect', arguments, result);
return result; return result;
}, },
@ -1092,7 +1092,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onselectionchange() { get onselectionchange() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectionchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectionchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onselectionchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onselectionchange', arguments, result);
return result; return result;
}, },
@ -1103,7 +1103,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onselectstart() { get onselectstart() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onselectstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onselectstart', arguments, result);
return result; return result;
}, },
@ -1114,7 +1114,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onslotchange() { get onslotchange() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onslotchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onslotchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onslotchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onslotchange', arguments, result);
return result; return result;
}, },
@ -1125,7 +1125,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onstalled() { get onstalled() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onstalled, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onstalled, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onstalled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onstalled', arguments, result);
return result; return result;
}, },
@ -1136,7 +1136,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onsubmit() { get onsubmit() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsubmit, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsubmit, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onsubmit', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onsubmit', arguments, result);
return result; return result;
}, },
@ -1147,7 +1147,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onsuspend() { get onsuspend() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsuspend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsuspend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onsuspend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onsuspend', arguments, result);
return result; return result;
}, },
@ -1158,7 +1158,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ontimeupdate() { get ontimeupdate() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeupdate, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeupdate, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontimeupdate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontimeupdate', arguments, result);
return result; return result;
}, },
@ -1169,7 +1169,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ontoggle() { get ontoggle() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontoggle, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontoggle, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontoggle', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontoggle', arguments, result);
return result; return result;
}, },
@ -1180,7 +1180,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ontransitioncancel() { get ontransitioncancel() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitioncancel, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitioncancel, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitioncancel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitioncancel', arguments, result);
return result; return result;
}, },
@ -1191,7 +1191,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ontransitionend() { get ontransitionend() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitionend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitionend', arguments, result);
return result; return result;
}, },
@ -1202,7 +1202,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ontransitionrun() { get ontransitionrun() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionrun, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionrun, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitionrun', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitionrun', arguments, result);
return result; return result;
}, },
@ -1213,7 +1213,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get ontransitionstart() { get ontransitionstart() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitionstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'ontransitionstart', arguments, result);
return result; return result;
}, },
@ -1224,7 +1224,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onvolumechange() { get onvolumechange() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onvolumechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onvolumechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onvolumechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onvolumechange', arguments, result);
return result; return result;
}, },
@ -1235,7 +1235,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onwaiting() { get onwaiting() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwaiting, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwaiting, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwaiting', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwaiting', arguments, result);
return result; return result;
}, },
@ -1246,7 +1246,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onwebkitanimationend() { get onwebkitanimationend() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationend', arguments, result);
return result; return result;
}, },
@ -1257,7 +1257,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onwebkitanimationiteration() { get onwebkitanimationiteration() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationiteration, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationiteration, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationiteration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationiteration', arguments, result);
return result; return result;
}, },
@ -1268,7 +1268,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onwebkitanimationstart() { get onwebkitanimationstart() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationstart, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationstart, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkitanimationstart', arguments, result);
return result; return result;
}, },
@ -1279,7 +1279,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onwebkittransitionend() { get onwebkittransitionend() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkittransitionend, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkittransitionend, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkittransitionend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwebkittransitionend', arguments, result);
return result; return result;
}, },
@ -1290,7 +1290,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get onwheel() { get onwheel() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwheel, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwheel, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwheel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'onwheel', arguments, result);
return result; return result;
}, },
@ -1301,7 +1301,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get outerText() { get outerText() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).outerText, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).outerText, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'outerText', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'outerText', arguments, result);
return result; return result;
}, },
@ -1312,7 +1312,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get spellcheck() { get spellcheck() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).spellcheck, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).spellcheck, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'spellcheck', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'spellcheck', arguments, result);
return result; return result;
}, },
@ -1336,7 +1336,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}else{ }else{
ele = ele.style; ele = ele.style;
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLElement', 'for ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLElement', 'for ', arguments, result);
return result; return result;
}, },
@ -1347,7 +1347,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get tabIndex() { get tabIndex() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).tabIndex, -1);; let result = lwVm.abs(lwVm.memory.private_data.get(this).tabIndex, -1);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'tabIndex', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'tabIndex', arguments, result);
return result; return result;
}, },
@ -1358,7 +1358,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get title() { get title() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).title, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).title, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'title', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'title', arguments, result);
return result; return result;
}, },
@ -1369,7 +1369,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get translate() { get translate() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).translate, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).translate, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'translate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'translate', arguments, result);
return result; return result;
}, },
@ -1380,7 +1380,7 @@ HTMLElement = function HTMLElement(createObj_key) {
}, },
get virtualKeyboardPolicy() { get virtualKeyboardPolicy() {
if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).virtualKeyboardPolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).virtualKeyboardPolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'virtualKeyboardPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLElement', 'virtualKeyboardPolicy', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
HTMLAnchorElement.prototype = { HTMLAnchorElement.prototype = {
get charset() { get charset() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).charset, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).charset, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'charset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'charset', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get coords() { get coords() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).coords, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).coords, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'coords', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'coords', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get download() { get download() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).download, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).download, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'download', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'download', arguments, result);
return result; return result;
}, },
@ -46,7 +46,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get hash() { get hash() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).hash, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).hash, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hash', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hash', arguments, result);
return result; return result;
}, },
@ -57,7 +57,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get host() { get host() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).host, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).host, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'host', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'host', arguments, result);
return result; return result;
}, },
@ -68,7 +68,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get hostname() { get hostname() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).hostname, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).hostname, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hostname', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hostname', arguments, result);
return result; return result;
}, },
@ -79,7 +79,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get href() { get href() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).href, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).href, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'href', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'href', arguments, result);
return result; return result;
}, },
@ -90,7 +90,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get hrefTranslate() { get hrefTranslate() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).hrefTranslate, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).hrefTranslate, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hrefTranslate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hrefTranslate', arguments, result);
return result; return result;
}, },
@ -101,7 +101,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get hreflang() { get hreflang() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).hreflang, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).hreflang, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hreflang', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'hreflang', arguments, result);
return result; return result;
}, },
@ -112,7 +112,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get name() { get name() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'name', arguments, result);
return result; return result;
}, },
@ -123,13 +123,13 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get origin() { get origin() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).origin, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).origin, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'origin', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'origin', arguments, result);
return result; return result;
}, },
get password() { get password() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).password, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).password, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'password', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'password', arguments, result);
return result; return result;
}, },
@ -140,7 +140,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get pathname() { get pathname() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pathname, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).pathname, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'pathname', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'pathname', arguments, result);
return result; return result;
}, },
@ -151,7 +151,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get ping() { get ping() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ping, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ping, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'ping', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'ping', arguments, result);
return result; return result;
}, },
@ -162,7 +162,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get port() { get port() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).port, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).port, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'port', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'port', arguments, result);
return result; return result;
}, },
@ -173,7 +173,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get protocol() { get protocol() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).protocol, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'protocol', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'protocol', arguments, result);
return result; return result;
}, },
@ -184,7 +184,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get referrerPolicy() { get referrerPolicy() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'referrerPolicy', arguments, result);
return result; return result;
}, },
@ -195,7 +195,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get rel() { get rel() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).rel, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).rel, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'rel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'rel', arguments, result);
return result; return result;
}, },
@ -206,7 +206,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get relList() { get relList() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).relList, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).relList, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'relList', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'relList', arguments, result);
return result; return result;
}, },
@ -217,7 +217,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get rev() { get rev() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).rev, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).rev, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'rev', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'rev', arguments, result);
return result; return result;
}, },
@ -228,7 +228,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get search() { get search() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).search, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).search, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'search', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'search', arguments, result);
return result; return result;
}, },
@ -239,7 +239,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get shape() { get shape() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).shape, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).shape, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'shape', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'shape', arguments, result);
return result; return result;
}, },
@ -250,7 +250,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get target() { get target() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).target, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).target, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'target', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'target', arguments, result);
return result; return result;
}, },
@ -261,7 +261,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get text() { get text() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).text, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).text, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'text', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'text', arguments, result);
return result; return result;
}, },
@ -278,7 +278,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get type() { get type() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'type', arguments, result);
return result; return result;
}, },
@ -289,7 +289,7 @@ HTMLAnchorElement = function HTMLAnchorElement(createObj_key) {//构造函数
}, },
get username() { get username() {
if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLAnchorElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).username, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).username, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'username', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLAnchorElement', 'username', arguments, result);
return result; return result;
}, },

View File

@ -13,13 +13,13 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
HTMLButtonElement.prototype = { HTMLButtonElement.prototype = {
checkValidity() { checkValidity() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = true;; let result = true;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLButtonElement', 'checkValidity', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLButtonElement', 'checkValidity', arguments, result);
return result; return result;
}, },
get disabled() { get disabled() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).disabled, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).disabled, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'disabled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'disabled', arguments, result);
return result; return result;
}, },
@ -31,7 +31,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get form() { get form() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).form, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).form, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'form', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'form', arguments, result);
return result; return result;
}, },
@ -42,7 +42,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get formAction() { get formAction() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).formAction, location.href);; let result = lwVm.abs(lwVm.memory.private_data.get(this).formAction, location.href);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formAction', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formAction', arguments, result);
return result; return result;
}, },
@ -53,7 +53,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get formEnctype() { get formEnctype() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).formEnctype, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).formEnctype, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formEnctype', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formEnctype', arguments, result);
return result; return result;
}, },
@ -64,7 +64,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get formMethod() { get formMethod() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).formMethod, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).formMethod, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formMethod', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formMethod', arguments, result);
return result; return result;
}, },
@ -75,7 +75,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get formNoValidate() { get formNoValidate() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).formNoValidate, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).formNoValidate, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formNoValidate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formNoValidate', arguments, result);
return result; return result;
}, },
@ -86,7 +86,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get formTarget() { get formTarget() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).formTarget, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).formTarget, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formTarget', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'formTarget', arguments, result);
return result; return result;
}, },
@ -100,7 +100,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get name() { get name() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'name', arguments, result);
return result; return result;
}, },
@ -111,7 +111,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
reportValidity() { reportValidity() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = true;; let result = true;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLButtonElement', 'reportValidity', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLButtonElement', 'reportValidity', arguments, result);
return result; return result;
}, },
@ -123,7 +123,7 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get type() { get type() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "submit");; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "submit");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'type', arguments, result);
return result; return result;
}, },
@ -134,19 +134,19 @@ HTMLButtonElement = function HTMLButtonElement(createObj_key) {//构造函数
}, },
get validationMessage() { get validationMessage() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).validationMessage, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).validationMessage, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'validationMessage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'validationMessage', arguments, result);
return result; return result;
}, },
get validity() { // ValidityState  get validity() { // ValidityState 
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).validity, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).validity, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'validationMessage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'validationMessage', arguments, result);
return result; return result;
}, },
get value() { get value() {
if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLButtonElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).value, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).value, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'value', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLButtonElement', 'value', arguments, result);
return result; return result;
}, },

View File

@ -39,23 +39,23 @@ HTMLCanvasElement = function HTMLCanvasElement(createObj_key) {//构造函数
lwVm.memory.private_data.get(this).getContext = context; lwVm.memory.private_data.get(this).getContext = context;
lwVm.memory.private_data.get(this).contextType = contextType lwVm.memory.private_data.get(this).contextType = contextType
let result = context;; let result = context;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result);
return result; return result;
} }
if (buffer_context !== null && contextType === buffer_contextType) { if (buffer_context !== null && contextType === buffer_contextType) {
let result = buffer_context;; let result = buffer_context;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result);
return result; return result;
} }
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'switch ', arguments, result);
return result; return result;
}, },
get height() { get height() {
if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).height, 150);; let result = lwVm.abs(lwVm.memory.private_data.get(this).height, 150);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLCanvasElement', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLCanvasElement', 'height', arguments, result);
return result; return result;
}, },
@ -72,7 +72,7 @@ HTMLCanvasElement = function HTMLCanvasElement(createObj_key) {//构造函数
}, },
toDataURL() { toDataURL() {
if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.default_envs.canvas;; let result = lwVm.default_envs.canvas;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'toDataURL', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'HTMLCanvasElement', 'toDataURL', arguments, result);
return result; return result;
}, },
@ -84,7 +84,7 @@ HTMLCanvasElement = function HTMLCanvasElement(createObj_key) {//构造函数
}, },
get width() { get width() {
if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLCanvasElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).width, 300);; let result = lwVm.abs(lwVm.memory.private_data.get(this).width, 300);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLCanvasElement', 'width', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLCanvasElement', 'width', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLDivElement = function HTMLDivElement(createObj_key) {//构造函数
HTMLDivElement.prototype = { HTMLDivElement.prototype = {
get align() { get align() {
if (!HTMLDivElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } if (!HTMLDivElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }
let result = lwVm.abs(lwVm.memory.private_data.get(this).align, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).align, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLDivElement', 'align', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLDivElement', 'align', arguments, result);
return result; return result;
}, },

View File

@ -13,19 +13,19 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
HTMLFrameElement.prototype = { HTMLFrameElement.prototype = {
get contentDocument() { get contentDocument() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).contentDocument, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).contentDocument, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'contentDocument', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'contentDocument', arguments, result);
return result; return result;
}, },
get contentWindow() { get contentWindow() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).contentWindow, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).contentWindow, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'contentWindow', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'contentWindow', arguments, result);
return result; return result;
}, },
get frameBorder() { get frameBorder() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).frameBorder, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).frameBorder, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'frameBorder', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'frameBorder', arguments, result);
return result; return result;
}, },
@ -36,7 +36,7 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
}, },
get longDesc() { get longDesc() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).longDesc, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).longDesc, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'longDesc', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'longDesc', arguments, result);
return result; return result;
}, },
@ -47,7 +47,7 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
}, },
get marginHeight() { get marginHeight() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).marginHeight, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).marginHeight, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'marginHeight', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'marginHeight', arguments, result);
return result; return result;
}, },
@ -58,7 +58,7 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
}, },
get marginWidth() { get marginWidth() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).marginWidth, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).marginWidth, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'marginWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'marginWidth', arguments, result);
return result; return result;
}, },
@ -69,7 +69,7 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
}, },
get name() { get name() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'name', arguments, result);
return result; return result;
}, },
@ -80,7 +80,7 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
}, },
get noResize() { get noResize() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).noResize, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).noResize, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'noResize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'noResize', arguments, result);
return result; return result;
}, },
@ -91,7 +91,7 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
}, },
get scrolling() { get scrolling() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).scrolling, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).scrolling, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'scrolling', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'scrolling', arguments, result);
return result; return result;
}, },
@ -102,7 +102,7 @@ HTMLFrameElement = function HTMLFrameElement(createObj_key) {//构造函数
}, },
get src() { get src() {
if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'src', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameElement', 'src', arguments, result);
return result; return result;
}, },

View File

@ -21,7 +21,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
HTMLFrameSetElement.prototype = { HTMLFrameSetElement.prototype = {
get cols() { get cols() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).cols, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).cols, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'cols', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'cols', arguments, result);
return result; return result;
}, },
@ -32,7 +32,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onafterprint() { get onafterprint() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onafterprint, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onafterprint, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onafterprint', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onafterprint', arguments, result);
return result; return result;
}, },
@ -43,7 +43,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onbeforeprint() { get onbeforeprint() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforeprint, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforeprint, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onbeforeprint', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onbeforeprint', arguments, result);
return result; return result;
}, },
@ -54,7 +54,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onbeforeunload() { get onbeforeunload() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforeunload, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforeunload, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onbeforeunload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onbeforeunload', arguments, result);
return result; return result;
}, },
@ -65,7 +65,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onblur() { get onblur() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onblur, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onblur, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onblur', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onblur', arguments, result);
return result; return result;
}, },
@ -76,7 +76,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onerror() { get onerror() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onerror', arguments, result);
return result; return result;
}, },
@ -87,7 +87,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onfocus() { get onfocus() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onfocus, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onfocus, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onfocus', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onfocus', arguments, result);
return result; return result;
}, },
@ -98,7 +98,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onhashchange() { get onhashchange() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onhashchange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onhashchange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onhashchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onhashchange', arguments, result);
return result; return result;
}, },
@ -109,7 +109,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onlanguagechange() { get onlanguagechange() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onlanguagechange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onlanguagechange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onlanguagechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onlanguagechange', arguments, result);
return result; return result;
}, },
@ -120,7 +120,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onload() { get onload() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onload', arguments, result);
return result; return result;
}, },
@ -131,7 +131,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onmessage() { get onmessage() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessage, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessage, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onmessage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onmessage', arguments, result);
return result; return result;
}, },
@ -142,7 +142,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onmessageerror() { get onmessageerror() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessageerror, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmessageerror, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onmessageerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onmessageerror', arguments, result);
return result; return result;
}, },
@ -153,7 +153,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onoffline() { get onoffline() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onoffline, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onoffline, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onoffline', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onoffline', arguments, result);
return result; return result;
}, },
@ -164,7 +164,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get ononline() { get ononline() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ononline, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ononline, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'ononline', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'ononline', arguments, result);
return result; return result;
}, },
@ -175,7 +175,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onpagehide() { get onpagehide() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpagehide, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpagehide, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onpagehide', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onpagehide', arguments, result);
return result; return result;
}, },
@ -186,7 +186,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onpageshow() { get onpageshow() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpageshow, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpageshow, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onpageshow', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onpageshow', arguments, result);
return result; return result;
}, },
@ -197,7 +197,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onpopstate() { get onpopstate() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpopstate, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpopstate, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onpopstate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onpopstate', arguments, result);
return result; return result;
}, },
@ -208,7 +208,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onrejectionhandled() { get onrejectionhandled() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onrejectionhandled, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onrejectionhandled, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onrejectionhandled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onrejectionhandled', arguments, result);
return result; return result;
}, },
@ -219,7 +219,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onresize() { get onresize() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onresize, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onresize, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onresize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onresize', arguments, result);
return result; return result;
}, },
@ -230,7 +230,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onscroll() { get onscroll() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onscroll, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onscroll, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onscroll', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onscroll', arguments, result);
return result; return result;
}, },
@ -241,7 +241,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onstorage() { get onstorage() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onstorage, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onstorage, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onstorage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onstorage', arguments, result);
return result; return result;
}, },
@ -252,7 +252,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onunhandledrejection() { get onunhandledrejection() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onunhandledrejection, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onunhandledrejection, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onunhandledrejection', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onunhandledrejection', arguments, result);
return result; return result;
}, },
@ -263,7 +263,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get onunload() { get onunload() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onunload, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onunload, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onunload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'onunload', arguments, result);
return result; return result;
}, },
@ -274,7 +274,7 @@ HTMLFrameSetElement = function HTMLFrameSetElement(createObj_key) {//构造函
}, },
get rows() { get rows() {
if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLFrameSetElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).rows, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).rows, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'rows', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLFrameSetElement', 'rows', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLHtmlElement = function HTMLHtmlElement(createObj_key) {//构造函数
HTMLHtmlElement.prototype = { HTMLHtmlElement.prototype = {
get version() { get version() {
if (!HTMLHtmlElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } if (!HTMLHtmlElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }
let result = lwVm.abs(lwVm.memory.private_data.get(this).version, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).version, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLHtmlElement', 'version', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLHtmlElement', 'version', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
HTMLIFrameElement.prototype = { HTMLIFrameElement.prototype = {
get align() { get align() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).align, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).align, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'align', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'align', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get allow() { get allow() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).allow, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).allow, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'allow', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'allow', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get allowFullscreen() { get allowFullscreen() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).allowFullscreen, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).allowFullscreen, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'allowFullscreen', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'allowFullscreen', arguments, result);
return result; return result;
}, },
@ -46,7 +46,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get allowPaymentRequest() { get allowPaymentRequest() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).allowPaymentRequest, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).allowPaymentRequest, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'allowPaymentRequest', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'allowPaymentRequest', arguments, result);
return result; return result;
}, },
@ -57,19 +57,19 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get contentDocument() { get contentDocument() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).contentDocument, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).contentDocument, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'contentDocument', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'contentDocument', arguments, result);
return result; return result;
}, },
get contentWindow() { get contentWindow() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).contentWindow, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).contentWindow, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'contentWindow', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'contentWindow', arguments, result);
return result; return result;
}, },
get csp() { get csp() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).csp, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).csp, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'csp', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'csp', arguments, result);
return result; return result;
}, },
@ -80,13 +80,13 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get featurePolicy() { get featurePolicy() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).featurePolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).featurePolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'featurePolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'featurePolicy', arguments, result);
return result; return result;
}, },
get frameBorder() { get frameBorder() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).frameBorder, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).frameBorder, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'frameBorder', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'frameBorder', arguments, result);
return result; return result;
}, },
@ -103,7 +103,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get height() { get height() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).height, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).height, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'height', arguments, result);
return result; return result;
}, },
@ -114,7 +114,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get loading() { get loading() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).loading, "auto");; let result = lwVm.abs(lwVm.memory.private_data.get(this).loading, "auto");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'loading', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'loading', arguments, result);
return result; return result;
}, },
@ -125,7 +125,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get longDesc() { get longDesc() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).longDesc, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).longDesc, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'longDesc', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'longDesc', arguments, result);
return result; return result;
}, },
@ -136,7 +136,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get marginHeight() { get marginHeight() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).marginHeight, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).marginHeight, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'marginHeight', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'marginHeight', arguments, result);
return result; return result;
}, },
@ -147,7 +147,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get marginWidth() { get marginWidth() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).marginWidth, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).marginWidth, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'marginWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'marginWidth', arguments, result);
return result; return result;
}, },
@ -158,7 +158,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get name() { get name() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'name', arguments, result);
return result; return result;
}, },
@ -169,7 +169,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get referrerPolicy() { get referrerPolicy() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'referrerPolicy', arguments, result);
return result; return result;
}, },
@ -188,7 +188,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get scrolling() { get scrolling() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).scrolling, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).scrolling, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'scrolling', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'scrolling', arguments, result);
return result; return result;
}, },
@ -199,7 +199,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get src() { get src() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'src', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'src', arguments, result);
return result; return result;
}, },
@ -210,7 +210,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get srcdoc() { get srcdoc() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).srcdoc, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).srcdoc, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'srcdoc', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'srcdoc', arguments, result);
return result; return result;
}, },
@ -221,7 +221,7 @@ HTMLIFrameElement = function HTMLIFrameElement(createObj_key) {
}, },
get width() { get width() {
if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLIFrameElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).width, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).width, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'width', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLIFrameElement', 'width', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
HTMLImageElement.prototype = { HTMLImageElement.prototype = {
get align() { get align() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).align, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).align, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'align', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'align', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get alt() { get alt() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).alt, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).alt, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'alt', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'alt', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get border() { get border() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).border, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).border, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'border', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'border', arguments, result);
return result; return result;
}, },
@ -46,13 +46,13 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get complete() { get complete() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = true;; let result = true;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'complete', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'complete', arguments, result);
return result; return result;
}, },
get crossOrigin() { get crossOrigin() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).crossOrigin, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).crossOrigin, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'crossOrigin', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'crossOrigin', arguments, result);
return result; return result;
}, },
@ -63,7 +63,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get currentSrc() { get currentSrc() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentSrc, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentSrc, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'currentSrc', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'currentSrc', arguments, result);
return result; return result;
}, },
@ -75,7 +75,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get decoding() { get decoding() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).decoding, 'auto');; let result = lwVm.abs(lwVm.memory.private_data.get(this).decoding, 'auto');
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'decoding', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'decoding', arguments, result);
return result; return result;
}, },
@ -86,7 +86,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get height() { get height() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).height, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).height, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'height', arguments, result);
return result; return result;
}, },
@ -102,7 +102,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get hspace() { get hspace() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).hspace, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).hspace, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'hspace', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'hspace', arguments, result);
return result; return result;
}, },
@ -116,7 +116,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get isMap() { get isMap() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).isMap, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).isMap, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'isMap', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'isMap', arguments, result);
return result; return result;
}, },
@ -127,7 +127,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get loading() { get loading() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).loading, "auto");; let result = lwVm.abs(lwVm.memory.private_data.get(this).loading, "auto");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'loading', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'loading', arguments, result);
return result; return result;
}, },
@ -138,7 +138,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get longDesc() { get longDesc() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).longDesc, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).longDesc, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'longDesc', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'longDesc', arguments, result);
return result; return result;
}, },
@ -149,7 +149,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get lowsrc() { get lowsrc() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).lowsrc, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).lowsrc, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'lowsrc', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'lowsrc', arguments, result);
return result; return result;
}, },
@ -160,7 +160,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get name() { get name() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'name', arguments, result);
return result; return result;
}, },
@ -171,19 +171,19 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get naturalHeight() { get naturalHeight() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).naturalHeight, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).naturalHeight, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'naturalHeight', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'naturalHeight', arguments, result);
return result; return result;
}, },
get naturalWidth() { get naturalWidth() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).naturalWidth, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).naturalWidth, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'naturalWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'naturalWidth', arguments, result);
return result; return result;
}, },
get referrerPolicy() { get referrerPolicy() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'referrerPolicy', arguments, result);
return result; return result;
}, },
@ -194,7 +194,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get sizes() { get sizes() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sizes, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sizes, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'sizes', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'sizes', arguments, result);
return result; return result;
}, },
@ -205,7 +205,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get src() { get src() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'src', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'src', arguments, result);
return result; return result;
}, },
@ -216,7 +216,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get srcset() { get srcset() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).srcset, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).srcset, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'srcset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'srcset', arguments, result);
return result; return result;
}, },
@ -227,7 +227,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get useMap() { get useMap() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).useMap, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).useMap, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'useMap', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'useMap', arguments, result);
return result; return result;
}, },
@ -238,7 +238,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get vspace() { get vspace() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).vspace, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).vspace, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'vspace', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'vspace', arguments, result);
return result; return result;
}, },
@ -249,7 +249,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get width() { get width() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).width, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).width, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'width', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'width', arguments, result);
return result; return result;
}, },
@ -260,7 +260,7 @@ HTMLImageElement = function HTMLImageElement(createObj_key) {//构造函数
}, },
get x() { get x() {
if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLImageElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).x, 0);; let result = lwVm.abs(lwVm.memory.private_data.get(this).x, 0);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'x', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLImageElement', 'x', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLLIElement = function HTMLLIElement(createObj_key) {//构造函数
get type() { get type() {
if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLIElement', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLIElement', 'type', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ HTMLLIElement = function HTMLLIElement(createObj_key) {//构造函数
}, },
get value() { get value() {
if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLIElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).value, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).value, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLIElement', 'value', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLIElement', 'value', arguments, result);
return result; return result;
}, },

View File

@ -13,19 +13,19 @@ HTMLLabelElement = function HTMLLabelElement(createObj_key) {//构造函数
HTMLLabelElement.prototype = { HTMLLabelElement.prototype = {
get control() { get control() {
if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).control, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).control, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLabelElement', 'control', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLabelElement', 'control', arguments, result);
return result; return result;
}, },
get form() { get form() {
if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).form, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).form, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLabelElement', 'form', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLabelElement', 'form', arguments, result);
return result; return result;
}, },
get htmlFor() { get htmlFor() {
if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLabelElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).htmlFor, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).htmlFor, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLabelElement', 'htmlFor', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLabelElement', 'htmlFor', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
HTMLLinkElement.prototype = { HTMLLinkElement.prototype = {
get as() { get as() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).as, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).as, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'as', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'as', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get charset() { get charset() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).charset, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).charset, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'charset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'charset', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get crossOrigin() { get crossOrigin() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).crossOrigin, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).crossOrigin, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'crossOrigin', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'crossOrigin', arguments, result);
return result; return result;
}, },
@ -46,7 +46,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get disabled() { get disabled() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).disabled, false);; let result = lwVm.abs(lwVm.memory.private_data.get(this).disabled, false);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'disabled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'disabled', arguments, result);
return result; return result;
}, },
@ -57,7 +57,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get href() { get href() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).href, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).href, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'href', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'href', arguments, result);
return result; return result;
}, },
@ -68,7 +68,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get hreflang() { get hreflang() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).hreflang, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).hreflang, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'hreflang', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'hreflang', arguments, result);
return result; return result;
}, },
@ -79,7 +79,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get imageSizes() { get imageSizes() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSizes, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSizes, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'imageSizes', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'imageSizes', arguments, result);
return result; return result;
}, },
@ -90,7 +90,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get imageSrcset() { get imageSrcset() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSrcset, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).imageSrcset, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'imageSrcset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'imageSrcset', arguments, result);
return result; return result;
}, },
@ -101,7 +101,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get integrity() { get integrity() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).integrity, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).integrity, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'integrity', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'integrity', arguments, result);
return result; return result;
}, },
@ -112,7 +112,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get media() { get media() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).media, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).media, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'media', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'media', arguments, result);
return result; return result;
}, },
@ -123,7 +123,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get referrerPolicy() { get referrerPolicy() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).referrerPolicy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'referrerPolicy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'referrerPolicy', arguments, result);
return result; return result;
}, },
@ -134,7 +134,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get rel() { get rel() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).rel, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).rel, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'rel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'rel', arguments, result);
return result; return result;
}, },
@ -153,7 +153,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get rev() { get rev() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).rev, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).rev, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'rev', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'rev', arguments, result);
return result; return result;
}, },
@ -164,13 +164,13 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get sheet() { get sheet() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sheet, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).sheet, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'sheet', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'sheet', arguments, result);
return result; return result;
}, },
get sizes() { // DOMTokenList get sizes() { // DOMTokenList
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sizes, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sizes, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'sheet', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'sheet', arguments, result);
return result; return result;
}, },
@ -181,7 +181,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get target() { get target() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).target, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).target, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'target', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'target', arguments, result);
return result; return result;
}, },
@ -192,7 +192,7 @@ HTMLLinkElement = function HTMLLinkElement(createObj_key) {//构造函数
}, },
get type() { get type() {
if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLLinkElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).type, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'type', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLLinkElement', 'type', arguments, result);
return result; return result;
}, },

View File

@ -30,7 +30,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get autoplay() { get autoplay() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).autoplay, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).autoplay, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'autoplay', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'autoplay', arguments, result);
return result; return result;
}, },
@ -41,7 +41,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get buffered() { get buffered() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).buffered, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).buffered, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'buffered', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'buffered', arguments, result);
return result; return result;
}, },
@ -59,7 +59,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get controls() { get controls() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).controls, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).controls, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'controls', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'controls', arguments, result);
return result; return result;
}, },
@ -70,7 +70,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get controlsList() { get controlsList() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).controlsList, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).controlsList, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'controlsList', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'controlsList', arguments, result);
return result; return result;
}, },
@ -81,7 +81,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get crossOrigin() { get crossOrigin() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).crossOrigin, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).crossOrigin, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'crossOrigin', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'crossOrigin', arguments, result);
return result; return result;
}, },
@ -92,13 +92,13 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get currentSrc() { get currentSrc() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentSrc, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentSrc, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'currentSrc', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'currentSrc', arguments, result);
return result; return result;
}, },
get currentTime() { get currentTime() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentTime, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).currentTime, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'currentTime', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'currentTime', arguments, result);
return result; return result;
}, },
@ -109,7 +109,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get defaultMuted() { get defaultMuted() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultMuted, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultMuted, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'defaultMuted', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'defaultMuted', arguments, result);
return result; return result;
}, },
@ -120,7 +120,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get defaultPlaybackRate() { get defaultPlaybackRate() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultPlaybackRate, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultPlaybackRate, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'defaultPlaybackRate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'defaultPlaybackRate', arguments, result);
return result; return result;
}, },
@ -131,7 +131,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get disableRemotePlayback() { get disableRemotePlayback() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).disableRemotePlayback, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).disableRemotePlayback, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'disableRemotePlayback', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'disableRemotePlayback', arguments, result);
return result; return result;
}, },
@ -142,19 +142,19 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get duration() { get duration() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).duration, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).duration, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'duration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'duration', arguments, result);
return result; return result;
}, },
get ended() { get ended() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ended, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ended, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'ended', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'ended', arguments, result);
return result; return result;
}, },
get error() { get error() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).error, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).error, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'error', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'error', arguments, result);
return result; return result;
}, },
@ -166,7 +166,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get loop() { get loop() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).loop, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).loop, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'loop', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'loop', arguments, result);
return result; return result;
}, },
@ -177,7 +177,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get muted() { get muted() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).muted, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).muted, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'muted', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'muted', arguments, result);
return result; return result;
}, },
@ -188,13 +188,13 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get networkState() { get networkState() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).networkState, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).networkState, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'networkState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'networkState', arguments, result);
return result; return result;
}, },
get onencrypted() { get onencrypted() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onencrypted, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onencrypted, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'onencrypted', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'onencrypted', arguments, result);
return result; return result;
}, },
@ -205,7 +205,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get onwaitingforkey() { get onwaitingforkey() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwaitingforkey, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwaitingforkey, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'onwaitingforkey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'onwaitingforkey', arguments, result);
return result; return result;
}, },
@ -222,7 +222,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get paused() { get paused() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).paused, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).paused, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'paused', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'paused', arguments, result);
return result; return result;
}, },
@ -234,7 +234,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get playbackRate() { get playbackRate() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).playbackRate, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).playbackRate, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'playbackRate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'playbackRate', arguments, result);
return result; return result;
}, },
@ -245,13 +245,13 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get played() { get played() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).played, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).played, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'played', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'played', arguments, result);
return result; return result;
}, },
get preload() { get preload() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).preload, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).preload, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'preload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'preload', arguments, result);
return result; return result;
}, },
@ -262,7 +262,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get preservesPitch() { get preservesPitch() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).preservesPitch, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).preservesPitch, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'preservesPitch', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'preservesPitch', arguments, result);
return result; return result;
}, },
@ -273,25 +273,25 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get readyState() { get readyState() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'readyState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'readyState', arguments, result);
return result; return result;
}, },
get remote() { get remote() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).remote, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).remote, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'remote', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'remote', arguments, result);
return result; return result;
}, },
get seekable() { get seekable() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).seekable, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).seekable, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'seekable', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'seekable', arguments, result);
return result; return result;
}, },
get seeking() { get seeking() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).seeking, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).seeking, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'seeking', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'seeking', arguments, result);
return result; return result;
}, },
@ -303,13 +303,13 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get sinkId() { get sinkId() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sinkId, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sinkId, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'sinkId', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'sinkId', arguments, result);
return result; return result;
}, },
get src() { get src() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).src, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'src', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'src', arguments, result);
return result; return result;
}, },
@ -320,7 +320,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get srcObject() { get srcObject() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).srcObject, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).srcObject, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'srcObject', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'srcObject', arguments, result);
return result; return result;
}, },
@ -331,13 +331,13 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get textTracks() { get textTracks() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).textTracks, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).textTracks, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'textTracks', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'textTracks', arguments, result);
return result; return result;
}, },
get volume() { get volume() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).volume, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).volume, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'volume', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'volume', arguments, result);
return result; return result;
}, },
@ -348,7 +348,7 @@ HTMLMediaElement = function HTMLMediaElement(createObj_key) {//构造函数
}, },
get webkitAudioDecodedByteCount() { get webkitAudioDecodedByteCount() {
if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMediaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitAudioDecodedByteCount, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitAudioDecodedByteCount, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'webkitAudioDecodedByteCount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMediaElement', 'webkitAudioDecodedByteCount', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ HTMLMetaElement = function HTMLMetaElement(createObj_key) {
get content() { get content() {
if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).content, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).content, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'content', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'content', arguments, result);
return result; return result;
}, },
@ -24,7 +24,7 @@ HTMLMetaElement = function HTMLMetaElement(createObj_key) {
}, },
get httpEquiv() { get httpEquiv() {
if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).httpEquiv, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).httpEquiv, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'httpEquiv', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'httpEquiv', arguments, result);
return result; return result;
}, },
@ -35,7 +35,7 @@ HTMLMetaElement = function HTMLMetaElement(createObj_key) {
}, },
get media() { get media() {
if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).media, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).media, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'media', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'media', arguments, result);
return result; return result;
}, },
@ -46,7 +46,7 @@ HTMLMetaElement = function HTMLMetaElement(createObj_key) {
}, },
get name() { get name() {
if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).name, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'name', arguments, result);
return result; return result;
}, },
@ -57,7 +57,7 @@ HTMLMetaElement = function HTMLMetaElement(createObj_key) {
}, },
get scheme() { get scheme() {
if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLMetaElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).scheme, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).scheme, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'scheme', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLMetaElement', 'scheme', arguments, result);
return result; return result;
}, },

View File

@ -15,7 +15,7 @@ HTMLTitleElement = function HTMLTitleElement(createObj_key) {//构造函数
HTMLTitleElement.prototype = { HTMLTitleElement.prototype = {
get text() { get text() {
if (!HTMLTitleElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); } if (!HTMLTitleElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }
let result = lwVm.abs(lwVm.memory.private_data.get(this).text, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).text, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLTitleElement', 'text', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLTitleElement', 'text', arguments, result);
return result; return result;
}, },

View File

@ -25,7 +25,7 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get disablePictureInPicture() { get disablePictureInPicture() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).disablePictureInPicture, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).disablePictureInPicture, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'disablePictureInPicture', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'disablePictureInPicture', arguments, result);
return result; return result;
}, },
@ -42,7 +42,7 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get height() { get height() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).height, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).height, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'height', arguments, result);
return result; return result;
}, },
@ -53,7 +53,7 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get onenterpictureinpicture() { get onenterpictureinpicture() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onenterpictureinpicture, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onenterpictureinpicture, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'onenterpictureinpicture', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'onenterpictureinpicture', arguments, result);
return result; return result;
}, },
@ -64,7 +64,7 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get onleavepictureinpicture() { get onleavepictureinpicture() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onleavepictureinpicture, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onleavepictureinpicture, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'onleavepictureinpicture', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'onleavepictureinpicture', arguments, result);
return result; return result;
}, },
@ -75,7 +75,7 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get playsInline() { get playsInline() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).playsInline, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).playsInline, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'playsInline', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'playsInline', arguments, result);
return result; return result;
}, },
@ -86,7 +86,7 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get poster() { get poster() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).poster, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).poster, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'poster', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'poster', arguments, result);
return result; return result;
}, },
@ -109,31 +109,31 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get videoHeight() { get videoHeight() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).videoHeight, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).videoHeight, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'videoHeight', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'videoHeight', arguments, result);
return result; return result;
}, },
get videoWidth() { get videoWidth() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).videoWidth, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).videoWidth, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'videoWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'videoWidth', arguments, result);
return result; return result;
}, },
get webkitDecodedFrameCount() { get webkitDecodedFrameCount() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitDecodedFrameCount, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitDecodedFrameCount, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitDecodedFrameCount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitDecodedFrameCount', arguments, result);
return result; return result;
}, },
get webkitDisplayingFullscreen() { get webkitDisplayingFullscreen() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitDisplayingFullscreen, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitDisplayingFullscreen, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitDisplayingFullscreen', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitDisplayingFullscreen', arguments, result);
return result; return result;
}, },
get webkitDroppedFrameCount() { get webkitDroppedFrameCount() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitDroppedFrameCount, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitDroppedFrameCount, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitDroppedFrameCount', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitDroppedFrameCount', arguments, result);
return result; return result;
}, },
@ -163,13 +163,13 @@ HTMLVideoElement = function HTMLVideoElement(createObj_key) {//构造函数
}, },
get webkitSupportsFullscreen() { get webkitSupportsFullscreen() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitSupportsFullscreen, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).webkitSupportsFullscreen, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitSupportsFullscreen', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'webkitSupportsFullscreen', arguments, result);
return result; return result;
}, },
get width() { get width() {
if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HTMLVideoElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).width, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).width, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'width', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HTMLVideoElement', 'width', arguments, result);
return result; return result;
}, },

View File

@ -15,7 +15,7 @@ MediaStream = function MediaStream(createObj_key) {//构造函数
MediaStream.prototype = { MediaStream.prototype = {
get active() { get active() {
if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).active, true);; let result = lwVm.abs(lwVm.memory.private_data.get(this).active, true);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'active', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'active', arguments, result);
return result; return result;
}, },
@ -57,13 +57,13 @@ MediaStream = function MediaStream(createObj_key) {//构造函数
}, },
get id() { get id() {
if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).id, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).id, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'id', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'id', arguments, result);
return result; return result;
}, },
get onactive() { get onactive() {
if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onactive, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onactive, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'onactive', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'onactive', arguments, result);
return result; return result;
}, },
@ -74,7 +74,7 @@ MediaStream = function MediaStream(createObj_key) {//构造函数
}, },
get onaddtrack() { get onaddtrack() {
if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onaddtrack, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onaddtrack, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'onaddtrack', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'onaddtrack', arguments, result);
return result; return result;
}, },
@ -85,7 +85,7 @@ MediaStream = function MediaStream(createObj_key) {//构造函数
}, },
get oninactive() { get oninactive() {
if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oninactive, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oninactive, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'oninactive', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'oninactive', arguments, result);
return result; return result;
}, },
@ -96,7 +96,7 @@ MediaStream = function MediaStream(createObj_key) {//构造函数
}, },
get onremovetrack() { get onremovetrack() {
if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaStream.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onremovetrack, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onremovetrack, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'onremovetrack', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaStream', 'onremovetrack', arguments, result);
return result; return result;
}, },

View File

@ -41,14 +41,14 @@ lwVm.safefunction(Node);
}, },
get baseURI() { get baseURI() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).baseURI, location.href);; let result = lwVm.abs(lwVm.memory.private_data.get(this).baseURI, location.href);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'baseURI', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'baseURI', arguments, result);
return result; return result;
}, },
get childNodes() { get childNodes() {
// debugger; // debugger;
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).childNodes, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).childNodes, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'childNodes', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'childNodes', arguments, result);
return result; return result;
}, },
@ -72,7 +72,7 @@ lwVm.safefunction(Node);
}, },
get firstChild() { get firstChild() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).firstChild, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).firstChild, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'firstChild', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'firstChild', arguments, result);
return result; return result;
}, },
@ -94,7 +94,7 @@ lwVm.safefunction(Node);
}, },
get isConnected() { get isConnected() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).isConnected, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).isConnected, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'isConnected', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'isConnected', arguments, result);
return result; return result;
}, },
@ -118,7 +118,7 @@ lwVm.safefunction(Node);
}, },
get lastChild() { // 返回一个html get lastChild() { // 返回一个html
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).lastChild, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).lastChild, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Node', 'isSameNode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'Node', 'isSameNode', arguments, result);
return result; return result;
}, },
@ -136,14 +136,14 @@ lwVm.safefunction(Node);
}, },
get nextSibling() { get nextSibling() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).nextSibling, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).nextSibling, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'nextSibling', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'nextSibling', arguments, result);
return result; return result;
}, },
get nodeName() { get nodeName() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let node_name = lwVm.htmls_toStringTag(this).toUpperCase(); let node_name = lwVm.htmls_toStringTag(this).toUpperCase();
let result = node_name === 'DOCUMENT' ? '#document' : node_name;; let result = node_name === 'DOCUMENT' ? '#document' : node_name;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'nodeName', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'nodeName', arguments, result);
return result; return result;
}, },
@ -155,7 +155,7 @@ lwVm.safefunction(Node);
}, },
get nodeValue() { get nodeValue() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).nodeValue, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).nodeValue, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'nodeValue', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'nodeValue', arguments, result);
return result; return result;
}, },
@ -172,25 +172,25 @@ lwVm.safefunction(Node);
}, },
get ownerDocument() { get ownerDocument() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'ownerDocument', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'ownerDocument', arguments, result);
return result; return result;
}, },
get parentElement() { get parentElement() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'parentElement', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'parentElement', arguments, result);
return result; return result;
}, },
get parentNode() { get parentNode() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = this;; let result = this;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'parentNode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'parentNode', arguments, result);
return result; return result;
}, },
get previousSibling() { get previousSibling() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'previousSibling', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'previousSibling', arguments, result);
return result; return result;
}, },
@ -208,7 +208,7 @@ lwVm.safefunction(Node);
}, },
get textContent() { get textContent() {
if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Node.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).textContent, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).textContent, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'textContent', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Node', 'textContent', arguments, result);
return result; return result;
}, },

View File

@ -28,20 +28,20 @@ NodeList = function NodeList(createObj_key) {
try{ try{
return this[imdex] return this[imdex]
}catch(error){ }catch(error){
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'NodeList', 'item', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'NodeList', 'item', arguments, result);
return result; return result;
} }
}, },
keys() { keys() {
if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = Object.keys(this);; let result = Object.keys(this);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'NodeList', 'keys', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'NodeList', 'keys', arguments, result);
return result; return result;
}, },
get length() { get length() {
if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NodeList.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).length, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NodeList', 'length', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NodeList', 'length', arguments, result);
return result; return result;
}, },

View File

@ -29,7 +29,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
SVGElement.prototype = { SVGElement.prototype = {
get autofocus() { get autofocus() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).autofocus, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).autofocus, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'autofocus', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'autofocus', arguments, result);
return result; return result;
}, },
@ -46,13 +46,13 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get className() { get className() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).className, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).className, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'className', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'className', arguments, result);
return result; return result;
}, },
get dataset() { get dataset() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).dataset, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).dataset, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'dataset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'dataset', arguments, result);
return result; return result;
}, },
@ -64,7 +64,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get nonce() { get nonce() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).nonce, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).nonce, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'nonce', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'nonce', arguments, result);
return result; return result;
}, },
@ -75,7 +75,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onabort() { get onabort() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onabort', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onabort', arguments, result);
return result; return result;
}, },
@ -86,7 +86,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onanimationend() { get onanimationend() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationend, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationend, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onanimationend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onanimationend', arguments, result);
return result; return result;
}, },
@ -97,7 +97,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onanimationiteration() { get onanimationiteration() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationiteration, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationiteration, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onanimationiteration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onanimationiteration', arguments, result);
return result; return result;
}, },
@ -108,7 +108,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onanimationstart() { get onanimationstart() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationstart, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onanimationstart, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onanimationstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onanimationstart', arguments, result);
return result; return result;
}, },
@ -119,7 +119,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onauxclick() { get onauxclick() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onauxclick, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onauxclick, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onauxclick', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onauxclick', arguments, result);
return result; return result;
}, },
@ -130,7 +130,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onbeforexrselect() { get onbeforexrselect() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforexrselect, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onbeforexrselect, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onbeforexrselect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onbeforexrselect', arguments, result);
return result; return result;
}, },
@ -141,7 +141,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onblur() { get onblur() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onblur, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onblur, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onblur', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onblur', arguments, result);
return result; return result;
}, },
@ -152,7 +152,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oncancel() { get oncancel() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncancel, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncancel, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncancel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncancel', arguments, result);
return result; return result;
}, },
@ -163,7 +163,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oncanplay() { get oncanplay() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplay, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplay, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncanplay', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncanplay', arguments, result);
return result; return result;
}, },
@ -174,7 +174,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oncanplaythrough() { get oncanplaythrough() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplaythrough, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncanplaythrough, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncanplaythrough', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncanplaythrough', arguments, result);
return result; return result;
}, },
@ -185,7 +185,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onchange() { get onchange() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onchange', arguments, result);
return result; return result;
}, },
@ -196,7 +196,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onclick() { get onclick() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onclick, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onclick, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onclick', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onclick', arguments, result);
return result; return result;
}, },
@ -207,7 +207,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onclose() { get onclose() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onclose', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onclose', arguments, result);
return result; return result;
}, },
@ -218,7 +218,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oncontextmenu() { get oncontextmenu() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncontextmenu, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncontextmenu, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncontextmenu', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncontextmenu', arguments, result);
return result; return result;
}, },
@ -229,7 +229,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oncopy() { get oncopy() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncopy, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncopy, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncopy', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncopy', arguments, result);
return result; return result;
}, },
@ -240,7 +240,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oncuechange() { get oncuechange() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncuechange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncuechange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncuechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncuechange', arguments, result);
return result; return result;
}, },
@ -251,7 +251,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oncut() { get oncut() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oncut, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oncut, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncut', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oncut', arguments, result);
return result; return result;
}, },
@ -262,7 +262,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondblclick() { get ondblclick() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondblclick, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondblclick, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondblclick', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondblclick', arguments, result);
return result; return result;
}, },
@ -273,7 +273,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondrag() { get ondrag() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrag, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrag, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondrag', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondrag', arguments, result);
return result; return result;
}, },
@ -284,7 +284,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondragend() { get ondragend() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragend, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragend, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragend', arguments, result);
return result; return result;
}, },
@ -295,7 +295,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondragenter() { get ondragenter() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragenter, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragenter, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragenter', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragenter', arguments, result);
return result; return result;
}, },
@ -306,7 +306,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondragleave() { get ondragleave() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragleave, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragleave, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragleave', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragleave', arguments, result);
return result; return result;
}, },
@ -317,7 +317,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondragover() { get ondragover() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragover, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragover, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragover', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragover', arguments, result);
return result; return result;
}, },
@ -328,7 +328,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondragstart() { get ondragstart() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragstart, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondragstart, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondragstart', arguments, result);
return result; return result;
}, },
@ -339,7 +339,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondrop() { get ondrop() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrop, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondrop, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondrop', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondrop', arguments, result);
return result; return result;
}, },
@ -350,7 +350,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ondurationchange() { get ondurationchange() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondurationchange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondurationchange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondurationchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ondurationchange', arguments, result);
return result; return result;
}, },
@ -361,7 +361,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onemptied() { get onemptied() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onemptied, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onemptied, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onemptied', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onemptied', arguments, result);
return result; return result;
}, },
@ -372,7 +372,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onended() { get onended() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onended, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onended, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onended', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onended', arguments, result);
return result; return result;
}, },
@ -383,7 +383,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onerror() { get onerror() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onerror', arguments, result);
return result; return result;
}, },
@ -394,7 +394,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onfocus() { get onfocus() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onfocus, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onfocus, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onfocus', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onfocus', arguments, result);
return result; return result;
}, },
@ -405,7 +405,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onformdata() { get onformdata() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onformdata, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onformdata, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onformdata', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onformdata', arguments, result);
return result; return result;
}, },
@ -416,7 +416,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ongotpointercapture() { get ongotpointercapture() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ongotpointercapture, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ongotpointercapture, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ongotpointercapture', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ongotpointercapture', arguments, result);
return result; return result;
}, },
@ -427,7 +427,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oninput() { get oninput() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oninput, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oninput, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oninput', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oninput', arguments, result);
return result; return result;
}, },
@ -438,7 +438,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get oninvalid() { get oninvalid() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).oninvalid, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).oninvalid, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oninvalid', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'oninvalid', arguments, result);
return result; return result;
}, },
@ -449,7 +449,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onkeydown() { get onkeydown() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeydown, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeydown, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onkeydown', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onkeydown', arguments, result);
return result; return result;
}, },
@ -460,7 +460,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onkeypress() { get onkeypress() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeypress, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeypress, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onkeypress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onkeypress', arguments, result);
return result; return result;
}, },
@ -471,7 +471,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onkeyup() { get onkeyup() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeyup, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onkeyup, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onkeyup', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onkeyup', arguments, result);
return result; return result;
}, },
@ -482,7 +482,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onload() { get onload() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onload, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onload', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onload', arguments, result);
return result; return result;
}, },
@ -493,7 +493,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onloadeddata() { get onloadeddata() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadeddata, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadeddata, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onloadeddata', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onloadeddata', arguments, result);
return result; return result;
}, },
@ -504,7 +504,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onloadedmetadata() { get onloadedmetadata() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadedmetadata, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadedmetadata, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onloadedmetadata', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onloadedmetadata', arguments, result);
return result; return result;
}, },
@ -515,7 +515,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onloadstart() { get onloadstart() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onloadstart, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onloadstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onloadstart', arguments, result);
return result; return result;
}, },
@ -526,7 +526,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onlostpointercapture() { get onlostpointercapture() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onlostpointercapture, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onlostpointercapture, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onlostpointercapture', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onlostpointercapture', arguments, result);
return result; return result;
}, },
@ -537,7 +537,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onmousedown() { get onmousedown() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousedown, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousedown, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmousedown', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmousedown', arguments, result);
return result; return result;
}, },
@ -548,7 +548,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onmousemove() { get onmousemove() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousemove, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousemove, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmousemove', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmousemove', arguments, result);
return result; return result;
}, },
@ -559,7 +559,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onmouseout() { get onmouseout() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseout, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseout, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmouseout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmouseout', arguments, result);
return result; return result;
}, },
@ -570,7 +570,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onmouseover() { get onmouseover() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseover, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseover, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmouseover', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmouseover', arguments, result);
return result; return result;
}, },
@ -581,7 +581,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onmouseup() { get onmouseup() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseup, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmouseup, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmouseup', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmouseup', arguments, result);
return result; return result;
}, },
@ -592,7 +592,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onmousewheel() { get onmousewheel() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousewheel, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmousewheel, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmousewheel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onmousewheel', arguments, result);
return result; return result;
}, },
@ -603,7 +603,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpaste() { get onpaste() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpaste, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpaste, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpaste', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpaste', arguments, result);
return result; return result;
}, },
@ -614,7 +614,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpause() { get onpause() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpause, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpause, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpause', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpause', arguments, result);
return result; return result;
}, },
@ -625,7 +625,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onplay() { get onplay() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onplay, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onplay, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onplay', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onplay', arguments, result);
return result; return result;
}, },
@ -636,7 +636,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onplaying() { get onplaying() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onplaying, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onplaying, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onplaying', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onplaying', arguments, result);
return result; return result;
}, },
@ -647,7 +647,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointercancel() { get onpointercancel() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointercancel, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointercancel, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointercancel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointercancel', arguments, result);
return result; return result;
}, },
@ -658,7 +658,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointerdown() { get onpointerdown() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerdown, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerdown, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerdown', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerdown', arguments, result);
return result; return result;
}, },
@ -669,7 +669,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointerenter() { get onpointerenter() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerenter, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerenter, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerenter', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerenter', arguments, result);
return result; return result;
}, },
@ -680,7 +680,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointerleave() { get onpointerleave() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerleave, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerleave, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerleave', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerleave', arguments, result);
return result; return result;
}, },
@ -691,7 +691,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointermove() { get onpointermove() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointermove, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointermove, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointermove', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointermove', arguments, result);
return result; return result;
}, },
@ -702,7 +702,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointerout() { get onpointerout() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerout, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerout, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerout', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerout', arguments, result);
return result; return result;
}, },
@ -713,7 +713,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointerover() { get onpointerover() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerover, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerover, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerover', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerover', arguments, result);
return result; return result;
}, },
@ -724,7 +724,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointerrawupdate() { get onpointerrawupdate() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerrawupdate, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerrawupdate, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerrawupdate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerrawupdate', arguments, result);
return result; return result;
}, },
@ -735,7 +735,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onpointerup() { get onpointerup() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerup, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onpointerup, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerup', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onpointerup', arguments, result);
return result; return result;
}, },
@ -746,7 +746,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onprogress() { get onprogress() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onprogress, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onprogress', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onprogress', arguments, result);
return result; return result;
}, },
@ -757,7 +757,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onratechange() { get onratechange() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onratechange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onratechange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onratechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onratechange', arguments, result);
return result; return result;
}, },
@ -768,7 +768,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onreset() { get onreset() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onreset, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onreset, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onreset', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onreset', arguments, result);
return result; return result;
}, },
@ -779,7 +779,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onresize() { get onresize() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onresize, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onresize, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onresize', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onresize', arguments, result);
return result; return result;
}, },
@ -790,7 +790,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onscroll() { get onscroll() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onscroll, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onscroll, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onscroll', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onscroll', arguments, result);
return result; return result;
}, },
@ -801,7 +801,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onsecuritypolicyviolation() { get onsecuritypolicyviolation() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsecuritypolicyviolation, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsecuritypolicyviolation, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onsecuritypolicyviolation', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onsecuritypolicyviolation', arguments, result);
return result; return result;
}, },
@ -812,7 +812,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onseeked() { get onseeked() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeked, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeked, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onseeked', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onseeked', arguments, result);
return result; return result;
}, },
@ -823,7 +823,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onseeking() { get onseeking() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeking, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onseeking, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onseeking', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onseeking', arguments, result);
return result; return result;
}, },
@ -834,7 +834,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onselect() { get onselect() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onselect, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onselect, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onselect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onselect', arguments, result);
return result; return result;
}, },
@ -845,7 +845,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onselectionchange() { get onselectionchange() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectionchange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectionchange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onselectionchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onselectionchange', arguments, result);
return result; return result;
}, },
@ -856,7 +856,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onselectstart() { get onselectstart() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectstart, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onselectstart, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onselectstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onselectstart', arguments, result);
return result; return result;
}, },
@ -867,7 +867,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onslotchange() { get onslotchange() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onslotchange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onslotchange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onslotchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onslotchange', arguments, result);
return result; return result;
}, },
@ -878,7 +878,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onstalled() { get onstalled() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onstalled, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onstalled, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onstalled', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onstalled', arguments, result);
return result; return result;
}, },
@ -889,7 +889,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onsubmit() { get onsubmit() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsubmit, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsubmit, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onsubmit', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onsubmit', arguments, result);
return result; return result;
}, },
@ -900,7 +900,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onsuspend() { get onsuspend() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsuspend, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsuspend, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onsuspend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onsuspend', arguments, result);
return result; return result;
}, },
@ -911,7 +911,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ontimeupdate() { get ontimeupdate() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeupdate, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontimeupdate, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontimeupdate', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontimeupdate', arguments, result);
return result; return result;
}, },
@ -922,7 +922,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ontoggle() { get ontoggle() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontoggle, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontoggle, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontoggle', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontoggle', arguments, result);
return result; return result;
}, },
@ -933,7 +933,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ontransitioncancel() { get ontransitioncancel() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitioncancel, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitioncancel, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitioncancel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitioncancel', arguments, result);
return result; return result;
}, },
@ -944,7 +944,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ontransitionend() { get ontransitionend() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionend, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionend, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitionend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitionend', arguments, result);
return result; return result;
}, },
@ -955,7 +955,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ontransitionrun() { get ontransitionrun() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionrun, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionrun, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitionrun', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitionrun', arguments, result);
return result; return result;
}, },
@ -966,7 +966,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ontransitionstart() { get ontransitionstart() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionstart, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ontransitionstart, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitionstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ontransitionstart', arguments, result);
return result; return result;
}, },
@ -977,7 +977,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onvolumechange() { get onvolumechange() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onvolumechange, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onvolumechange, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onvolumechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onvolumechange', arguments, result);
return result; return result;
}, },
@ -988,7 +988,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onwaiting() { get onwaiting() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwaiting, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwaiting, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwaiting', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwaiting', arguments, result);
return result; return result;
}, },
@ -999,7 +999,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onwebkitanimationend() { get onwebkitanimationend() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationend, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationend, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkitanimationend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkitanimationend', arguments, result);
return result; return result;
}, },
@ -1010,7 +1010,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onwebkitanimationiteration() { get onwebkitanimationiteration() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationiteration, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationiteration, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkitanimationiteration', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkitanimationiteration', arguments, result);
return result; return result;
}, },
@ -1021,7 +1021,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onwebkitanimationstart() { get onwebkitanimationstart() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationstart, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkitanimationstart, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkitanimationstart', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkitanimationstart', arguments, result);
return result; return result;
}, },
@ -1032,7 +1032,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onwebkittransitionend() { get onwebkittransitionend() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkittransitionend, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwebkittransitionend, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkittransitionend', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwebkittransitionend', arguments, result);
return result; return result;
}, },
@ -1043,7 +1043,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get onwheel() { get onwheel() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onwheel, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).onwheel, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwheel', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'onwheel', arguments, result);
return result; return result;
}, },
@ -1054,13 +1054,13 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get ownerSVGElement() { get ownerSVGElement() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ownerSVGElement, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ownerSVGElement, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ownerSVGElement', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'ownerSVGElement', arguments, result);
return result; return result;
}, },
get style() { get style() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).style, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).style, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'style', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'style', arguments, result);
return result; return result;
}, },
@ -1071,7 +1071,7 @@ SVGElement = function SVGElement(createObj_key) {//构造函数
}, },
get tabIndex() { get tabIndex() {
if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).tabIndex, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).tabIndex, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'tabIndex', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGElement', 'tabIndex', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ SVGGraphicsElement = function SVGGraphicsElement(createObj_key) {//构造函数
SVGGraphicsElement.prototype = { SVGGraphicsElement.prototype = {
get farthestViewportElement() { get farthestViewportElement() {
if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).farthestViewportElement, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).farthestViewportElement, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'farthestViewportElement', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'farthestViewportElement', arguments, result);
return result; return result;
}, },
@ -37,25 +37,25 @@ SVGGraphicsElement = function SVGGraphicsElement(createObj_key) {//构造函数
}, },
get nearestViewportElement() { get nearestViewportElement() {
if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).nearestViewportElement, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).nearestViewportElement, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'nearestViewportElement', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'nearestViewportElement', arguments, result);
return result; return result;
}, },
get requiredExtensions() { get requiredExtensions() {
if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).requiredExtensions, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).requiredExtensions, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'requiredExtensions', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'requiredExtensions', arguments, result);
return result; return result;
}, },
get systemLanguage() { get systemLanguage() {
if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).systemLanguage, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).systemLanguage, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'systemLanguage', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'systemLanguage', arguments, result);
return result; return result;
}, },
get transform() { get transform() {
if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!SVGGraphicsElement.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).transform, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).transform, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'transform', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'SVGGraphicsElement', 'transform', arguments, result);
return result; return result;
}, },

View File

@ -14,7 +14,7 @@ Text = function Text(wholeText) {
Text.prototype = { Text.prototype = {
get assignedSlot() { get assignedSlot() {
if (!Text.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Text.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).assignedSlot, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).assignedSlot, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Text', 'assignedSlot', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Text', 'assignedSlot', arguments, result);
return result; return result;
}, },

View File

@ -440,7 +440,7 @@ WebGLRenderingContext = function WebGLRenderingContext(createObj_key, canvas) {/
}, },
get canvas() { get canvas() {
if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).canvas;; let result = lwVm.memory.private_data.get(this).canvas;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'WebGLRenderingContext', 'canvas', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'WebGLRenderingContext', 'canvas', arguments, result);
return result; return result;
}, },
@ -638,13 +638,13 @@ WebGLRenderingContext = function WebGLRenderingContext(createObj_key, canvas) {/
}, },
get drawingBufferHeight() { get drawingBufferHeight() {
if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 150;; let result = 150;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'WebGLRenderingContext', 'drawingBufferHeight', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'WebGLRenderingContext', 'drawingBufferHeight', arguments, result);
return result; return result;
}, },
get drawingBufferWidth() { get drawingBufferWidth() {
if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!WebGLRenderingContext.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 300;; let result = 300;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'WebGLRenderingContext', 'drawingBufferWidth', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'WebGLRenderingContext', 'drawingBufferWidth', arguments, result);
return result; return result;
}, },
@ -771,7 +771,7 @@ WebGLRenderingContext = function WebGLRenderingContext(createObj_key, canvas) {/
default: default:
break break
} }
let result = ele;; let result = ele;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'WebGLRenderingContext', 'getParameter', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Func', 'WebGLRenderingContext', 'getParameter', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ CustomEvent = function CustomEvent(createObj_key) {
CustomEvent.prototype = { CustomEvent.prototype = {
get detail() { get detail() {
if (!CustomEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CustomEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).detail, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).detail, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CustomEvent', 'detail', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CustomEvent', 'detail', arguments, result);
return result; return result;
}, },

View File

@ -1,15 +1,22 @@
/* Event = function Event(type, ...args) {//构造函数
Event: if (new.target !== Event) throw new TypeError(`Failed to construct 'Event': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`)
UIEvent:
MouseEvent:
PointerEvent
*/
Event = function Event(createObj_key) {//构造函数 lwVm.protectAddIsTrusted(this);
if (createObj_key !== lwVm.memory.$createObj_key) { lwVm.memory.private_data.set(this, {
throw new TypeError("Illegal constructor"); bubbles: false,
} cancelBubble: false,
lwVm.memory.private_data.set(this, {}) cancelable: false,
composed: false,
currentTarget: null,
defaultPrevented: false,
eventPhase: 0,
path: [],
returnValue: true,
srcElement: null,
target: null,
timeStamp: 0,
type: type.toLowerCase(),
});
}; lwVm.safefunction(Event); }; lwVm.safefunction(Event);
; (function () { ; (function () {
@ -26,13 +33,13 @@ Event = function Event(createObj_key) {//构造函数
Event.prototype = { Event.prototype = {
get bubbles() { get bubbles() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).bubbles, false);; let result = lwVm.memory.private_data.get(this).bubbles;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'bubbles', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'bubbles', arguments, result);
return result; return result;
}, },
get cancelBubble() { get cancelBubble() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).cancelBubble, false);; let result = lwVm.memory.private_data.get(this).cancelBubble;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'cancelBubble', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'cancelBubble', arguments, result);
return result; return result;
}, },
@ -43,13 +50,13 @@ Event = function Event(createObj_key) {//构造函数
}, },
get cancelable() { get cancelable() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).cancelable, false);; let result = lwVm.memory.private_data.get(this).cancelable;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'cancelable', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'cancelable', arguments, result);
return result; return result;
}, },
get composed() { get composed() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).composed, false);; let result = lwVm.memory.private_data.get(this).composed;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'composed', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'composed', arguments, result);
return result; return result;
}, },
@ -61,19 +68,19 @@ Event = function Event(createObj_key) {//构造函数
}, },
get currentTarget() { get currentTarget() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).currentTarget, null);; let result = lwVm.memory.private_data.get(this).currentTarget;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'currentTarget', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'currentTarget', arguments, result);
return result; return result;
}, },
get defaultPrevented() { get defaultPrevented() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).defaultPrevented, false);; let result = lwVm.memory.private_data.get(this).defaultPrevented;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'defaultPrevented', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'defaultPrevented', arguments, result);
return result; return result;
}, },
get eventPhase() { get eventPhase() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).eventPhase, 0);; let result = lwVm.memory.private_data.get(this).eventPhase;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'eventPhase', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'eventPhase', arguments, result);
return result; return result;
}, },
@ -85,7 +92,7 @@ Event = function Event(createObj_key) {//构造函数
}, },
get path() { get path() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = [];; let result = [];
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'path', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'path', arguments, result);
return result; return result;
}, },
@ -97,7 +104,7 @@ Event = function Event(createObj_key) {//构造函数
}, },
get returnValue() { get returnValue() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).returnValue, true);; let result = lwVm.memory.private_data.get(this).returnValue;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'returnValue', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'returnValue', arguments, result);
return result; return result;
}, },
@ -108,7 +115,7 @@ Event = function Event(createObj_key) {//构造函数
}, },
get srcElement() { get srcElement() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).srcElement, null);; let result = lwVm.memory.private_data.get(this).srcElement;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'srcElement', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'srcElement', arguments, result);
return result; return result;
}, },
@ -126,19 +133,19 @@ Event = function Event(createObj_key) {//构造函数
}, },
get target() { get target() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).target, null);; let result = lwVm.memory.private_data.get(this).target;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'target', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'target', arguments, result);
return result; return result;
}, },
get timeStamp() { get timeStamp() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).timeStamp, 2778.600000023842);; let result = lwVm.memory.private_data.get(this).timeStamp;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'timeStamp', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'Event', 'timeStamp', arguments, result);
return result; return result;
}, },
get type() { get type() {
if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!Event.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
return lwVm.abs(lwVm.memory.private_data.get(this).type, ""); return lwVm.memory.private_data.get(this).type;
} }
}; };

View File

@ -21,25 +21,25 @@ KeyboardEvent = function KeyboardEvent(createObj_key) {
KeyboardEvent.prototype = { KeyboardEvent.prototype = {
get altKey() { get altKey() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).altKey, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).altKey, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'altKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'altKey', arguments, result);
return result; return result;
}, },
get charCode() { get charCode() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).charCode, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).charCode, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'charCode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'charCode', arguments, result);
return result; return result;
}, },
get code() { get code() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).code, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).code, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'code', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'code', arguments, result);
return result; return result;
}, },
get ctrlKey() { get ctrlKey() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ctrlKey, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).ctrlKey, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'ctrlKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'ctrlKey', arguments, result);
return result; return result;
}, },
@ -57,37 +57,37 @@ KeyboardEvent = function KeyboardEvent(createObj_key) {
}, },
get isComposing() { get isComposing() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).isComposing, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).isComposing, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'isComposing', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'isComposing', arguments, result);
return result; return result;
}, },
get key() { get key() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).key, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).key, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'key', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'key', arguments, result);
return result; return result;
}, },
get keyCode() { get keyCode() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).keyCode, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).keyCode, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'keyCode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'keyCode', arguments, result);
return result; return result;
}, },
get location() { get location() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).location, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).location, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'location', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'location', arguments, result);
return result; return result;
}, },
get metaKey() { get metaKey() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).metaKey, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).metaKey, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'metaKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'metaKey', arguments, result);
return result; return result;
}, },
get repeat() { get repeat() {
if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!KeyboardEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).repeat, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).repeat, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'repeat', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'KeyboardEvent', 'repeat', arguments, result);
return result; return result;
}, },

View File

@ -17,13 +17,13 @@ MediaEncryptedEvent = function MediaEncryptedEvent(type) {
MediaEncryptedEvent.prototype = { MediaEncryptedEvent.prototype = {
get initData() { get initData() {
if (!MediaEncryptedEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaEncryptedEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).initData, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).initData, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaEncryptedEvent', 'initData', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaEncryptedEvent', 'initData', arguments, result);
return result; return result;
}, },
get initDataType() { get initDataType() {
if (!MediaEncryptedEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaEncryptedEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).initDataType, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).initDataType, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaEncryptedEvent', 'initDataType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaEncryptedEvent', 'initDataType', arguments, result);
return result; return result;
}, },

View File

@ -1,8 +1,48 @@
MouseEvent = function MouseEvent(createObj_key) {//构造函数 MouseEvent = function MouseEvent(type, ...args) {//构造函数
if (createObj_key !== lwVm.memory.$createObj_key) { if (new.target !== MouseEvent) throw new TypeError(`Failed to construct 'MouseEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`)
throw new TypeError("Illegal constructor"); lwVm.protectAddIsTrusted(this);
} lwVm.memory.private_data.set(this, {
lwVm.memory.private_data.set(this, {}) altKey: false,
bubbles: false,
button: 0,
buttons: 0,
cancelBubble: false,
cancelable: false,
clientX: 0,
clientY: 0,
composed: false,
ctrlKey: false,
currentTarget: null,
defaultPrevented: false,
detail: 0,
eventPhase: 0,
fromElement: null,
layerX: 0,
layerY: 0,
metaKey: false,
movementX: 0,
movementY: 0,
offsetX: 0,
offsetY: 0,
pageX: 0,
pageY: 0,
path: [],
relatedTarget: null,
returnValue: true,
screenX: 0,
screenY: 0,
shiftKey: false,
sourceCapabilities: null,
srcElement: null,
target: null,
timeStamp: performance.now(),
toElement: null,
type: type.toLowerCase(),
view: null,
which: 1,
x: 0,
y: 0,
})
}; lwVm.safefunction(MouseEvent); }; lwVm.safefunction(MouseEvent);
; (function () { ; (function () {
@ -16,43 +56,43 @@ MouseEvent = function MouseEvent(createObj_key) {//构造函数
MouseEvent.prototype = { MouseEvent.prototype = {
get altKey() { get altKey() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).altKey, "");; let result = lwVm.memory.private_data.get(this).altKey;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'altKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'altKey', arguments, result);
return result; return result;
}, },
get button() { get button() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).button, "");; let result = lwVm.memory.private_data.get(this).button;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'button', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'button', arguments, result);
return result; return result;
}, },
get buttons() { get buttons() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).buttons, "");; let result = lwVm.memory.private_data.get(this).buttons;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'buttons', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'buttons', arguments, result);
return result; return result;
}, },
get clientX() { get clientX() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).clientX, "");; let result = lwVm.memory.private_data.get(this).clientX;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'clientX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'clientX', arguments, result);
return result; return result;
}, },
get clientY() { get clientY() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).clientY, "");; let result = lwVm.memory.private_data.get(this).clientY;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'clientY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'clientY', arguments, result);
return result; return result;
}, },
get ctrlKey() { get ctrlKey() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ctrlKey, "");; let result = lwVm.memory.private_data.get(this).ctrlKey;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'ctrlKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'ctrlKey', arguments, result);
return result; return result;
}, },
get fromElement() { get fromElement() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).fromElement, "");; let result = lwVm.memory.private_data.get(this).fromElement;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'fromElement', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'fromElement', arguments, result);
return result; return result;
}, },
@ -70,97 +110,97 @@ MouseEvent = function MouseEvent(createObj_key) {//构造函数
}, },
get layerX() { get layerX() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).layerX, "");; let result = lwVm.memory.private_data.get(this).layerX;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'layerX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'layerX', arguments, result);
return result; return result;
}, },
get layerY() { get layerY() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).layerY, "");; let result = lwVm.memory.private_data.get(this).layerY;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'layerY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'layerY', arguments, result);
return result; return result;
}, },
get metaKey() { get metaKey() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).metaKey, "");; let result = lwVm.memory.private_data.get(this).metaKey;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'metaKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'metaKey', arguments, result);
return result; return result;
}, },
get movementX() { get movementX() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).movementX, "");; let result = lwVm.memory.private_data.get(this).movementX;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'movementX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'movementX', arguments, result);
return result; return result;
}, },
get movementY() { get movementY() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).movementY, "");; let result = lwVm.memory.private_data.get(this).movementY;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'movementY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'movementY', arguments, result);
return result; return result;
}, },
get offsetX() { get offsetX() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).offsetX, "");; let result = lwVm.memory.private_data.get(this).offsetX;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'offsetX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'offsetX', arguments, result);
return result; return result;
}, },
get offsetY() { get offsetY() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).offsetY, "");; let result = lwVm.memory.private_data.get(this).offsetY;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'offsetY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'offsetY', arguments, result);
return result; return result;
}, },
get pageX() { get pageX() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pageX, "");; let result = lwVm.memory.private_data.get(this).pageX;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'pageX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'pageX', arguments, result);
return result; return result;
}, },
get pageY() { get pageY() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pageY, "");; let result = lwVm.memory.private_data.get(this).pageY;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'pageY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'pageY', arguments, result);
return result; return result;
}, },
get relatedTarget() { get relatedTarget() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).relatedTarget, "");; let result = lwVm.memory.private_data.get(this).relatedTarget;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'relatedTarget', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'relatedTarget', arguments, result);
return result; return result;
}, },
get screenX() { get screenX() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).screenX, "");; let result = lwVm.memory.private_data.get(this).screenX;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'screenX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'screenX', arguments, result);
return result; return result;
}, },
get screenY() { get screenY() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).screenY, "");; let result = lwVm.memory.private_data.get(this).screenY;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'screenY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'screenY', arguments, result);
return result; return result;
}, },
get shiftKey() { get shiftKey() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).shiftKey, "");; let result = lwVm.memory.private_data.get(this).shiftKey;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'shiftKey', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'shiftKey', arguments, result);
return result; return result;
}, },
get toElement() { get toElement() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).toElement, "");; let result = lwVm.memory.private_data.get(this).toElement;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'toElement', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'toElement', arguments, result);
return result; return result;
}, },
get x() { get x() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).x, "");; let result = lwVm.memory.private_data.get(this).x;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'x', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MouseEvent', 'x', arguments, result);
return result; return result;
}, },
get y() { get y() {
if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MouseEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
return lwVm.abs(lwVm.memory.private_data.get(this).y, ""); return lwVm.memory.private_data.get(this).y;
} }
} }

View File

@ -19,13 +19,13 @@ MutationEvent = function MutationEvent(createObj_key) {
MutationEvent.prototype = { MutationEvent.prototype = {
get attrChange() { get attrChange() {
if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0;; let result = 0;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'attrChange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'attrChange', arguments, result);
return result; return result;
}, },
get attrName() { get attrName() {
if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = "";; let result = "";
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'attrName', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'attrName', arguments, result);
return result; return result;
}, },
@ -37,19 +37,19 @@ MutationEvent = function MutationEvent(createObj_key) {
}, },
get newValue() { get newValue() {
if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = "";; let result = "";
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'newValue', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'newValue', arguments, result);
return result; return result;
}, },
get prevValue() { get prevValue() {
if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = "";; let result = "";
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'prevValue', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'prevValue', arguments, result);
return result; return result;
}, },
get relatedNode() { get relatedNode() {
if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MutationEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = null;; let result = null;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'relatedNode', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MutationEvent', 'relatedNode', arguments, result);
return result; return result;
}, },

View File

@ -1,8 +1,7 @@
PointerEvent = function PointerEvent(createObj_key) {//构造函数 PointerEvent = function PointerEvent(type, ...args) {//构造函数
if (createObj_key !== lwVm.memory.$createObj_key) { if (new.target !== PointerEvent) throw new TypeError(`Failed to construct 'PointerEvent': Please use the 'new' operator, this DOM object constructor cannot be called as a function.`)
throw new TypeError("Illegal constructor"); lwVm.protectAddIsTrusted(this);
} lwVm.memory.private_data.set(this, { })
lwVm.memory.private_data.set(this, {})
}; lwVm.safefunction(PointerEvent); }; lwVm.safefunction(PointerEvent);
; (function () { ; (function () {
@ -13,13 +12,13 @@ PointerEvent = function PointerEvent(createObj_key) {//构造函数
PointerEvent.prototype = { PointerEvent.prototype = {
get altitudeAngle() { get altitudeAngle() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).altitudeAngle, "");; let result = lwVmlwVm.memory.private_data.get(this).altitudeAnglelwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'altitudeAngle', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'altitudeAngle', arguments, result);
return result; return result;
}, },
get azimuthAngle() { get azimuthAngle() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).azimuthAngle, "");; let result = lwVmlwVm.memory.private_data.get(this).azimuthAnglelwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'azimuthAngle', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'azimuthAngle', arguments, result);
return result; return result;
}, },
@ -37,61 +36,61 @@ PointerEvent = function PointerEvent(createObj_key) {//构造函数
}, },
get height() { get height() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).height, "");; let result = lwVmlwVm.memory.private_data.get(this).heightlwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'height', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'height', arguments, result);
return result; return result;
}, },
get isPrimary() { get isPrimary() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).isPrimary, "");; let result = lwVmlwVm.memory.private_data.get(this).isPrimarylwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'isPrimary', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'isPrimary', arguments, result);
return result; return result;
}, },
get pointerId() { get pointerId() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pointerId, "");; let result = lwVmlwVm.memory.private_data.get(this).pointerIdlwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'pointerId', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'pointerId', arguments, result);
return result; return result;
}, },
get pointerType() { get pointerType() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pointerType, "");; let result = lwVmlwVm.memory.private_data.get(this).pointerTypelwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'pointerType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'pointerType', arguments, result);
return result; return result;
}, },
get pressure() { get pressure() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).pressure, "");; let result = lwVmlwVm.memory.private_data.get(this).pressurelwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'pressure', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'pressure', arguments, result);
return result; return result;
}, },
get tangentialPressure() { get tangentialPressure() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).tangentialPressure, "");; let result = lwVmlwVm.memory.private_data.get(this).tangentialPressurelwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'tangentialPressure', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'tangentialPressure', arguments, result);
return result; return result;
}, },
get tiltX() { get tiltX() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).tiltX, "");; let result = lwVmlwVm.memory.private_data.get(this).tiltXlwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'tiltX', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'tiltX', arguments, result);
return result; return result;
}, },
get tiltY() { get tiltY() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).tiltY, "");; let result = lwVmlwVm.memory.private_data.get(this).tiltYlwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'tiltY', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'tiltY', arguments, result);
return result; return result;
}, },
get twist() { get twist() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).twist, "");; let result = lwVmlwVm.memory.private_data.get(this).twistlwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'twist', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'twist', arguments, result);
return result; return result;
}, },
get width() { get width() {
if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!PointerEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).width, "");; let result = lwVmlwVm.memory.private_data.get(this).widthlwVm;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'width', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'PointerEvent', 'width', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ TextEvent = function TextEvent(createObj_key) {
TextEvent.prototype = { TextEvent.prototype = {
get data() { get data() {
if (!TextEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!TextEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).data, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).data, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'TextEvent', 'data', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'TextEvent', 'data', arguments, result);
return result; return result;
}, },

View File

@ -13,7 +13,7 @@ UIEvent = function UIEvent(createObj_key) {//构造函数
UIEvent.prototype = { UIEvent.prototype = {
get detail() { get detail() {
if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).detail, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).detail, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UIEvent', 'detail', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UIEvent', 'detail', arguments, result);
return result; return result;
}, },
@ -25,13 +25,13 @@ UIEvent = function UIEvent(createObj_key) {//构造函数
}, },
get sourceCapabilities() { get sourceCapabilities() {
if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).sourceCapabilities, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).sourceCapabilities, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UIEvent', 'sourceCapabilities', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UIEvent', 'sourceCapabilities', arguments, result);
return result; return result;
}, },
get view() { get view() {
if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!UIEvent.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).view, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).view, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UIEvent', 'view', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'UIEvent', 'view', arguments, result);
return result; return result;
}, },

View File

@ -31,7 +31,7 @@ CookieStore = function CookieStore(createObj_key) {
}, },
get onchange() { get onchange() {
if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!CookieStore.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CookieStore', 'onchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'CookieStore', 'onchange', arguments, result);
return result; return result;
}, },

View File

@ -19,7 +19,7 @@ HID = function HID(createObj_key) {
}, },
get onconnect() { get onconnect() {
if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onconnect, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onconnect, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HID', 'onconnect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HID', 'onconnect', arguments, result);
return result; return result;
}, },
@ -30,7 +30,7 @@ HID = function HID(createObj_key) {
}, },
get ondisconnect() { get ondisconnect() {
if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!HID.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondisconnect, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondisconnect, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HID', 'ondisconnect', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'HID', 'ondisconnect', arguments, result);
return result; return result;
}, },

View File

@ -34,19 +34,19 @@ IDBDatabase = function IDBDatabase(createObj_key, name, version) {
}, },
get name() { get name() {
if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.memory.private_data.get(this).name;; let result = lwVm.memory.private_data.get(this).name;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'name', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'name', arguments, result);
return result; return result;
}, },
get objectStoreNames() { get objectStoreNames() {
if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).objectStoreNames, "");; let result = lwVm.abs(lwVm.memory.private_data.get(this).objectStoreNames, "");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'objectStoreNames', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'objectStoreNames', arguments, result);
return result; return result;
}, },
get onabort() { get onabort() {
if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onabort, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onabort', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onabort', arguments, result);
return result; return result;
}, },
@ -57,7 +57,7 @@ IDBDatabase = function IDBDatabase(createObj_key, name, version) {
}, },
get onclose() { get onclose() {
if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onclose);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onclose', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onclose', arguments, result);
return result; return result;
}, },
@ -68,7 +68,7 @@ IDBDatabase = function IDBDatabase(createObj_key, name, version) {
}, },
get onerror() { get onerror() {
if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onerror', arguments, result);
return result; return result;
}, },
@ -79,7 +79,7 @@ IDBDatabase = function IDBDatabase(createObj_key, name, version) {
}, },
get onversionchange() { get onversionchange() {
if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBDatabase.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onversionchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onversionchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onversionchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBDatabase', 'onversionchange', arguments, result);
return result; return result;
}, },

View File

@ -16,13 +16,13 @@ IDBRequest = function IDBRequest(createObj_key, name, version) {
IDBRequest.prototype = { IDBRequest.prototype = {
get error() { get error() {
if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).error, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).error, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'error', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'error', arguments, result);
return result; return result;
}, },
get onerror() { get onerror() {
if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onerror, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'onerror', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'onerror', arguments, result);
return result; return result;
}, },
@ -33,7 +33,7 @@ IDBRequest = function IDBRequest(createObj_key, name, version) {
}, },
get onsuccess() { get onsuccess() {
if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onsuccess, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onsuccess, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'onsuccess', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'onsuccess', arguments, result);
return result; return result;
}, },
@ -44,7 +44,7 @@ IDBRequest = function IDBRequest(createObj_key, name, version) {
}, },
get readyState() { get readyState() {
if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "done");; let result = lwVm.abs(lwVm.memory.private_data.get(this).readyState, "done");
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'readyState', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'readyState', arguments, result);
return result; return result;
}, },
@ -53,13 +53,13 @@ IDBRequest = function IDBRequest(createObj_key, name, version) {
let info = lwVm.memory.private_data.get(this); let info = lwVm.memory.private_data.get(this);
let name = info.name, version = info.version; let name = info.name, version = info.version;
let result = new IDBDatabase(lwVm.memory.$createObj_key, name, version);; let result = new IDBDatabase(lwVm.memory.$createObj_key, name, version);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'result', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'result', arguments, result);
return result; return result;
}, },
get source() { get source() {
if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!IDBRequest.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).source, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).source, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'source', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'IDBRequest', 'source', arguments, result);
return result; return result;
}, },

View File

@ -37,7 +37,7 @@ MediaDevices = function MediaDevices(createObj_key) {
}, },
get ondevicechange() { get ondevicechange() {
if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!MediaDevices.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).ondevicechange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).ondevicechange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaDevices', 'ondevicechange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'MediaDevices', 'ondevicechange', arguments, result);
return result; return result;
}, },

View File

@ -19,7 +19,7 @@ NavigatorManagedData = function NavigatorManagedData(createObj_key) {
}, },
get onmanagedconfigurationchange() { get onmanagedconfigurationchange() {
if (!NavigatorManagedData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NavigatorManagedData.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onmanagedconfigurationchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onmanagedconfigurationchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NavigatorManagedData', 'onmanagedconfigurationchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NavigatorManagedData', 'onmanagedconfigurationchange', arguments, result);
return result; return result;
}, },

View File

@ -13,19 +13,19 @@ NetworkInformation = function NetworkInformation(createObj_key) {
NetworkInformation.prototype = { NetworkInformation.prototype = {
get downlink() { get downlink() {
if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 0.4;; let result = 0.4;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'downlink', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'downlink', arguments, result);
return result; return result;
}, },
get effectiveType() { get effectiveType() {
if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = "4g";; let result = "4g";
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'effectiveType', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'effectiveType', arguments, result);
return result; return result;
}, },
get onchange() { get onchange() {
if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, null);; let result = lwVm.abs(lwVm.memory.private_data.get(this).onchange, null);
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'onchange', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'onchange', arguments, result);
return result; return result;
}, },
@ -36,13 +36,13 @@ NetworkInformation = function NetworkInformation(createObj_key) {
}, },
get rtt() { get rtt() {
if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = 250;; let result = 250;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'rtt', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'rtt', arguments, result);
return result; return result;
}, },
get saveData() { get saveData() {
if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); }; if (!NetworkInformation.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
let result = false;; let result = false;
if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'saveData', arguments, result); if (lwVm.config.logOpen=== true) lwVm.logAdd('Get', 'NetworkInformation', 'saveData', arguments, result);
return result; return result;
}, },

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