boda_jsEnv/bodaEnv/env/HTMLIFrameElement.js
xuxiaobo-bobo 842b34b5ca 0218
2024-02-18 15:40:48 +08:00

338 lines
13 KiB
JavaScript

// HTMLIFrameElement对象
bodaEnv.memory.globlProtoObj["HTMLIFrameElement"] = function HTMLIFrameElement() {
let arg = arguments[0];
if (arg != 'bobo') {
bodaEnv.toolsFunc.console_copy('HTMLIFrameElement 实例化对象 --->', bodaEnv.toolsFunc.stringify_bo(arguments, function (k, v) {
if (v == window) {
return 'window';
} else {
return v;
}
}));
}
;
};
bodaEnv.toolsFunc.safeProto(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"], "HTMLIFrameElement");
bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype.__proto__ = bodaEnv.memory.globlProtoObj["HTMLElement"].prototype;
bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].__proto__ = bodaEnv.memory.globlProtoObj["HTMLElement"];
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "src", {
configurable: true,
enumerable: true,
get: {
src() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "src_get", arguments);
}
}.src,
set: {
src() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "src_set", arguments);
}
}.src
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "srcdoc", {
configurable: true,
enumerable: true,
get: {
srcdoc() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "srcdoc_get", arguments);
}
}.srcdoc,
set: {
srcdoc() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "srcdoc_set", arguments);
}
}.srcdoc
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "name", {
configurable: true,
enumerable: true,
get: {
name() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "name_get", arguments);
}
}.name,
set: {
name() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "name_set", arguments);
}
}.name
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "sandbox", {
configurable: true,
enumerable: true,
get: {
sandbox() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "sandbox_get", arguments);
}
}.sandbox,
set: {
sandbox() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "sandbox_set", arguments);
}
}.sandbox
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "allowFullscreen", {
configurable: true,
enumerable: true,
get: {
allowFullscreen() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "allowFullscreen_get", arguments);
}
}.allowFullscreen,
set: {
allowFullscreen() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "allowFullscreen_set", arguments);
}
}.allowFullscreen
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "width", {
configurable: true,
enumerable: true,
get: {
width() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "width_get", arguments);
}
}.width,
set: {
width() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "width_set", arguments);
}
}.width
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "height", {
configurable: true,
enumerable: true,
get: {
height() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "height_get", arguments);
}
}.height,
set: {
height() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "height_set", arguments);
}
}.height
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "contentDocument", {
configurable: true,
enumerable: true,
get: {
contentDocument() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "contentDocument_get", arguments);
}
}.contentDocument,
set: undefined
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "contentWindow", {
configurable: true,
enumerable: true,
get: {
contentWindow() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "contentWindow_get", arguments);
}
}.contentWindow,
set: undefined
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "referrerPolicy", {
configurable: true,
enumerable: true,
get: {
referrerPolicy() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "referrerPolicy_get", arguments);
}
}.referrerPolicy,
set: {
referrerPolicy() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "referrerPolicy_set", arguments);
}
}.referrerPolicy
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "csp", {
configurable: true,
enumerable: true,
get: {
csp() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "csp_get", arguments);
}
}.csp,
set: {
csp() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "csp_set", arguments);
}
}.csp
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "allow", {
configurable: true,
enumerable: true,
get: {
allow() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "allow_get", arguments);
}
}.allow,
set: {
allow() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "allow_set", arguments);
}
}.allow
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "featurePolicy", {
configurable: true,
enumerable: true,
get: {
featurePolicy() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "featurePolicy_get", arguments);
}
}.featurePolicy,
set: undefined
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "align", {
configurable: true,
enumerable: true,
get: {
align() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "align_get", arguments);
}
}.align,
set: {
align() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "align_set", arguments);
}
}.align
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "scrolling", {
configurable: true,
enumerable: true,
get: {
scrolling() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "scrolling_get", arguments);
}
}.scrolling,
set: {
scrolling() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "scrolling_set", arguments);
}
}.scrolling
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "frameBorder", {
configurable: true,
enumerable: true,
get: {
frameBorder() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "frameBorder_get", arguments);
}
}.frameBorder,
set: {
frameBorder() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "frameBorder_set", arguments);
}
}.frameBorder
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "longDesc", {
configurable: true,
enumerable: true,
get: {
longDesc() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "longDesc_get", arguments);
}
}.longDesc,
set: {
longDesc() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "longDesc_set", arguments);
}
}.longDesc
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "marginHeight", {
configurable: true,
enumerable: true,
get: {
marginHeight() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "marginHeight_get", arguments);
}
}.marginHeight,
set: {
marginHeight() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "marginHeight_set", arguments);
}
}.marginHeight
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "marginWidth", {
configurable: true,
enumerable: true,
get: {
marginWidth() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "marginWidth_get", arguments);
}
}.marginWidth,
set: {
marginWidth() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "marginWidth_set", arguments);
}
}.marginWidth
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "getSVGDocument", {
configurable: true,
enumerable: true,
writable: true,
value: {
getSVGDocument() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "getSVGDocument", arguments);
}
}.getSVGDocument
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "loading", {
configurable: true,
enumerable: true,
get: {
loading() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "loading_get", arguments);
}
}.loading,
set: {
loading() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "loading_set", arguments);
}
}.loading
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "credentialless", {
configurable: true,
enumerable: true,
get: {
credentialless() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "credentialless_get", arguments);
}
}.credentialless,
set: {
credentialless() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "credentialless_set", arguments);
}
}.credentialless
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "allowPaymentRequest", {
configurable: true,
enumerable: true,
get: {
allowPaymentRequest() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "allowPaymentRequest_get", arguments);
}
}.allowPaymentRequest,
set: {
allowPaymentRequest() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "allowPaymentRequest_set", arguments);
}
}.allowPaymentRequest
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "privateToken", {
configurable: true,
enumerable: true,
get: {
privateToken() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "privateToken_get", arguments);
}
}.privateToken,
set: {
privateToken() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLIFrameElement"].prototype, "HTMLIFrameElement", "privateToken_set", arguments);
}
}.privateToken
});