Showing preview only (4,111K chars total). Download the full file or copy to clipboard to get everything.
Repository: bnmgh1/node-sandbox
Branch: main
Commit: e39d2a8e5ca5
Files: 190
Total size: 3.8 MB
Directory structure:
gitextract_v2jkf5ez/
├── .idea/
│ ├── .gitignore
│ ├── inspectionProfiles/
│ │ ├── Project_Default.xml
│ │ └── profiles_settings.xml
│ ├── misc.xml
│ ├── modules.xml
│ ├── node-sandbox.iml
│ └── vcs.xml
├── LICENSE
├── README.md
├── env/
│ ├── ANGLEInstancedArrays.js
│ ├── AnalyserNode.js
│ ├── AudioContext.js
│ ├── AudioListener.js
│ ├── AudioNode.js
│ ├── AudioParam.js
│ ├── AudioScheduledSourceNode.js
│ ├── BarProp.js
│ ├── BaseAudioContext.js
│ ├── BatteryManager.js
│ ├── Blob.js
│ ├── CSSStyleDeclaration.js
│ ├── CSSStyleRule.js
│ ├── CSSStyleSheet.js
│ ├── CanvasGradient.js
│ ├── CanvasRenderingContext2D.js
│ ├── Crypto.js
│ ├── CustomElementRegistry.js
│ ├── CustomEvent.js
│ ├── DOMTokenList.js
│ ├── Database.js
│ ├── DeprecatedStorageInfo.js
│ ├── DeprecatedStorageQuota.js
│ ├── Document.js
│ ├── DocumentType.js
│ ├── DynamicsCompressorNode.js
│ ├── EXTDisjointTimerQuery.js
│ ├── Element.js
│ ├── Event.js
│ ├── External.js
│ ├── GainNode.js
│ ├── HTMLAllCollection.js
│ ├── HTMLAnchorElement.js
│ ├── HTMLAreaElement.js
│ ├── HTMLBRElement.js
│ ├── HTMLBaseElement.js
│ ├── HTMLBodyElement.js
│ ├── HTMLButtonElement.js
│ ├── HTMLCanvasElement.js
│ ├── HTMLCollection.js
│ ├── HTMLDListElement.js
│ ├── HTMLDataElement.js
│ ├── HTMLDataListElement.js
│ ├── HTMLDetailsElement.js
│ ├── HTMLDialogElement.js
│ ├── HTMLDirectoryElement.js
│ ├── HTMLDivElement.js
│ ├── HTMLElement.js
│ ├── HTMLEmbedElement.js
│ ├── HTMLFieldSetElement.js
│ ├── HTMLFontElement.js
│ ├── HTMLFormElement.js
│ ├── HTMLFrameElement.js
│ ├── HTMLFrameSetElement.js
│ ├── HTMLHRElement.js
│ ├── HTMLHeadingElement.js
│ ├── HTMLHtmlElement.js
│ ├── HTMLIFrameElement.js
│ ├── HTMLImageElement.js
│ ├── HTMLInputElement.js
│ ├── HTMLLIElement.js
│ ├── HTMLLabelElement.js
│ ├── HTMLLegendElement.js
│ ├── HTMLLinkElement.js
│ ├── HTMLMapElement.js
│ ├── HTMLMarqueeElement.js
│ ├── HTMLMediaElement.js
│ ├── HTMLMenuElement.js
│ ├── HTMLMetaElement.js
│ ├── HTMLMeterElement.js
│ ├── HTMLModElement.js
│ ├── HTMLOListElement.js
│ ├── HTMLObjectElement.js
│ ├── HTMLOptGroupElement.js
│ ├── HTMLOptionElement.js
│ ├── HTMLOutputElement.js
│ ├── HTMLParagraphElement.js
│ ├── HTMLParamElement.js
│ ├── HTMLPreElement.js
│ ├── HTMLProgressElement.js
│ ├── HTMLQuoteElement.js
│ ├── HTMLScriptElement.js
│ ├── HTMLSelectElement.js
│ ├── HTMLSlotElement.js
│ ├── HTMLSourceElement.js
│ ├── HTMLStyleElement.js
│ ├── HTMLTableCaptionElement.js
│ ├── HTMLTableCellElement.js
│ ├── HTMLTableColElement.js
│ ├── HTMLTableElement.js
│ ├── HTMLTableRowElement.js
│ ├── HTMLTableSectionElement.js
│ ├── HTMLTemplateElement.js
│ ├── HTMLTextAreaElement.js
│ ├── HTMLTimeElement.js
│ ├── HTMLTitleElement.js
│ ├── HTMLTrackElement.js
│ ├── HTMLUListElement.js
│ ├── HTMLVideoElement.js
│ ├── History.js
│ ├── IDBDatabase.js
│ ├── IDBFactory.js
│ ├── IDBObjectStore.js
│ ├── IDBOpenDBRequest.js
│ ├── IDBRequest.js
│ ├── IDBTransaction.js
│ ├── Image.js
│ ├── ImageData.js
│ ├── InputDeviceCapabilities.js
│ ├── MediaEncryptedEvent.js
│ ├── MediaQueryList.js
│ ├── MimeType.js
│ ├── MimeTypeArray.js
│ ├── MouseEvent.js
│ ├── MutationObserver.js
│ ├── MutationRecord.js
│ ├── Navigator.js
│ ├── NavigatorUAData.js
│ ├── NetworkInformation.js
│ ├── Node.js
│ ├── NodeList.js
│ ├── Notification.js
│ ├── OESVertexArrayObject.js
│ ├── OfflineAudioContext.js
│ ├── OffscreenCanvas.js
│ ├── OffscreenCanvasRenderingContext2D.js
│ ├── OscillatorNode.js
│ ├── Path2D.js
│ ├── Performance.js
│ ├── PerformanceEntry.js
│ ├── Plugin.js
│ ├── PluginArray.js
│ ├── PointerEvent.js
│ ├── RTCDataChannel.js
│ ├── RTCIceCandidate.js
│ ├── RTCPeerConnection.js
│ ├── RTCPeerConnectionIceEvent.js
│ ├── RTCSessionDescription.js
│ ├── Request.js
│ ├── Screen.js
│ ├── ScreenOrientation.js
│ ├── SpeechSynthesis.js
│ ├── SpeechSynthesisUtterance.js
│ ├── Storage.js
│ ├── StorageManager.js
│ ├── StyleMedia.js
│ ├── StyleSheet.js
│ ├── Text.js
│ ├── TextMetrics.js
│ ├── TrustedTypePolicyFactory.js
│ ├── UIEvent.js
│ ├── URL.js
│ ├── UserActivation.js
│ ├── VisualViewport.js
│ ├── WebGL2RenderingContext.js
│ ├── WebGLDebugShaders.js
│ ├── WebGLDrawBuffers.js
│ ├── WebGLLoseContext.js
│ ├── WebGLMultiDraw.js
│ ├── WebGLRenderingContext.js
│ ├── WebGLShaderPrecisionFormat.js
│ ├── WebSocket.js
│ ├── Woker.js
│ ├── XMLHttpRequest.js
│ ├── XMLHttpRequestEventTarget.js
│ └── XPathExpression.js
├── main.js
├── ret.html
├── util/
│ ├── cover_construct_function.js
│ ├── cover_function.js
│ ├── end.js
│ ├── globalMy.js
│ ├── init_env.js
│ └── pass_check.js
└── work/
├── ali140.js
├── boss.js
├── jrtt/
│ ├── ac_sign.js
│ └── jrtt.js
├── rsvmp.js
└── zhihu/
├── x81.js
└── zhihu.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .idea/.gitignore
================================================
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
================================================
FILE: .idea/inspectionProfiles/Project_Default.xml
================================================
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N801" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="dict.__setitem__" />
</list>
</option>
</inspection_tool>
<inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>
================================================
FILE: .idea/inspectionProfiles/profiles_settings.xml
================================================
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
================================================
FILE: .idea/misc.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
</project>
================================================
FILE: .idea/modules.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/node-sandbox.iml" filepath="$PROJECT_DIR$/.idea/node-sandbox.iml" />
</modules>
</component>
</project>
================================================
FILE: .idea/node-sandbox.iml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Nosetests" />
</component>
</module>
================================================
FILE: .idea/vcs.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
================================================
FILE: LICENSE
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: README.md
================================================
# 魔改Node Js补环境框架
## 内置对象Utils
Utils是v8对象, 内置了几个重要函数.
1. defineProperty
作用: 重写属性描述符, 即使是configurable为false 也能强行修改然后delete掉. 暂时不支持传入get set, 只能修改成value. mode我详细解释下,
在v8底层READ_ONLY(writable)是1, DONT_ENUM(enumerable)是2, DONT_DELETE(configurable)是4,
所以1|2|4 = 7, mode即7, 也就是所有描述符为false. 0就代表所有描述符都为true.
2. initEnv
作用: 给~~wanfeng~~globalMy下的构造函数设置原型对象.
3. initWindow
作用: 将~~wanfeng~~globalMy下的构造函数定义到window里, 因为构造函数在window里的enumerable描述符为false, 所以不能直接用赋值形式定义在window下. 而用Object.defineProperty耗时太慢了, 所以单独写个方法初始化window.
4. initWorker
作用: 和initWindow同理
5. Error_get_stack
作用: 堆栈拦截, 单js获取报错的stack时, 会先走到这里. 这个不算api~ 不重写则默认不处理.
6. defineIsTrusted
作用: 给事件对象设置isTrusted属性, get事件回调将会走到globalMy.event_get_isTrusted.
7. setImmutableProto
作用: 修改对象的__proto__将会报错
8. setUndetectable
作用: 直接将对象的type设置为undefined, 可能存在bug.
解释下我为什么又用回这个api, 是因为我需要代理document.all对象, 但是这样typeof解决不掉, 所以又用底层api去标记对象, 而不是新建一个对象的时候标记对象为undetectable. 可能存在bug, 谨慎使用, 我暂时没问题. 没需求的直接用new一个xtd对象即可.
9. setNative
作用: 就是将模块下的SetNative移植到了v8层面
10. api例子
```javascript
Utils.definePropery({}, "a", {value: 1, mode: 7});
```
```javascript
Utils.Error_get_stack = function(stack){
console.log(stack)
};
```
```javascript
Utils.defineIsTrusted(event);
```
```javascript
Utils.setImmutableProto(this);
```
## wanfeng
接下来是内置模块, 我将其命名为wanfeng.
所以使用的时候需要require("wanfeng")
1. setNative
作用: ~~给函数套壳, 这样的话就不用考虑函数toString检测问题了.
~~第一个参数是函数, 第二个参数是函数名称, 第三个是否是构造函数. 非构造函数则传false, new 函数将会报错.
第四个参数的函数的length. 返回壳函数.~~
之前保护这样得到的函数会导致无法被回收, 内存一直增加, 所以换了写法...现在只对函数toString进行保护, 其他需要的自行封装, 比如判断是否是new关键字调用, 以及函数长度等... (感谢零点大佬提供的代码)
~~2. DeleteProperty
作用: 强行移除属性, 即使configurable为false也能直接删除. (感谢零点大佬提供的代码)
缺点: 目前我只用在了Promise构造函数删除caller以及arguments属性(底层自带的没有这2个属性), 强制删除可能引发bug, 所以大多时候我用v8底层函数
强制修改描述符之后再用delete关键字进行安全的删除.~~ 有bug, 还是修改描述符delete吧~
3. xtd
作用: 生成一个type为undefined的对象. (感谢泰迪大佬提供的代码)
4. ClearMemory
作用: 通知引擎进行垃圾回收.这将使 V8 尝试执行一次完整的垃圾回收, 并尝试释放未使用的内存. 这样无限创建vm虚拟机也能保持内存占用处在稳定的区间.
4. api例子
```javascript
function a(){}
/* 现在只传函数进去, 然后的话函数的name如果是a ,那么toString就会得到 function a(){ [native code] } */
wanfeng.SetNative(a);
```
```javascript
let undefined_obj = new wanfeng.xtd;
```
```javascript
wanfeng.ClearMemory();
```
## node框架使用说明
1. 以window对象为例, window 获取 window对象时, 会走到 globalMy.window_get_window 这个方法里,我们在这里写方法逻辑。
2. 以document对象为例, document 调用 createElement方法时, 会走到 globalMy.Document_createElement 这个方法里,因为是原型链上的方法,所以是Document
3. 还是以document为例, document 获取 location对象时, 会走到 globalMy.document_get_location 这个方法里, 因为location是直接属于document对象下的。
ps : 核心就是在node底层定义了一层拦截器, 然后最终又走到我们定义的js方法里完成调用. 底层定义的方法不需要考虑toString检测. 而且node设置属性比js的defineProperty快很多.
## js框架简介
1. 因为之前自己写的沙箱太垃圾, 所以没有和node框架做结合. 不过node框架初始化也快, 干脆就直接用jsdom了, 偷懒了.
2. 创建节点对象时, 我会定义一个壳对象来映射jsdom对象达到过检测的目的. 我实现的没有很优雅, 够用就行了
## 注意事项
1. 框架默认重写Promise, 用原生的Promise就不要调用globalMy. rePromise函数即可 (原生的会更好用, 有个库可以直接将异步转同步, 注意node的setTimeout的一些检测就好了...)
2. ~~不要代理任何对象,代理对象调用方法时会直接报错,和浏览器一样的机制。建议在方法调用时打印,像我的js框架一样。~~ 现在可以代理了, 可以自己判断代理对象调用方法时要不要报错.
3. node无法使用正常的vm2模块, 改用vm模块了(不建议用execjs调, 真的很蠢... 持续调用还是建议起服务接口), vm小小的魔改了下, 去掉了一些检测点...
4. 非构造函数的原型对象, 就实现了个别, 比如WindowProperties这种的原型对象。这种会存放在Utils中, 例如Utils.WindowProperties_ptototype。
5. 如果遇到方法没有定义的话, node会挂掉噢...
## 更新说明
2023-03-15
node和js框架代码更新了些许东西, 最新的node处理了一些细节问题, 还有些小bug也解决了.
所以要用新编译的node!!
2023-03-29
后续js框架不更新了, 因为js框架是去年写的, 很多实现的很有问题. setTimeout以及添加事件触发事件都有问题(我现在也用原生的了~). 如果大佬们有关于node框架的一些想法或者思路可以一起探讨~
2023-05-01
增加了node的一些api, 以及去除掉模块自带的构造函数, ~~改用wanfeng.SetNative来生成壳构造函数~~改用wanfeng.SetNative保护函数toString. 这样new一份虚拟机的话, 这些构造函数就不相等了, 相互独立.
修改了vm的源码, 过了一些有问题的检测点. 比如this.hasOwnProperty("hasOwnProperty") === true, vm的this只要继承谁, 就会直接拥有这个属性. 能遍历到这个key, 但是用getOwnProperty又获取到undefined. 所以修改了点东西.
初始化这块, ~~就是将保护后的构造函数放到wanfeng这个对象里(每个vm传一个wanfeng对象进去, 不要直接传wanfeng模块, 看main.js的rsvmp函数)~~, 看init_env.js. 生成构造函数放在globalMy下, 然后wanfeng.SetNative保护一下.再调用Utils.initEnv(), Utils.initWindow()就行了.
2023-05-08
修改了wanfeng.SetNative的底层源码, 所以使用方式也改变了... wanfeng新增ClearMemory api, ~~消耗内存现在稳定了呜呜~~~ (jsdom有些内存清不掉~)
2023-05-17
将nodejs修改v8源码, 以及注册壳函数源码都放到星球里了. 后续会开源出来给大家看看, 基本都是用的v8 API在做操作. 更新了一个api setUndetectable V8对象Utils下的.
现在已经将很多模块的功能都砍掉或者移植到v8层面去做了. 主要是让wanfeng模块只在node层面做事情, 而不用传入虚拟机里.
另外这次版本升级到了19.6, 18.8版本以上提供方便的生成快照命令, 所以升级了...
我的nodejs v8源码已经上传到星球里了, 可以学习下用v8的这些api来过一些补环境的检测~ (星球随缘更新, 只要50, 饿不死你富不了我...)
## 警告
此代码开源仅供学习使用, 如有影响请联系作者删除. 请勿用于非法用途, 否则法律后果自负.
## 赞助
By: 挽风 q/v: 1491025307.
有好的补环境思路或者遇到了bug联系我~
ps: 和陈不不大佬的cynode不是一个框架...
我、陈不不大佬、泰迪大佬一起合作的星球 : https://t.zsxq.com/06bIUvBEM. 星球里有更轻量级的框架, 只提供api的框架, 没有固定初始化的那种.
================================================
FILE: env/ANGLEInstancedArrays.js
================================================
// prototype(无构造函数)的原型方法
globalMy.ANGLEInstancedArrays_drawArraysInstancedANGLE = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了ANGLEInstancedArrays_drawArraysInstancedANGLE, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.ANGLEInstancedArrays_drawElementsInstancedANGLE = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了ANGLEInstancedArrays_drawElementsInstancedANGLE, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.ANGLEInstancedArrays_vertexAttribDivisorANGLE = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了ANGLEInstancedArrays_vertexAttribDivisorANGLE, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
================================================
FILE: env/AnalyserNode.js
================================================
globalMy.AnalyserNode_get_fftSize = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['fftSize'];
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_get_fftSize,result => ', result)
}
return result;
}
globalMy.AnalyserNode_set_fftSize = function (val) {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['fftSize'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_set_fftSize, 传参val => ' + val + ' result => ', result)
}
}
globalMy.AnalyserNode_get_frequencyBinCount = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['frequencyBinCount'];
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_get_frequencyBinCount,result => ', result)
}
return result;
}
globalMy.AnalyserNode_get_minDecibels = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['minDecibels'];
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_get_minDecibels,result => ', result)
}
return result;
}
globalMy.AnalyserNode_set_minDecibels = function (val) {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['minDecibels'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_set_minDecibels, 传参val => ' + val + ' result => ', result)
}
}
globalMy.AnalyserNode_get_maxDecibels = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['maxDecibels'];
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_get_maxDecibels,result => ', result)
}
return result;
}
globalMy.AnalyserNode_set_maxDecibels = function (val) {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['maxDecibels'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_set_maxDecibels, 传参val => ' + val + ' result => ', result)
}
}
globalMy.AnalyserNode_get_smoothingTimeConstant = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['smoothingTimeConstant'];
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_get_smoothingTimeConstant,result => ', result)
}
return result;
}
globalMy.AnalyserNode_set_smoothingTimeConstant = function (val) {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['smoothingTimeConstant'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_set_smoothingTimeConstant, 传参val => ' + val + ' result => ', result)
}
}
globalMy.AnalyserNode_getByteFrequencyData = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_getByteFrequencyData, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AnalyserNode_getByteTimeDomainData = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_getByteTimeDomainData, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AnalyserNode_getFloatFrequencyData = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_getFloatFrequencyData, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AnalyserNode_getFloatTimeDomainData = function () {
if (!(this instanceof AnalyserNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AnalyserNode_getFloatTimeDomainData, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
================================================
FILE: env/AudioContext.js
================================================
globalMy.AudioContext_get_baseLatency = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['baseLatency'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_get_baseLatency,result => ', result)
}
return result;
}
globalMy.AudioContext_get_outputLatency = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['outputLatency'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_get_outputLatency,result => ', result)
}
return result;
}
globalMy.AudioContext_close = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_close, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioContext_createMediaElementSource = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_createMediaElementSource, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioContext_createMediaStreamDestination = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_createMediaStreamDestination, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioContext_createMediaStreamSource = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_createMediaStreamSource, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioContext_getOutputTimestamp = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_getOutputTimestamp, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioContext_resume = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_resume, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioContext_suspend = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_suspend, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioContext_get_sinkId = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['sinkId'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_get_sinkId,result => ', result)
}
return result;
}
globalMy.AudioContext_get_onsinkchange = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['onsinkchange'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_get_onsinkchange,result => ', result)
}
return result;
}
globalMy.AudioContext_set_onsinkchange = function (val) {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['onsinkchange'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_set_onsinkchange, 传参val => ' + val + ' result => ', result)
}
}
globalMy.AudioContext_setSinkId = function () {
if (!(this instanceof AudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioContext_setSinkId, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
================================================
FILE: env/AudioListener.js
================================================
globalMy.AudioListener_get_positionX = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['positionX'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_positionX,result => ', result)
}
return result;
}
globalMy.AudioListener_get_positionY = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['positionY'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_positionY,result => ', result)
}
return result;
}
globalMy.AudioListener_get_positionZ = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['positionZ'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_positionZ,result => ', result)
}
return result;
}
globalMy.AudioListener_get_forwardX = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['forwardX'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_forwardX,result => ', result)
}
return result;
}
globalMy.AudioListener_get_forwardY = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['forwardY'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_forwardY,result => ', result)
}
return result;
}
globalMy.AudioListener_get_forwardZ = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['forwardZ'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_forwardZ,result => ', result)
}
return result;
}
globalMy.AudioListener_get_upX = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['upX'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_upX,result => ', result)
}
return result;
}
globalMy.AudioListener_get_upY = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['upY'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_upY,result => ', result)
}
return result;
}
globalMy.AudioListener_get_upZ = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['upZ'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_get_upZ,result => ', result)
}
return result;
}
globalMy.AudioListener_setOrientation = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_setOrientation, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
globalMy.AudioListener_setPosition = function () {
if (!(this instanceof AudioListener)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioListener_setPosition, arguments => ' + JSON.stringify(arguments) + ' result => ', result)
}
return result;
}
================================================
FILE: env/AudioNode.js
================================================
globalMy.AudioNode_get_context = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['context'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_get_context,result => ', result);
}
return result;
};
globalMy.AudioNode_get_numberOfInputs = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['numberOfInputs'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_get_numberOfInputs,result => ', result);
}
return result;
};
globalMy.AudioNode_get_numberOfOutputs = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['numberOfOutputs'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_get_numberOfOutputs,result => ', result);
}
return result;
};
globalMy.AudioNode_get_channelCount = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['channelCount'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_get_channelCount,result => ', result);
}
return result;
};
globalMy.AudioNode_set_channelCount = function (val) {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['channelCount'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_set_channelCount, 传参val => ' + val + ' result => ', result);
}
};
globalMy.AudioNode_get_channelCountMode = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['channelCountMode'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_get_channelCountMode,result => ', result);
}
return result;
};
globalMy.AudioNode_set_channelCountMode = function (val) {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['channelCountMode'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_set_channelCountMode, 传参val => ' + val + ' result => ', result);
}
};
globalMy.AudioNode_get_channelInterpretation = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['channelInterpretation'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_get_channelInterpretation,result => ', result);
}
return result;
};
globalMy.AudioNode_set_channelInterpretation = function (val) {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['channelInterpretation'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_set_channelInterpretation, 传参val => ' + val + ' result => ', result);
}
};
globalMy.AudioNode_connect = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_connect, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioNode_disconnect = function () {
if (!(this instanceof AudioNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioNode_disconnect, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
================================================
FILE: env/AudioParam.js
================================================
globalMy.AudioParam_get_value = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['value'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_get_value,result => ', result);
}
return result;
};
globalMy.AudioParam_set_value = function (val) {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['value'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_set_value, 传参val => ' + val + ' result => ', result);
}
};
globalMy.AudioParam_get_automationRate = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['automationRate'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_get_automationRate,result => ', result);
}
return result;
};
globalMy.AudioParam_set_automationRate = function (val) {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['automationRate'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_set_automationRate, 传参val => ' + val + ' result => ', result);
}
};
globalMy.AudioParam_get_defaultValue = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['defaultValue'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_get_defaultValue,result => ', result);
}
return result;
};
globalMy.AudioParam_get_minValue = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['minValue'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_get_minValue,result => ', result);
}
return result;
};
globalMy.AudioParam_get_maxValue = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['maxValue'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_get_maxValue,result => ', result);
}
return result;
};
globalMy.AudioParam_cancelAndHoldAtTime = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_cancelAndHoldAtTime, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioParam_cancelScheduledValues = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_cancelScheduledValues, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioParam_exponentialRampToValueAtTime = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_exponentialRampToValueAtTime, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioParam_linearRampToValueAtTime = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_linearRampToValueAtTime, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioParam_setTargetAtTime = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_setTargetAtTime, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioParam_setValueAtTime = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_setValueAtTime, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioParam_setValueCurveAtTime = function () {
if (!(this instanceof AudioParam)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioParam_setValueCurveAtTime, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
================================================
FILE: env/AudioScheduledSourceNode.js
================================================
globalMy.AudioScheduledSourceNode_get_onended = function () {
if (!(this instanceof AudioScheduledSourceNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['onended'];
if (globalMy.is_log) {
console.log('[*] 调用了AudioScheduledSourceNode_get_onended,result => ', result);
}
return result;
};
globalMy.AudioScheduledSourceNode_set_onended = function (val) {
if (!(this instanceof AudioScheduledSourceNode)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['onended'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了AudioScheduledSourceNode_set_onended, 传参val => ' + val + ' result => ', result);
}
};
globalMy.AudioScheduledSourceNode_start = function () {
if (!(this instanceof AudioScheduledSourceNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioScheduledSourceNode_start, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.AudioScheduledSourceNode_stop = function () {
if (!(this instanceof AudioScheduledSourceNode)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了AudioScheduledSourceNode_stop, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
================================================
FILE: env/BarProp.js
================================================
globalMy.BarProp_get_visible = function () {
if (!(this instanceof BarProp)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['visible'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BarProp_get_visible,result => ', result);
}
return result;
};
// prototype(无构造函数)的原型方法
// prototype(无构造函数)的原型方法
================================================
FILE: env/BaseAudioContext.js
================================================
// prototype(无构造函数)的原型方法
// prototype(无构造函数)的原型方法
globalMy.BaseAudioContext_get_destination = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['destination'];
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_get_destination,result => ', result);
}
return result;
};
globalMy.BaseAudioContext_get_currentTime = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['currentTime'];
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_get_currentTime,result => ', result);
}
return result;
};
globalMy.BaseAudioContext_get_sampleRate = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['sampleRate'];
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_get_sampleRate,result => ', result);
}
return result;
};
globalMy.BaseAudioContext_get_listener = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['listener'];
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_get_listener,result => ', result);
}
return result;
};
globalMy.BaseAudioContext_get_state = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['state'];
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_get_state,result => ', result);
}
return result;
};
globalMy.BaseAudioContext_get_onstatechange = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['onstatechange'];
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_get_onstatechange,result => ', result);
}
return result;
};
globalMy.BaseAudioContext_set_onstatechange = function (val) {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['onstatechange'] = val;
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_set_onstatechange, 传参val => ' + val + ' result => ', result);
}
};
globalMy.BaseAudioContext_createAnalyser = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createAnalyser, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createBiquadFilter = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createBiquadFilter, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createBuffer = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createBuffer, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createBufferSource = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createBufferSource, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createChannelMerger = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createChannelMerger, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createChannelSplitter = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createChannelSplitter, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createConstantSource = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createConstantSource, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createConvolver = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createConvolver, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createDelay = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createDelay, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createDynamicsCompressor = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createDynamicsCompressor, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createGain = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createGain, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createIIRFilter = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createIIRFilter, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createOscillator = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createOscillator, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createPanner = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createPanner, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createPeriodicWave = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createPeriodicWave, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createScriptProcessor = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createScriptProcessor, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createStereoPanner = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createStereoPanner, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_createWaveShaper = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_createWaveShaper, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_decodeAudioData = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_decodeAudioData, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.BaseAudioContext_get_audioWorklet = function () {
if (!(this instanceof BaseAudioContext)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['audioWorklet'];
if (globalMy.is_log) {
console.log('[*] 调用了BaseAudioContext_get_audioWorklet,result => ', result);
}
return result;
};
================================================
FILE: env/BatteryManager.js
================================================
globalMy.BatteryManager_get_charging = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['charging'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_charging,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_get_chargingTime = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['chargingTime'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_chargingTime,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_get_dischargingTime = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['dischargingTime'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_dischargingTime,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_get_level = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['level'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_level,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_get_onchargingchange = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['onchargingchange'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_onchargingchange,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_set_onchargingchange = function (val) {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['onchargingchange'] = val;
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_set_onchargingchange, 传参val => ' + val + ' result => ', '' + result);
}
};
globalMy.BatteryManager_get_onchargingtimechange = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['onchargingtimechange'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_onchargingtimechange,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_set_onchargingtimechange = function (val) {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['onchargingtimechange'] = val;
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_set_onchargingtimechange, 传参val => ' + val + ' result => ', '' + result);
}
};
globalMy.BatteryManager_get_ondischargingtimechange = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['ondischargingtimechange'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_ondischargingtimechange,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_set_ondischargingtimechange = function (val) {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['ondischargingtimechange'] = val;
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_set_ondischargingtimechange, 传参val => ' + val + ' result => ', '' + result);
}
};
globalMy.BatteryManager_get_onlevelchange = function () {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['onlevelchange'];
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_get_onlevelchange,result => ', '' + result);
}
return result;
};
globalMy.BatteryManager_set_onlevelchange = function (val) {
if (!(this instanceof BatteryManager)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
globalMy.value[foundName]['onlevelchange'] = val;
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了BatteryManager_set_onlevelchange, 传参val => ' + val + ' result => ', '' + result);
}
};
================================================
FILE: env/Blob.js
================================================
globalMy.Blob_get_size = function(){
if (!(this instanceof Blob)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['size'];
if(globalMy.is_log){console.log('[*] 调用了Blob_get_size,result => ' , result)}
return result;
}
globalMy.Blob_get_type = function(){
if (!(this instanceof Blob)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['type'];
if(globalMy.is_log){console.log('[*] 调用了Blob_get_type,result => ' , result)}
return result;
}
globalMy.Blob_arrayBuffer = function(){
if (!(this instanceof Blob)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if(globalMy.is_log){console.log('[*] 调用了Blob_arrayBuffer, arguments => ' , JSON.stringify(arguments), ' result => ' , result)}
return result;
}
globalMy.Blob_slice = function(){
if (!(this instanceof Blob)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if(globalMy.is_log){console.log('[*] 调用了Blob_slice, arguments => ' , JSON.stringify(arguments), ' result => ' , result)}
return result;
}
globalMy.Blob_stream = function(){
if (!(this instanceof Blob)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if(globalMy.is_log){console.log('[*] 调用了Blob_stream, arguments => ' , JSON.stringify(arguments), ' result => ' , result)}
return result;
}
globalMy.Blob_text = function(){
if (!(this instanceof Blob)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if(globalMy.is_log){console.log('[*] 调用了Blob_text, arguments => ' , JSON.stringify(arguments), ' result => ' , result)}
return result;
}
================================================
FILE: env/CSSStyleDeclaration.js
================================================
globalMy.CSSStyleDeclaration_get_cssText = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_cssText');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['cssText'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_cssText, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_set_cssText = function (val) {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_set_cssText, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['cssText'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['cssText'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_set_cssText' + ' result => ', '' + result);
}
};
globalMy.CSSStyleDeclaration_get_length = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_length');
}
var result;
// var foundName = globalMy.foundName(this);
// result = globalMy.jsdom_element[foundName]['length'];
// if (result != null && result != undefined) {
// switch (typeof result) {
// case "object":
// debugger;
// break;
// case "function":
// debugger;
// break;
// default:
// break;
// }
// }
result = 346;
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_length, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_get_parentRule = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_parentRule');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['parentRule'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_parentRule, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_get_cssFloat = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_cssFloat');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['cssFloat'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_get_cssFloat, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_set_cssFloat = function (val) {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_set_cssFloat, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['cssFloat'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['cssFloat'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_set_cssFloat' + ' result => ', '' + result);
}
};
globalMy.CSSStyleDeclaration_getPropertyPriority = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_getPropertyPriority, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.getPropertyPriority.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_getPropertyPriority ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_getPropertyValue = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_getPropertyValue, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.getPropertyValue.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_getPropertyValue ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_item = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_item, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.item.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_item ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_removeProperty = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_removeProperty, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.removeProperty.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_removeProperty ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleDeclaration_setProperty = function () {
if (!(this instanceof CSSStyleDeclaration)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_setProperty, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.setProperty.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleDeclaration_setProperty ' + ' result => ', '' + result);
}
return result;
};
================================================
FILE: env/CSSStyleRule.js
================================================
globalMy.CSSStyleRule_get_selectorText = function () {
if (!(this instanceof CSSStyleRule)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_get_selectorText');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['selectorText'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_get_selectorText, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleRule_set_selectorText = function (val) {
if (!(this instanceof CSSStyleRule)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_set_selectorText, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['selectorText'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['selectorText'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_set_selectorText' + ' result => ', '' + result);
}
};
globalMy.CSSStyleRule_get_style = function () {
if (!(this instanceof CSSStyleRule)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_get_style');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['style'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_get_style, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleRule_set_style = function (val) {
if (!(this instanceof CSSStyleRule)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_set_style, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['style'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['style'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_set_style' + ' result => ', '' + result);
}
};
globalMy.CSSStyleRule_get_styleMap = function () {
if (!(this instanceof CSSStyleRule)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_get_styleMap');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['styleMap'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleRule_get_styleMap, result => ', '' + result);
}
return result;
};
================================================
FILE: env/CSSStyleSheet.js
================================================
globalMy.CSSStyleSheet_get_ownerRule = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_get_ownerRule');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['ownerRule'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_get_ownerRule, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_get_cssRules = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_get_cssRules');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['cssRules'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_get_cssRules, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_get_rules = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_get_rules');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['rules'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_get_rules, result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_addRule = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_addRule, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.addRule.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_addRule ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_deleteRule = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_deleteRule, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.deleteRule.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_deleteRule ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_insertRule = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_insertRule, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.insertRule.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_insertRule ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_removeRule = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_removeRule, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.removeRule.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_removeRule ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_replace = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_replace, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.replace.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_replace ' + ' result => ', '' + result);
}
return result;
};
globalMy.CSSStyleSheet_replaceSync = function () {
if (!(this instanceof CSSStyleSheet)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_replaceSync, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.replaceSync.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CSSStyleSheet_replaceSync ' + ' result => ', '' + result);
}
return result;
};
================================================
FILE: env/CanvasGradient.js
================================================
globalMy.CanvasGradient_addColorStop = function () {
if (!(this instanceof CanvasGradient)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasGradient_addColorStop, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.addColorStop.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasGradient_addColorStop ' + ' result => ', '' + result);
}
return result;
};
================================================
FILE: env/CanvasRenderingContext2D.js
================================================
globalMy.CanvasRenderingContext2D_get_canvas = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_canvas');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['canvas'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_canvas, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_get_globalAlpha = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_globalAlpha');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['globalAlpha'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_globalAlpha, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_globalAlpha = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_globalAlpha, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['globalAlpha'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['globalAlpha'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_globalAlpha' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_globalCompositeOperation = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_globalCompositeOperation');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['globalCompositeOperation'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_globalCompositeOperation, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_globalCompositeOperation = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_globalCompositeOperation, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['globalCompositeOperation'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['globalCompositeOperation'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_globalCompositeOperation' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_filter = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_filter');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['filter'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_filter, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_filter = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_filter, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['filter'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['filter'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_filter' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_imageSmoothingEnabled = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_imageSmoothingEnabled');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['imageSmoothingEnabled'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_imageSmoothingEnabled, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_imageSmoothingEnabled = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_imageSmoothingEnabled, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['imageSmoothingEnabled'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['imageSmoothingEnabled'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_imageSmoothingEnabled' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_imageSmoothingQuality = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_imageSmoothingQuality');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['imageSmoothingQuality'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_imageSmoothingQuality, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_imageSmoothingQuality = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_imageSmoothingQuality, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['imageSmoothingQuality'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['imageSmoothingQuality'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_imageSmoothingQuality' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_strokeStyle = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_strokeStyle');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['strokeStyle'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_strokeStyle, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_strokeStyle = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_strokeStyle, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['strokeStyle'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['strokeStyle'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_strokeStyle' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_fillStyle = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fillStyle');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['fillStyle'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fillStyle, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_fillStyle = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fillStyle, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['fillStyle'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['fillStyle'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fillStyle' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_shadowOffsetX = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowOffsetX');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['shadowOffsetX'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowOffsetX, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_shadowOffsetX = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowOffsetX, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['shadowOffsetX'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['shadowOffsetX'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowOffsetX' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_shadowOffsetY = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowOffsetY');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['shadowOffsetY'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowOffsetY, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_shadowOffsetY = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowOffsetY, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['shadowOffsetY'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['shadowOffsetY'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowOffsetY' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_shadowBlur = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowBlur');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['shadowBlur'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowBlur, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_shadowBlur = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowBlur, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['shadowBlur'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['shadowBlur'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowBlur' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_shadowColor = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowColor');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['shadowColor'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_shadowColor, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_shadowColor = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowColor, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['shadowColor'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['shadowColor'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_shadowColor' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_lineWidth = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineWidth');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['lineWidth'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineWidth, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_lineWidth = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineWidth, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['lineWidth'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['lineWidth'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineWidth' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_lineCap = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineCap');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['lineCap'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineCap, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_lineCap = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineCap, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['lineCap'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['lineCap'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineCap' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_lineJoin = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineJoin');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['lineJoin'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineJoin, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_lineJoin = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineJoin, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['lineJoin'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['lineJoin'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineJoin' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_miterLimit = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_miterLimit');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['miterLimit'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_miterLimit, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_miterLimit = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_miterLimit, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['miterLimit'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['miterLimit'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_miterLimit' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_lineDashOffset = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineDashOffset');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['lineDashOffset'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_lineDashOffset, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_lineDashOffset = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineDashOffset, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['lineDashOffset'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['lineDashOffset'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_lineDashOffset' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_font = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_font');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['font'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_font, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_font = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_font, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['font'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['font'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_font' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_textAlign = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_textAlign');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['textAlign'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_textAlign, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_textAlign = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_textAlign, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['textAlign'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['textAlign'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_textAlign' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_textBaseline = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_textBaseline');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['textBaseline'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_textBaseline, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_textBaseline = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_textBaseline, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['textBaseline'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['textBaseline'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_textBaseline' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_direction = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_direction');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['direction'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_direction, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_direction = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_direction, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['direction'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['direction'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_direction' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_fontKerning = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fontKerning');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['fontKerning'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fontKerning, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_fontKerning = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fontKerning, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['fontKerning'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['fontKerning'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fontKerning' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_fontStretch = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fontStretch');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['fontStretch'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fontStretch, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_fontStretch = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fontStretch, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['fontStretch'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['fontStretch'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fontStretch' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_fontVariantCaps = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fontVariantCaps');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['fontVariantCaps'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_fontVariantCaps, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_fontVariantCaps = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fontVariantCaps, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['fontVariantCaps'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['fontVariantCaps'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_fontVariantCaps' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_letterSpacing = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_letterSpacing');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['letterSpacing'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_letterSpacing, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_letterSpacing = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_letterSpacing, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['letterSpacing'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['letterSpacing'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_letterSpacing' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_textRendering = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_textRendering');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['textRendering'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_textRendering, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_textRendering = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_textRendering, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['textRendering'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['textRendering'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_textRendering' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_get_wordSpacing = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_wordSpacing');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['wordSpacing'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_get_wordSpacing, result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_set_wordSpacing = function (val) {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_wordSpacing, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['wordSpacing'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['wordSpacing'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_set_wordSpacing' + ' result => ', '' + result);
}
};
globalMy.CanvasRenderingContext2D_clip = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_clip, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.clip.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_clip ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_createConicGradient = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createConicGradient, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.createConicGradient.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createConicGradient ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_createImageData = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createImageData, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.createImageData.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createImageData ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_createLinearGradient = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createLinearGradient, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.createLinearGradient.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createLinearGradient ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_createPattern = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createPattern, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.createPattern.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createPattern ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_createRadialGradient = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createRadialGradient, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.createRadialGradient.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_createRadialGradient ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_drawFocusIfNeeded = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_drawFocusIfNeeded, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.drawFocusIfNeeded.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_drawFocusIfNeeded ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_drawImage = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_drawImage, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.drawImage.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_drawImage ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_fill = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_fill, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.fill.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_fill ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_fillText = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_fillText, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.fillText.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_fillText ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_getContextAttributes = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getContextAttributes, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.getContextAttributes.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getContextAttributes ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_getImageData = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getImageData, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.getImageData.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getImageData ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_getLineDash = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getLineDash, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.getLineDash.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getLineDash ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_getTransform = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getTransform, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.getTransform.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_getTransform ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_isContextLost = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_isContextLost, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.isContextLost.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_isContextLost ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_isPointInPath = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_isPointInPath, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.isPointInPath.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_isPointInPath ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_isPointInStroke = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_isPointInStroke, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.isPointInStroke.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_isPointInStroke ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_measureText = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_measureText, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.measureText.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_measureText ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_putImageData = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_putImageData, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.putImageData.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_putImageData ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_reset = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_reset, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.reset.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_reset ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_roundRect = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_roundRect, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.roundRect.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_roundRect ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_save = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_save, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.save.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_save ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_scale = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_scale, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.scale.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_scale ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_setLineDash = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_setLineDash, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.setLineDash.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_setLineDash ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_setTransform = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_setTransform, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.setTransform.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_setTransform ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_stroke = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_stroke, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.stroke.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_stroke ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_strokeText = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_strokeText, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.strokeText.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_strokeText ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_transform = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_transform, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.transform.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_transform ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_translate = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_translate, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.translate.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_translate ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_arc = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_arc, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.arc.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_arc ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_arcTo = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_arcTo, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.arcTo.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_arcTo ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_beginPath = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_beginPath, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.beginPath.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_beginPath ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_bezierCurveTo = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_bezierCurveTo, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.bezierCurveTo.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_bezierCurveTo ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_clearRect = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_clearRect, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.clearRect.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_clearRect ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_closePath = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_closePath, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.closePath.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_closePath ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_ellipse = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_ellipse, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.ellipse.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_ellipse ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_fillRect = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_fillRect, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.fillRect.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_fillRect ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_lineTo = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_lineTo, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.lineTo.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_lineTo ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_moveTo = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_moveTo, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.moveTo.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_moveTo ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_quadraticCurveTo = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_quadraticCurveTo, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.quadraticCurveTo.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_quadraticCurveTo ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_rect = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_rect, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.rect.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_rect ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_resetTransform = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_resetTransform, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.resetTransform.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_resetTransform ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_restore = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_restore, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.restore.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_restore ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_rotate = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_rotate, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.rotate.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_rotate ' + ' result => ', '' + result);
}
return result;
};
globalMy.CanvasRenderingContext2D_strokeRect = function () {
if (!(this instanceof CanvasRenderingContext2D)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_strokeRect, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.strokeRect.apply(this_, arguments);
if (result == undefined || result == null) {} else {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了CanvasRenderingContext2D_strokeRect ' + ' result => ', '' + result);
}
return result;
};
================================================
FILE: env/Crypto.js
================================================
globalMy.Crypto_getRandomValues = function () {
if (!(this instanceof Crypto)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了Crypto_getRandomValues, arguments => ', JSON.stringify(arguments), ' result => ', result)
}
return result;
}
globalMy.Crypto_get_subtle = function () {
if (!(this instanceof Crypto)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['subtle'];
if (globalMy.is_log) {
console.log('[*] 调用了Crypto_get_subtle,result => ', result)
}
return result;
}
globalMy.Crypto_randomUUID = function () {
if (!(this instanceof Crypto)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了Crypto_randomUUID, arguments => ', JSON.stringify(arguments), ' result => ', result)
}
return result;
}
================================================
FILE: env/CustomElementRegistry.js
================================================
globalMy.CustomElementRegistry_define = function () {
if (!(this instanceof CustomElementRegistry)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了CustomElementRegistry_define, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.CustomElementRegistry_get = function () {
if (!(this instanceof CustomElementRegistry)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了CustomElementRegistry_get, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.CustomElementRegistry_upgrade = function () {
if (!(this instanceof CustomElementRegistry)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了CustomElementRegistry_upgrade, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.CustomElementRegistry_whenDefined = function () {
if (!(this instanceof CustomElementRegistry)) {
throw new TypeError("Illegal invocation");
}
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了CustomElementRegistry_whenDefined, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
// 函数实现
// SpeechSynthesis
================================================
FILE: env/CustomEvent.js
================================================
globalMy.CustomEvent_get_detail = function () {
if (!(this instanceof CustomEvent)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundEventName(this);
result = globalMy.event_value[foundName]['detail'];
if (globalMy.is_log) {
console.log('[*] 调用了CustomEvent_get_detail,result => ', result)
}
return result;
}
globalMy.CustomEvent_initCustomEvent = function () {
if (!(this instanceof CustomEvent)) {
throw new TypeError("Illegal invocation");
}
let result;
var foundName = globalMy.foundEventName(this);
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了CustomEvent_initCustomEvent, arguments => ', arguments, ' result => ', result)
}
return result;
}
================================================
FILE: env/DOMTokenList.js
================================================
globalMy.DOMTokenList_entries = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_entries, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.entries.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_entries ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_keys = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_keys, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.keys.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_keys ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_values = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_values, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.values.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_values ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_forEach = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_forEach, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.forEach.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_forEach ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_get_length = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_get_length');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['length'];
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_get_length, result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_get_value = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_get_value');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['value'];
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_get_value, result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_set_value = function (val) {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_set_value, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['value'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
globalMy.jsdom_element[foundName]['value'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_set_value' + ' result => ', '' + result)
}
}
globalMy.DOMTokenList_add = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_add, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.add.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_add ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_contains = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_contains, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.contains.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_contains ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_item = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_item, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.item.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_item ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_remove = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_remove, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.remove.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_remove ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_replace = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_replace, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.replace.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_replace ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_supports = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_supports, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.supports.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_supports ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_toggle = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_toggle, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.toggle.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_toggle ' + ' result => ', '' + result)
}
return result;
}
globalMy.DOMTokenList_toString = function () {
if (!(this instanceof DOMTokenList)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_toString, arguments => ', arguments);
}
var result;
//这里写方法实体
var name = globalMy.foundName(this);
var this_ = globalMy.jsdom_element[name];
result = this_.toString.apply(this_, arguments);
if (result == undefined || result == null) {
} else {
switch (typeof result) {
case "object":
debugger;
break
case "function":
debugger;
break
default:
break
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了DOMTokenList_toString ' + ' result => ', '' + result)
}
return result;
}
================================================
FILE: env/Database.js
================================================
globalMy.Database_get_version = function () {
let result;
var foundName = globalMy.foundName(this);
result = globalMy.value[foundName]['version'];
if (globalMy.is_log) {
console.log('[*] 调用了Database_get_version,result => ', result);
}
return result;
};
globalMy.Database_changeVersion = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了Database_changeVersion, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.Database_readTransaction = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了Database_readTransaction, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.Database_transaction = function () {
let result;
var name = globalMy.setfoundName({});
Object.setPrototypeOf(globalMy.element[name], IDBTransaction.prototype);
result = globalMy.element[name];
if (globalMy.is_log) {
console.log('[*] 调用了Database_transaction, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
================================================
FILE: env/DeprecatedStorageInfo.js
================================================
globalMy.DeprecatedStorageInfo_queryUsageAndQuota = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了DeprecatedStorageInfo_queryUsageAndQuota, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.DeprecatedStorageInfo_requestQuota = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了DeprecatedStorageInfo_requestQuota, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
================================================
FILE: env/DeprecatedStorageQuota.js
================================================
globalMy.DeprecatedStorageQuota_queryUsageAndQuota = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了DeprecatedStorageQuota_queryUsageAndQuota, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
globalMy.DeprecatedStorageQuota_requestQuota = function () {
let result;
//这里写方法实体
if (globalMy.is_log) {
console.log('[*] 调用了DeprecatedStorageQuota_requestQuota, arguments => ' + JSON.stringify(arguments) + ' result => ', result);
}
return result;
};
// 函数实现
// SpeechSynthesis
================================================
FILE: env/Document.js
================================================
// 函数实现
// SpeechSynthesis
globalMy.Document_get_implementation = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_implementation');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['implementation'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_implementation, result => ', '' + result);
}
return result;
};
globalMy.Document_get_URL = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_URL');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['URL'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_URL, result => ', '' + result);
}
return result;
};
globalMy.Document_get_documentURI = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_documentURI');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['documentURI'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_documentURI, result => ', '' + result);
}
return result;
};
globalMy.Document_get_compatMode = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_compatMode');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['compatMode'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_compatMode, result => ', '' + result);
}
return result;
};
globalMy.Document_get_characterSet = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_characterSet');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['characterSet'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_characterSet, result => ', '' + result);
}
return result;
};
globalMy.Document_get_charset = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_charset');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['charset'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_charset, result => ', '' + result);
}
return result;
};
globalMy.Document_get_inputEncoding = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_inputEncoding');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['inputEncoding'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_inputEncoding, result => ', '' + result);
}
return result;
};
globalMy.Document_get_contentType = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_contentType');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['contentType'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_contentType, result => ', '' + result);
}
return result;
};
globalMy.Document_get_doctype = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_doctype');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['doctype'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_doctype, result => ', '' + result);
}
return result;
};
globalMy.Document_get_documentElement = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_documentElement');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['documentElement'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_documentElement, result => ', '' + result);
}
return result;
};
globalMy.Document_get_xmlEncoding = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_xmlEncoding');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['xmlEncoding'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_xmlEncoding, result => ', '' + result);
}
return result;
};
globalMy.Document_get_xmlVersion = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_xmlVersion');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['xmlVersion'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_xmlVersion, result => ', '' + result);
}
return result;
};
globalMy.Document_set_xmlVersion = function (val) {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_xmlVersion, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['xmlVersion'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['xmlVersion'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_xmlVersion' + ' result => ', '' + result);
}
};
globalMy.Document_get_xmlStandalone = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_xmlStandalone');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['xmlStandalone'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_xmlStandalone, result => ', '' + result);
}
return result;
};
globalMy.Document_set_xmlStandalone = function (val) {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_xmlStandalone, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['xmlStandalone'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['xmlStandalone'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_xmlStandalone' + ' result => ', '' + result);
}
};
globalMy.Document_get_domain = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_domain');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['domain'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_domain, result => ', '' + result);
}
return result;
};
globalMy.Document_set_domain = function (val) {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_domain, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
globalMy.jsdom_element[foundName]['domain'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['domain'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_domain' + ' result => ', '' + result);
}
};
globalMy.Document_get_referrer = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_referrer');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['referrer'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_referrer, result => ', '' + result);
}
return result;
};
globalMy.Document_get_cookie = function () {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_cookie');
}
var result;
var foundName = globalMy.foundName(this);
result = globalMy.jsdom_element[foundName]['cookie'];
if (result != null && result != undefined) {
switch (typeof result) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
break;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_get_cookie, result => ', '' + result);
}
return result;
};
globalMy.Document_set_cookie = function (val) {
if (!(this instanceof Document)) {
throw new TypeError("Illegal invocation");
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_cookie, 传参val => ' + val);
}
var result;
var foundName = globalMy.foundName(this);
if (val == undefined || val == null) {
debugger;
globalMy.jsdom_element[foundName]['cookie'] = val;
} else {
switch (typeof val) {
case "object":
debugger;
break;
case "function":
debugger;
break;
default:
globalMy.jsdom_element[foundName]['cookie'] = val;
}
}
if (globalMy.is_log) {
globalMy.console.log('[*] 调用了Document_set_cookie' + ' result =>
gitextract_v2jkf5ez/
├── .idea/
│ ├── .gitignore
│ ├── inspectionProfiles/
│ │ ├── Project_Default.xml
│ │ └── profiles_settings.xml
│ ├── misc.xml
│ ├── modules.xml
│ ├── node-sandbox.iml
│ └── vcs.xml
├── LICENSE
├── README.md
├── env/
│ ├── ANGLEInstancedArrays.js
│ ├── AnalyserNode.js
│ ├── AudioContext.js
│ ├── AudioListener.js
│ ├── AudioNode.js
│ ├── AudioParam.js
│ ├── AudioScheduledSourceNode.js
│ ├── BarProp.js
│ ├── BaseAudioContext.js
│ ├── BatteryManager.js
│ ├── Blob.js
│ ├── CSSStyleDeclaration.js
│ ├── CSSStyleRule.js
│ ├── CSSStyleSheet.js
│ ├── CanvasGradient.js
│ ├── CanvasRenderingContext2D.js
│ ├── Crypto.js
│ ├── CustomElementRegistry.js
│ ├── CustomEvent.js
│ ├── DOMTokenList.js
│ ├── Database.js
│ ├── DeprecatedStorageInfo.js
│ ├── DeprecatedStorageQuota.js
│ ├── Document.js
│ ├── DocumentType.js
│ ├── DynamicsCompressorNode.js
│ ├── EXTDisjointTimerQuery.js
│ ├── Element.js
│ ├── Event.js
│ ├── External.js
│ ├── GainNode.js
│ ├── HTMLAllCollection.js
│ ├── HTMLAnchorElement.js
│ ├── HTMLAreaElement.js
│ ├── HTMLBRElement.js
│ ├── HTMLBaseElement.js
│ ├── HTMLBodyElement.js
│ ├── HTMLButtonElement.js
│ ├── HTMLCanvasElement.js
│ ├── HTMLCollection.js
│ ├── HTMLDListElement.js
│ ├── HTMLDataElement.js
│ ├── HTMLDataListElement.js
│ ├── HTMLDetailsElement.js
│ ├── HTMLDialogElement.js
│ ├── HTMLDirectoryElement.js
│ ├── HTMLDivElement.js
│ ├── HTMLElement.js
│ ├── HTMLEmbedElement.js
│ ├── HTMLFieldSetElement.js
│ ├── HTMLFontElement.js
│ ├── HTMLFormElement.js
│ ├── HTMLFrameElement.js
│ ├── HTMLFrameSetElement.js
│ ├── HTMLHRElement.js
│ ├── HTMLHeadingElement.js
│ ├── HTMLHtmlElement.js
│ ├── HTMLIFrameElement.js
│ ├── HTMLImageElement.js
│ ├── HTMLInputElement.js
│ ├── HTMLLIElement.js
│ ├── HTMLLabelElement.js
│ ├── HTMLLegendElement.js
│ ├── HTMLLinkElement.js
│ ├── HTMLMapElement.js
│ ├── HTMLMarqueeElement.js
│ ├── HTMLMediaElement.js
│ ├── HTMLMenuElement.js
│ ├── HTMLMetaElement.js
│ ├── HTMLMeterElement.js
│ ├── HTMLModElement.js
│ ├── HTMLOListElement.js
│ ├── HTMLObjectElement.js
│ ├── HTMLOptGroupElement.js
│ ├── HTMLOptionElement.js
│ ├── HTMLOutputElement.js
│ ├── HTMLParagraphElement.js
│ ├── HTMLParamElement.js
│ ├── HTMLPreElement.js
│ ├── HTMLProgressElement.js
│ ├── HTMLQuoteElement.js
│ ├── HTMLScriptElement.js
│ ├── HTMLSelectElement.js
│ ├── HTMLSlotElement.js
│ ├── HTMLSourceElement.js
│ ├── HTMLStyleElement.js
│ ├── HTMLTableCaptionElement.js
│ ├── HTMLTableCellElement.js
│ ├── HTMLTableColElement.js
│ ├── HTMLTableElement.js
│ ├── HTMLTableRowElement.js
│ ├── HTMLTableSectionElement.js
│ ├── HTMLTemplateElement.js
│ ├── HTMLTextAreaElement.js
│ ├── HTMLTimeElement.js
│ ├── HTMLTitleElement.js
│ ├── HTMLTrackElement.js
│ ├── HTMLUListElement.js
│ ├── HTMLVideoElement.js
│ ├── History.js
│ ├── IDBDatabase.js
│ ├── IDBFactory.js
│ ├── IDBObjectStore.js
│ ├── IDBOpenDBRequest.js
│ ├── IDBRequest.js
│ ├── IDBTransaction.js
│ ├── Image.js
│ ├── ImageData.js
│ ├── InputDeviceCapabilities.js
│ ├── MediaEncryptedEvent.js
│ ├── MediaQueryList.js
│ ├── MimeType.js
│ ├── MimeTypeArray.js
│ ├── MouseEvent.js
│ ├── MutationObserver.js
│ ├── MutationRecord.js
│ ├── Navigator.js
│ ├── NavigatorUAData.js
│ ├── NetworkInformation.js
│ ├── Node.js
│ ├── NodeList.js
│ ├── Notification.js
│ ├── OESVertexArrayObject.js
│ ├── OfflineAudioContext.js
│ ├── OffscreenCanvas.js
│ ├── OffscreenCanvasRenderingContext2D.js
│ ├── OscillatorNode.js
│ ├── Path2D.js
│ ├── Performance.js
│ ├── PerformanceEntry.js
│ ├── Plugin.js
│ ├── PluginArray.js
│ ├── PointerEvent.js
│ ├── RTCDataChannel.js
│ ├── RTCIceCandidate.js
│ ├── RTCPeerConnection.js
│ ├── RTCPeerConnectionIceEvent.js
│ ├── RTCSessionDescription.js
│ ├── Request.js
│ ├── Screen.js
│ ├── ScreenOrientation.js
│ ├── SpeechSynthesis.js
│ ├── SpeechSynthesisUtterance.js
│ ├── Storage.js
│ ├── StorageManager.js
│ ├── StyleMedia.js
│ ├── StyleSheet.js
│ ├── Text.js
│ ├── TextMetrics.js
│ ├── TrustedTypePolicyFactory.js
│ ├── UIEvent.js
│ ├── URL.js
│ ├── UserActivation.js
│ ├── VisualViewport.js
│ ├── WebGL2RenderingContext.js
│ ├── WebGLDebugShaders.js
│ ├── WebGLDrawBuffers.js
│ ├── WebGLLoseContext.js
│ ├── WebGLMultiDraw.js
│ ├── WebGLRenderingContext.js
│ ├── WebGLShaderPrecisionFormat.js
│ ├── WebSocket.js
│ ├── Woker.js
│ ├── XMLHttpRequest.js
│ ├── XMLHttpRequestEventTarget.js
│ └── XPathExpression.js
├── main.js
├── ret.html
├── util/
│ ├── cover_construct_function.js
│ ├── cover_function.js
│ ├── end.js
│ ├── globalMy.js
│ ├── init_env.js
│ └── pass_check.js
└── work/
├── ali140.js
├── boss.js
├── jrtt/
│ ├── ac_sign.js
│ └── jrtt.js
├── rsvmp.js
└── zhihu/
├── x81.js
└── zhihu.js
SYMBOL INDEX (218 symbols across 10 files)
FILE: main.js
function runRsVmp (line 76) | function runRsVmp() {
function runBoss (line 98) | function runBoss() {
function runZhihu (line 143) | function runZhihu() {
function runX81 (line 167) | function runX81() {
function runAcSign (line 181) | function runAcSign() {
FILE: util/cover_construct_function.js
function callback (line 104) | function callback() {
FILE: util/init_env.js
function resolve (line 48) | function resolve(value) {
function reject (line 64) | function reject(reason) {
function handle (line 100) | function handle(callback) {
method onResolved (line 121) | onResolved(value) {
method onRejected (line 124) | onRejected(reason) {
FILE: work/ali140.js
function cond (line 1) | function cond(){return Math.random()}
function chkQuerySet (line 1) | function chkQuerySet(){var e,t=window[QUERY_KEY];return isNaN(t)?(e=loca...
function t (line 1) | function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{...
function o (line 1) | function o(e){return this instanceof o?(this._state=l,this._onFulfilled=...
function i (line 1) | function i(e,t,n){return function(o){if(p(t))try{var i=t(o);r(i)?i.then(...
function r (line 1) | function r(e){return e&&p(e.then)}
function a (line 1) | function a(e,t){var n=[].slice,o=n.call(arguments,2),i=function(){},r=fu...
function c (line 1) | function c(e){return function(t){return{}.toString.call(t)=="[object "+e...
function s (line 1) | function s(e,t){for(var n=0,o=e.length;n<o;n++)t(e[n],n)}
function o (line 1) | function o(e,t,n){if(e){var o=0,i=e.length;if(i===+i)for(;o<i&&t.call(n,...
function i (line 1) | function i(e,t){if(!t)return!1;if(e.classList){for(var n=t.split(/\s+/),...
function r (line 1) | function r(e,t){t&&!i(e,t)&&(e.classList?e.classList.add.apply(e.classLi...
function a (line 1) | function a(e,t){t&&i(e,t)&&(e.classList?e.classList.remove.apply(e.class...
function c (line 1) | function c(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encode...
function s (line 1) | function s(e){for(var t=e.offsetLeft,n=e.offsetParent;null!==n;)t+=n.off...
function l (line 1) | function l(e){for(var t=e.offsetTop,n=e.offsetParent;null!==n;)t+=n.offs...
function d (line 1) | function d(e,t){var n={code:13,msg:(t+"").substr(0,1e3)+";",pid:"sufeiPu...
function o (line 1) | function o(e){var t=("_nc_r_"+Math.random()).replace(/\./,""),n=r[t]=new...
function o (line 1) | function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enume...
function i (line 1) | function i(e,t){var n,o,i=t?{}:e;for(n in e)e.hasOwnProperty(n)&&(o=e[n]...
function r (line 1) | function r(e,t){return(e+"").replace(/\\?\{\s*([^{}\s]+)\s*\}/g,function...
function a (line 1) | function a(e,t){var n,o=m[e]=m[e]||{};t=i(t,!0);for(n in t)t.hasOwnPrope...
function c (line 1) | function c(e,t){return e.replace(/(javascript:noCaptcha.reset\()(\))/gi,...
function n (line 2) | function n(e,t){for(var n=0;n<e.length;n++){var o=e[n],i=p[o.id];if(i){i...
function o (line 2) | function o(e){for(var t=[],n={},o=0;o<e.length;o++){var i=e[o],r=i[0],a=...
function i (line 2) | function i(e,t){var n=g(),o=v[v.length-1];if("top"===e.insertAt)o?o.next...
function r (line 2) | function r(e){e.parentNode.removeChild(e);var t=v.indexOf(e);t>=0&&v.spl...
function a (line 2) | function a(e){var t=document.createElement("style");return t.type="text/...
function c (line 2) | function c(e){var t=document.createElement("link");return t.rel="stylesh...
function s (line 2) | function s(e,t){var n,o,i;if(t.singleton){var s=m++;n=h||(h=a(t)),o=l.bi...
function l (line 2) | function l(e,t,n,o){var i=n?"":o.css;if(e.styleSheet)e.styleSheet.cssTex...
function d (line 2) | function d(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e....
function u (line 2) | function u(e,t){var n=t.css,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL...
function o (line 2) | function o(e,t){if("string"==typeof t&&t.indexOf(".")!==-1){var n=t.spli...
function i (line 2) | function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function o (line 2) | function o(e){var t,n="",o=f.getElementById("umFlash");if(o&&!n)try{t=o....
function i (line 2) | function i(e,t,n){n=n||7;var o=new Date;o.setTime(o.getTime()+864e5*n),f...
function r (line 2) | function r(){var e,t=/Firefox/.test(navigator.userAgent);if(t)try{e=loca...
function a (line 2) | function a(e){for(var t="";t.length<e;)t+=Math.random().toString().subst...
function c (line 2) | function c(){var e=_._sec_module=_._sec_module||{};if(d=e.token)return d...
function s (line 2) | function s(){if(u)return u;var e="_umdata";try{_.localStorage&&(u=localS...
function l (line 2) | function l(){return p?p:p=s()||c()}
function o (line 2) | function o(e,t){this.id=function(e){return 0===e.indexOf("#")?a.getEleme...
function o (line 2) | function o(e,t){var n,o,r=t?{}:e;for(n in e)e.hasOwnProperty(n)&&(o=e[n]...
function i (line 2) | function i(e,t){return(e+"").replace(/\\?\{\s*([^{}\s]+)\s*\}/g,function...
function r (line 2) | function r(e,t){var n,i=_[e]=_[e]||{};t=o(t,!0);for(n in t)t.hasOwnPrope...
function a (line 2) | function a(e,t){var n,i={},r=_[e]=_[e]||{};for(n in r)r.hasOwnProperty(n...
function c (line 2) | function c(e,t){return e.replace(/(javascript:noCaptcha.reset\()(\))/gi,...
function t (line 3) | function t(e,t,n){var o=i.obj2param({appkey:encodeURIComponent(e),token:...
function n (line 3) | function n(t){o.console&&void 0;var n=e+"jstracker.2",r=i.obj2param({typ...
function n (line 4) | function n(){}
function e (line 4) | function e(e){return("00"+e).slice(-2)}
function t (line 4) | function t(e){return("000"+e).slice(-3)}
function o (line 4) | function o(e){var t;e&&(t=e.filename+"")&&(t=t.split("?")[0],t.match(/(\...
function i (line 4) | function i(e){"function"==typeof ncDowngrade?(ncDowngrade(),e&&r.__nc&&r...
function i (line 4) | function i(e){var n=new s(e);d[t.index]=n.__nc;var i=["on","reset","relo...
function r (line 4) | function r(e){var n=new l(e,t,c);return d[t.index]=n,n}
function a (line 4) | function a(e){return e&&"scrape"===e.type?r(e):i(e)}
function o (line 4) | function o(e,t,n){var o=void 0,i=r.createElement("script");i.src=e;var c...
function i (line 4) | function i(e,t,n,i){function r(){c++;var d=e.indexOf("?")>-1?"&":"?",u=e...
function o (line 4) | function o(e,t){return"undefined"!=typeof UA_Opt[e]&&UA_Opt[e]>0?UA_Opt[...
function o (line 4) | function o(e,t,n){var o=e.prefix,a=1,u=navigator&&navigator.userAgent||"...
function o (line 4) | function o(){var e=a.createElement("style");e.appendChild(a.createTextNo...
function i (line 4) | function i(e,t,n,o){"number"!=typeof o&&(o=1),"insertRule"in e?e.insertR...
function r (line 4) | function r(e){var t=a.createElement("style");t.type="text/css",t.classNa...
function o (line 4) | function o(e,t){return this.options=e||{},this.params=t||{},this.init(),...
function i (line 4) | function i(e){var t=p.defer(),n=e.data||{},o=("jsonp_"+Math.random()).re...
function r (line 4) | function r(e){var t=p.defer(),n=new Image;return n.onload=function(){t.r...
function a (line 4) | function a(e){e.style.display="block"}
function c (line 4) | function c(e){e.style.display="none"}
function d (line 5) | function d(e,o,r,c){var l=n(49).makeLog(o.foreign?s.gj:s.gm),d=o.glog;"b...
function u (line 5) | function u(i){i=a.mix(a.clone(g),i),t.index++,t.prefix=i.prefix||"nc_"+t...
function p (line 5) | function p(e){e&&this.init(e)}
function _ (line 5) | function _(e){p.prototype[e]=function(){if(this.is_destroyed)return this...
function makeNoCaptcha (line 5) | function makeNoCaptcha(module_nc,opt,inn_vars,nc_events,Scale,onNCEvent,...
function o (line 6) | function o(){var e=navigator.userAgent;return!/Firefox|MSIE/.test(e)}
function i (line 6) | function i(e,t,n){function i(e,n,i){t.TEXTELEM&&(t.TEXTELEM.innerHTML=s[...
function o (line 6) | function o(e,t,n){function o(){c||(c=a()),c()}function a(){function n(){...
function o (line 6) | function o(e){function t(e){return i.getElementById(e)}function o(e){if(...
function o (line 6) | function o(e){var t=e.prefix,n='\n<div id="'+t+'wrapper" class="nc_wrapp...
function o (line 6) | function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 6) | function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.en...
function e (line 6) | function e(t,n,i){o(this,e);var r=s.language;t.foreign&&(r="en",s.langua...
function _classCallCheck (line 6) | function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("...
function e (line 6) | function e(e,t){var n=[],o=!0,i=!1,r=void 0;try{for(var a,c=e[Symbol.ite...
function e (line 6) | function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.en...
function Scrape (line 6) | function Scrape(e){var t=arguments.length>1&&void 0!==arguments[1]?argum...
function o (line 7) | function o(e,t,n){function o(e){r||(r=!0,e||i(),t(e))}var r=void 0,a=l[e...
function i (line 7) | function i(){}
function r (line 7) | function r(e,t,n){function o(e){r||(r=!0,e||a(),t(e))}function i(){_?cle...
function a (line 7) | function a(){function e(){(n||umx.getStatus())&&c.__acjs?clearInterval(o...
function o (line 7) | function o(e){return n(i(e))}
function i (line 7) | function i(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '...
function u (line 11) | function u(){var e="function%20javaEnabled%28%29%20%7B%20%5Bnative%20cod...
function d (line 11) | function d(t,o){var a="AWSC_SPECIFY_"+t.toUpperCase()+"_ADDRESSES";if(e[...
function v (line 11) | function v(e){var t="https://g.alicdn.com/";if(!e)return t;if(/aliexpres...
function C (line 11) | function C(){for(var e=document.getElementsByTagName("script"),t=0;t<e.l...
function _ (line 11) | function _(e){for(var t=void 0,n=0;n<o.length;n++){for(var a=o[n],r=0;r<...
function j (line 11) | function j(e){for(var t=0;t<f.length;t++){var n=f[t];if(n.name===e)retur...
function S (line 11) | function S(e){for(var t=void 0,n=0;n<o.length;n++){var a=o[n];if(a.name=...
function W (line 11) | function W(e,n,o){if(o)for(var a=0;a<e.normalAddresses.length;a++){var r...
function T (line 11) | function T(t,n,o){var a="https://acjs.aliyun.com/error?v="+t+"&e="+encod...
function w (line 11) | function w(e,t){Math.random()<1e-4&&T("awsc_state","feature="+e.name+"&s...
function k (line 11) | function k(e,t,n,o){var a=_(e);if(!a)return"function"==typeof t&&t(h),vo...
function M (line 11) | function M(e,t,n){var o=j(e);if(o)if(o.state===g)k(e,t,n,o);else if(o.st...
function B (line 11) | function B(e,t,n){var o=!1;try{var a=S(e);a||void 0,a.moduleLoadStatus=b...
function U (line 11) | function U(e){e.AWSCFY=function(){},e.AWSC.configFY=function(e,n,o,a){re...
function D (line 11) | function D(e){var t=function(){};e.AWSC.configFYEx=function(e,t,o){retur...
function E (line 11) | function E(e){var t=g_moduleConfig.etModule,o=Math.ceil(Math.random()*n)...
function x (line 11) | function x(e){e.AWSC||(e.AWSC={},e.AWSC.use=M,e.AWSCInner={},e.AWSCInner...
function e (line 16) | function e(r,s,d,p,v){var u,g,m,y,R,_,L,T,M,I,P,D,N,U,B,z,V,Q,W,G,F,q,H,...
function o (line 24) | function o(e,o){function n(e){for(var o=1;void 0!==o;){var r=3&o,a=o>>2,...
function n (line 24) | function n(e,n,t){for(var r=768;void 0!==r;){var a=63&r,i=r>>6,h=63&i;sw...
function t (line 24) | function t(){var o="f";o+="ro",o+="mCom",o+="pat",o+="ibilit",o+="y",E[o...
function r (line 24) | function r(e){for(var o=1;void 0!==o;){var n=7&o,t=o>>3,r=7&t;switch(n){...
function a (line 24) | function a(){for(var e=9;void 0!==e;){var o=15&e,n=e>>4,t=15&n;switch(o)...
function i (line 24) | function i(){var o=a(),n="e";n+="u",n+="la",n+="v",n=n.split("").reverse...
function h (line 24) | function h(e){for(var o=1;void 0!==o;){var n=1&o,t=o>>1,a=1&t;switch(n){...
function c (line 24) | function c(e){for(var o=1;void 0!==o;){var n=3&o,t=o>>2,a=3&t;switch(n){...
function s (line 24) | function s(e){for(var o=2;void 0!==o;){var n=7&o,t=o>>3,r=7&t;switch(n){...
function d (line 24) | function d(e){for(var o=3;void 0!==o;){var n=7&o,t=o>>3,r=7&t;switch(n){...
function e (line 28) | function e(b,k,o,t,n){var d,v,h,l,u,f,C,p,g,m,w,S,A,j,$,M,y,T,B,I,P,_,E,...
FILE: work/boss.js
function Y4P (line 1) | function Y4P(){var WW=0,ykF=[5,2,24,7,10,1,18,12,25,22,14,19,6,27,3,16,9...
function Gt (line 1) | function Gt(){function w9l(){var i="I7r",j=1,l=[],m="abcdefghijk";j=j+1;...
function J3b (line 1) | function J3b(){function FH(a,b,c){var i,j=1,l=-1,m=2,p=0;if(j+l>0){p=m>>...
function E3l (line 1) | function E3l(){var Lfc=14;while(!![]){switch(Lfc){case 1:i=1;Lfc+=2;brea...
function wNe (line 1) | function wNe(){var DYj=0,hSW=[4,10,12,8,3,9,2,5,20,21,15];while(!![]){sw...
function ZAL (line 1) | function ZAL(){var zft=0,IrR=[13,18,21,27,26,9,3,17,11,16,12,5,10,19,4,2...
function vFu (line 1) | function vFu(){var M3P=81;while(!![]){switch(M3P){case 1:var aC=J+K;M3P+...
function h2 (line 1) | function h2(a,b,c){var uU2=40;while(!![]){switch(uU2){case 1:aq=0;uU2+=1...
function HfE (line 1) | function HfE(a,b){var Nm5=0,z9l=[127,100,39,121,8,65,31,47,103,82,76,63,...
function w (line 1) | function w(){var Oi1=0,ueC=[24,34,37,31,17,13,25,14,18,20,30,9,11,19,39,...
function _$ (line 1) | function _$(a,b){var lA6=5;while(!![]){switch(lA6){case 1:var p,q,r;lA6+...
function yS$ (line 1) | function yS$(){var B5h=3;while(!![]){switch(B5h){case 1:l=q;B5h+=4;break...
function Jz1 (line 1) | function Jz1(a){var o0O=0,rM=[55,25,4,35,1,37,46,45,18,83,74,54,21,39,10...
function pgV (line 1) | function pgV(){var ygY=0,YEg=[14,13,3,20,7,18,10,17,21,12];while(!![]){s...
function TL_ (line 1) | function TL_(){var i=[1,2],j=[3,4],l=[],m=0,p=0,q=i.length+j.length,r="q...
function B1 (line 1) | function B1(){var OZr=18;while(!![]){switch(OZr){case 1:for(var u=0;u<j....
function Qjz (line 1) | function Qjz(){var Q07=9;while(!![]){switch(Q07){case 1:m=m+l[8];Q07+=16...
function Ais (line 1) | function Ais(){var PZ=0,NI8=[16,8,27,21,9,11,25,14,5,19,7,26,1,28,20,4,1...
function F$j (line 1) | function F$j(){var k0l=0,TJZ=[28,20,1,21,6,22,3,14,13,27,26,12,7,17,5,10...
function L_O (line 1) | function L_O(){var uBa=25;while(!![]){switch(uBa){case 1:l=I.length;uBa+...
function tO (line 1) | function tO(){var FtT=13;while(!![]){switch(FtT){case 1:az=1;FtT+=100;br...
function NQY (line 1) | function NQY(){var CWe=0,Lu=[7,1,2,6,26,19,3,16,23,15,25,17,5,13,4,11,24...
function mMa (line 1) | function mMa(){var P4=0,TTZ=[18,7,23,10,27,19,6,4,5,17,12,25,13,26,21,14...
function HQC (line 1) | function HQC(a,b){function MC(c){if(c.length<=1){return null}else{var i=...
function tEj (line 1) | function tEj(a,b,c,d,e){while(!![]){switch(a){case 1:for(var jP=0,jQ=ZH....
FILE: work/jrtt/ac_sign.js
function a (line 1) | function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1...
function d (line 1) | function d(b,e,f){return(d=a()?Reflect.construct:function(b,e,f){var a=[...
function c (line 1) | function c(b,e){return(c=Object.setPrototypeOf||function(b,e){return b._...
function n (line 1) | function n(b){return function(b){if(Array.isArray(b)){for(var e=0,f=new ...
function F (line 1) | function F(b,e,f){for(var a=e;a<e+f;){var d=y(b,a);B[a]=d,a+=2;k[d]?(W[a...
function G (line 1) | function G(b,e,f,a,c,l,m,I){null==l&&(l=this);var C,q,w,S=[],R=0;m&&(C=m...
function K (line 1) | function K(b,e,f,a,d,c,n,i){var r,t;null==c&&(c=this),d&&!d.d&&(d.d=0,d....
function _f1 (line 3) | function _f1(e, t) {
function _f2 (line 15) | function _f2(e) {
function _f3 (line 18) | function _f3(e, t, o) {
FILE: work/jrtt/jrtt.js
function a (line 1) | function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1...
function d (line 1) | function d(b,e,f){return(d=a()?Reflect.construct:function(b,e,f){var a=[...
function c (line 1) | function c(b,e){return(c=Object.setPrototypeOf||function(b,e){return b._...
function n (line 1) | function n(b){return function(b){if(Array.isArray(b)){for(var e=0,f=new ...
function F (line 1) | function F(b,e,f){for(var a=e;a<e+f;){var d=y(b,a);B[a]=d,a+=2;k[d]?(W[a...
function G (line 1) | function G(b,e,f,a,c,l,m,I){null==l&&(l=this);var C,q,w,S=[],R=0;m&&(C=m...
function K (line 1) | function K(b,e,f,a,d,c,n,i){var r,t;null==c&&(c=this),d&&!d.d&&(d.d=0,d....
function get_s_v_web_id (line 9) | function get_s_v_web_id() {
FILE: work/rsvmp.js
function _$bH (line 7) | function _$bH(){var _$_2=[35];Array.prototype.push.apply(_$_2,arguments)...
function _$he (line 7) | function _$he(_$jd){return _$bH;function _$bH(){_$jd=0x3d3f*(_$jd&0xFFFF...
function _$b9 (line 7) | function _$b9(_$bH,_$dI){var _$_K,_$_S,_$jy; !_$dI?_$dI=_$je:0,_$_K=_$bH...
function _$hn (line 11) | function _$hn(_$iR,_$_A,_$eU){function _$hy(){return _$$8.charCodeAt(_$$...
FILE: work/zhihu/x81.js
function t (line 5) | function t() {
function i (line 8) | function i(e) {
function h (line 15) | function h(e) {
function B (line 20) | function B(e) {
function n (line 27) | function n(e) {
function Q (line 32) | function Q() {
function a (line 35) | function a(e) {
function C (line 42) | function C(e) {
function c (line 47) | function c(e) {
function o (line 229) | function o(e) {
function k (line 236) | function k(e) {
function g (line 242) | function g(e) {
function G (line 247) | function G(e) {
function r (line 251) | function r(e) {
function w (line 255) | function w(e) {
function E (line 259) | function E(e) {
function D (line 265) | function D() {
function M (line 437) | function M() {
FILE: work/zhihu/zhihu.js
function o (line 2) | function o(t) {
function x (line 11) | function x(e) {
function C (line 14) | function C(t) {
function s (line 21) | function s(t) {
function t (line 25) | function t() {
function i (line 32) | function i(t, e, n) {
function B (line 38) | function B(t, e) {
function Q (line 41) | function Q(t, e) {
function G (line 44) | function G(t) {
function l (line 84) | function l() {
function o (line 511) | function o(t) {
function x (line 520) | function x(e) {
function C (line 523) | function C(t) {
function s (line 530) | function s(t) {
function t (line 534) | function t() {
function i (line 541) | function i(t, e, n) {
function B (line 547) | function B(t, e) {
function Q (line 550) | function Q(t, e) {
function G (line 553) | function G(t) {
function l (line 593) | function l() {
Condensed preview — 190 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,401K chars).
[
{
"path": ".idea/.gitignore",
"chars": 176,
"preview": "# Default ignored files\n/shelf/\n/workspace.xml\n# Datasource local storage ignored files\n/dataSources/\n/dataSources.local"
},
{
"path": ".idea/inspectionProfiles/Project_Default.xml",
"chars": 879,
"preview": "<component name=\"InspectionProjectProfileManager\">\n <profile version=\"1.0\">\n <option name=\"myName\" value=\"Project De"
},
{
"path": ".idea/inspectionProfiles/profiles_settings.xml",
"chars": 174,
"preview": "<component name=\"InspectionProjectProfileManager\">\n <settings>\n <option name=\"USE_PROJECT_PROFILE\" value=\"false\" />\n"
},
{
"path": ".idea/misc.xml",
"chars": 288,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"JavaScriptSettings\">\n <option name=\"l"
},
{
"path": ".idea/modules.xml",
"chars": 276,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"ProjectModuleManager\">\n <modules>\n "
},
{
"path": ".idea/node-sandbox.iml",
"chars": 398,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module type=\"PYTHON_MODULE\" version=\"4\">\n <component name=\"NewModuleRootManager"
},
{
"path": ".idea/vcs.xml",
"chars": 180,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"VcsDirectoryMappings\">\n <mapping dire"
},
{
"path": "LICENSE",
"chars": 11357,
"preview": " Apache License\n Version 2.0, January 2004\n "
},
{
"path": "README.md",
"chars": 4546,
"preview": "# 魔改Node Js补环境框架\n\n## 内置对象Utils\n\nUtils是v8对象, 内置了几个重要函数.\n\n1. defineProperty\n作用: 重写属性描述符, 即使是configurable为false 也能强行修改然后del"
},
{
"path": "env/ANGLEInstancedArrays.js",
"chars": 892,
"preview": "// prototype(无构造函数)的原型方法\nglobalMy.ANGLEInstancedArrays_drawArraysInstancedANGLE = function () {\n let result;\n //这里写方法实"
},
{
"path": "env/AnalyserNode.js",
"chars": 5219,
"preview": "globalMy.AnalyserNode_get_fftSize = function () {\n if (!(this instanceof AnalyserNode)) {\n throw new TypeError"
},
{
"path": "env/AudioContext.js",
"chars": 4950,
"preview": "globalMy.AudioContext_get_baseLatency = function () {\n if (!(this instanceof AudioContext)) {\n throw new TypeE"
},
{
"path": "env/AudioListener.js",
"chars": 4274,
"preview": "globalMy.AudioListener_get_positionX = function () {\n if (!(this instanceof AudioListener)) {\n throw new TypeE"
},
{
"path": "env/AudioNode.js",
"chars": 4127,
"preview": "globalMy.AudioNode_get_context = function () {\n if (!(this instanceof AudioNode)) {\n throw new TypeError(\"Illegal in"
},
{
"path": "env/AudioParam.js",
"chars": 5058,
"preview": "globalMy.AudioParam_get_value = function () {\n if (!(this instanceof AudioParam)) {\n throw new TypeError(\"Illegal in"
},
{
"path": "env/AudioScheduledSourceNode.js",
"chars": 1539,
"preview": "globalMy.AudioScheduledSourceNode_get_onended = function () {\n if (!(this instanceof AudioScheduledSourceNode)) {\n t"
},
{
"path": "env/BarProp.js",
"chars": 414,
"preview": "globalMy.BarProp_get_visible = function () {\n if (!(this instanceof BarProp)) {\n throw new TypeError(\"Illegal invoca"
},
{
"path": "env/BaseAudioContext.js",
"chars": 10050,
"preview": "// prototype(无构造函数)的原型方法\n// prototype(无构造函数)的原型方法\nglobalMy.BaseAudioContext_get_destination = function () {\n if (!(this"
},
{
"path": "env/BatteryManager.js",
"chars": 5003,
"preview": "globalMy.BatteryManager_get_charging = function () {\n if (!(this instanceof BatteryManager)) {\n throw new TypeError("
},
{
"path": "env/Blob.js",
"chars": 2419,
"preview": "globalMy.Blob_get_size = function(){\n if (!(this instanceof Blob)) {\n throw new TypeError(\"Illeg"
},
{
"path": "env/CSSStyleDeclaration.js",
"chars": 8776,
"preview": "globalMy.CSSStyleDeclaration_get_cssText = function () {\n if (!(this instanceof CSSStyleDeclaration)) {\n throw new T"
},
{
"path": "env/CSSStyleRule.js",
"chars": 3688,
"preview": "globalMy.CSSStyleRule_get_selectorText = function () {\n if (!(this instanceof CSSStyleRule)) {\n throw new TypeError("
},
{
"path": "env/CSSStyleSheet.js",
"chars": 6913,
"preview": "globalMy.CSSStyleSheet_get_ownerRule = function () {\n if (!(this instanceof CSSStyleSheet)) {\n throw new TypeError(\""
},
{
"path": "env/CanvasGradient.js",
"chars": 809,
"preview": "globalMy.CanvasGradient_addColorStop = function () {\n if (!(this instanceof CanvasGradient)) {\n throw new TypeError("
},
{
"path": "env/CanvasRenderingContext2D.js",
"chars": 80619,
"preview": "globalMy.CanvasRenderingContext2D_get_canvas = function () {\n if (!(this instanceof CanvasRenderingContext2D)) {\n th"
},
{
"path": "env/Crypto.js",
"chars": 1052,
"preview": "globalMy.Crypto_getRandomValues = function () {\n if (!(this instanceof Crypto)) {\n throw new TypeError(\"Illega"
},
{
"path": "env/CustomElementRegistry.js",
"chars": 1452,
"preview": "globalMy.CustomElementRegistry_define = function () {\n if (!(this instanceof CustomElementRegistry)) {\n throw new Ty"
},
{
"path": "env/CustomEvent.js",
"chars": 792,
"preview": "globalMy.CustomEvent_get_detail = function () {\n if (!(this instanceof CustomEvent)) {\n throw new TypeError(\"I"
},
{
"path": "env/DOMTokenList.js",
"chars": 12885,
"preview": "globalMy.DOMTokenList_entries = function () {\n if (!(this instanceof DOMTokenList)) {\n throw new TypeError(\"Il"
},
{
"path": "env/Database.js",
"chars": 1133,
"preview": "globalMy.Database_get_version = function () {\n let result;\n var foundName = globalMy.foundName(this);\n result = globa"
},
{
"path": "env/DeprecatedStorageInfo.js",
"chars": 543,
"preview": "globalMy.DeprecatedStorageInfo_queryUsageAndQuota = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {\n "
},
{
"path": "env/DeprecatedStorageQuota.js",
"chars": 575,
"preview": "globalMy.DeprecatedStorageQuota_queryUsageAndQuota = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {\n "
},
{
"path": "env/Document.js",
"chars": 269769,
"preview": "// 函数实现\n// SpeechSynthesis\nglobalMy.Document_get_implementation = function () {\n if (!(this instanceof Document)) {\n "
},
{
"path": "env/DocumentType.js",
"chars": 5272,
"preview": "globalMy.DocumentType_get_name = function () {\n if (!(this instanceof DocumentType)) {\n throw new TypeError(\"Illegal"
},
{
"path": "env/DynamicsCompressorNode.js",
"chars": 2393,
"preview": "globalMy.DynamicsCompressorNode_get_threshold = function () {\n if (!(this instanceof DynamicsCompressorNode)) {\n thr"
},
{
"path": "env/EXTDisjointTimerQuery.js",
"chars": 2145,
"preview": "globalMy.EXTDisjointTimerQuery_beginQueryEXT = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {\n cons"
},
{
"path": "env/Element.js",
"chars": 145821,
"preview": "globalMy.Element_get_namespaceURI = function () {\n if (!(this instanceof Element)) {\n throw new TypeError(\"Illegal i"
},
{
"path": "env/Event.js",
"chars": 6815,
"preview": "// Event\n// Event\nglobalMy.Event_get_type = function () {\n if (!(this instanceof Event)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/External.js",
"chars": 1110,
"preview": "globalMy.External_AddSearchProvider = function () {\n if (!(this instanceof External)) {\n throw new TypeError(\""
},
{
"path": "env/GainNode.js",
"chars": 370,
"preview": "globalMy.GainNode_get_gain = function () {\n if (!(this instanceof GainNode)) {\n throw new TypeError(\"Illegal i"
},
{
"path": "env/HTMLAllCollection.js",
"chars": 1107,
"preview": "// dom构造函数原型方法\n// dom构造函数原型方法\nglobalMy.HTMLAllCollection_get_length = function () {\n if (!(this instanceof HTMLAllColle"
},
{
"path": "env/HTMLAnchorElement.js",
"chars": 39228,
"preview": "globalMy.HTMLAnchorElement_get_target = function () {\n if (!(this instanceof HTMLAnchorElement)) {\n throw new TypeEr"
},
{
"path": "env/HTMLAreaElement.js",
"chars": 31331,
"preview": "globalMy.HTMLAreaElement_get_alt = function () {\n if (!(this instanceof HTMLAreaElement)) {\n throw new TypeError(\"Il"
},
{
"path": "env/HTMLBRElement.js",
"chars": 1463,
"preview": "globalMy.HTMLBRElement_get_clear = function () {\n if (!(this instanceof HTMLBRElement)) {\n throw new TypeError(\"Ille"
},
{
"path": "env/HTMLBaseElement.js",
"chars": 2959,
"preview": "globalMy.HTMLBaseElement_get_href = function () {\n if (!(this instanceof HTMLBaseElement)) {\n throw new TypeError(\"I"
},
{
"path": "env/HTMLBodyElement.js",
"chars": 42600,
"preview": "globalMy.HTMLBodyElement_get_text = function () {\n if (!(this instanceof HTMLBodyElement)) {\n throw new TypeError(\"I"
},
{
"path": "env/HTMLButtonElement.js",
"chars": 19938,
"preview": "globalMy.HTMLButtonElement_get_disabled = function () {\n if (!(this instanceof HTMLButtonElement)) {\n throw new Type"
},
{
"path": "env/HTMLCanvasElement.js",
"chars": 7126,
"preview": "globalMy.HTMLCanvasElement_get_width = function () {\n if (!(this instanceof HTMLCanvasElement)) {\n throw new TypeErr"
},
{
"path": "env/HTMLCollection.js",
"chars": 1050,
"preview": "globalMy.HTMLCollection_get_length = function () {\n if (!(this instanceof HTMLCollection)) {\n throw new TypeError(\"I"
},
{
"path": "env/HTMLDListElement.js",
"chars": 1505,
"preview": "globalMy.HTMLDListElement_get_compact = function () {\n if (!(this instanceof HTMLDListElement)) {\n throw new TypeErr"
},
{
"path": "env/HTMLDataElement.js",
"chars": 1479,
"preview": "globalMy.HTMLDataElement_get_value = function () {\n if (!(this instanceof HTMLDataElement)) {\n throw new TypeError(\""
},
{
"path": "env/HTMLDataListElement.js",
"chars": 737,
"preview": "globalMy.HTMLDataListElement_get_options = function () {\n if (!(this instanceof HTMLDataListElement)) {\n throw new T"
},
{
"path": "env/HTMLDetailsElement.js",
"chars": 1494,
"preview": "globalMy.HTMLDetailsElement_get_open = function () {\n if (!(this instanceof HTMLDetailsElement)) {\n throw new TypeEr"
},
{
"path": "env/HTMLDialogElement.js",
"chars": 5430,
"preview": "globalMy.HTMLDialogElement_get_open = function () {\n if (!(this instanceof HTMLDialogElement)) {\n throw new TypeErro"
},
{
"path": "env/HTMLDirectoryElement.js",
"chars": 1537,
"preview": "globalMy.HTMLDirectoryElement_get_compact = function () {\n if (!(this instanceof HTMLDirectoryElement)) {\n throw new"
},
{
"path": "env/HTMLDivElement.js",
"chars": 1471,
"preview": "globalMy.HTMLDivElement_get_align = function () {\n if (!(this instanceof HTMLDivElement)) {\n throw new TypeError(\"Il"
},
{
"path": "env/HTMLElement.js",
"chars": 184976,
"preview": "globalMy.HTMLElement_get_title = function () {\n if (!(this instanceof HTMLElement)) {\n throw new TypeError(\"Illegal "
},
{
"path": "env/HTMLEmbedElement.js",
"chars": 9726,
"preview": "globalMy.HTMLEmbedElement_get_src = function () {\n if (!(this instanceof HTMLEmbedElement)) {\n throw new TypeError(\""
},
{
"path": "env/HTMLFieldSetElement.js",
"chars": 10035,
"preview": "globalMy.HTMLFieldSetElement_get_disabled = function () {\n if (!(this instanceof HTMLFieldSetElement)) {\n throw new "
},
{
"path": "env/HTMLFontElement.js",
"chars": 4421,
"preview": "globalMy.HTMLFontElement_get_color = function () {\n if (!(this instanceof HTMLFontElement)) {\n throw new TypeError(\""
},
{
"path": "env/HTMLFormElement.js",
"chars": 22000,
"preview": "globalMy.HTMLFormElement_get_acceptCharset = function () {\n if (!(this instanceof HTMLFormElement)) {\n throw new Typ"
},
{
"path": "env/HTMLFrameElement.js",
"chars": 13645,
"preview": "globalMy.HTMLFrameElement_get_name = function () {\n if (!(this instanceof HTMLFrameElement)) {\n throw new TypeError("
},
{
"path": "env/HTMLFrameSetElement.js",
"chars": 37385,
"preview": "globalMy.HTMLFrameSetElement_get_cols = function () {\n if (!(this instanceof HTMLFrameSetElement)) {\n throw new Type"
},
{
"path": "env/HTMLHRElement.js",
"chars": 7328,
"preview": "globalMy.HTMLHRElement_get_align = function () {\n if (!(this instanceof HTMLHRElement)) {\n throw new TypeError(\"Ille"
},
{
"path": "env/HTMLHeadingElement.js",
"chars": 1503,
"preview": "globalMy.HTMLHeadingElement_get_align = function () {\n if (!(this instanceof HTMLHeadingElement)) {\n throw new TypeE"
},
{
"path": "env/HTMLHtmlElement.js",
"chars": 1497,
"preview": "globalMy.HTMLHtmlElement_get_version = function () {\n if (!(this instanceof HTMLHtmlElement)) {\n throw new TypeError"
},
{
"path": "env/HTMLIFrameElement.js",
"chars": 32144,
"preview": "globalMy.HTMLIFrameElement_get_src = function () {\n if (!(this instanceof HTMLIFrameElement)) {\n throw new TypeError"
},
{
"path": "env/HTMLImageElement.js",
"chars": 35218,
"preview": "globalMy.HTMLImageElement_get_alt = function () {\n if (!(this instanceof HTMLImageElement)) {\n throw new TypeError(\""
},
{
"path": "env/HTMLInputElement.js",
"chars": 74778,
"preview": "globalMy.HTMLInputElement_get_accept = function () {\n if (!(this instanceof HTMLInputElement)) {\n throw new TypeErro"
},
{
"path": "env/HTMLLIElement.js",
"chars": 2918,
"preview": "globalMy.HTMLLIElement_get_value = function () {\n if (!(this instanceof HTMLLIElement)) {\n throw new TypeError(\"Ille"
},
{
"path": "env/HTMLLabelElement.js",
"chars": 2945,
"preview": "globalMy.HTMLLabelElement_get_form = function () {\n if (!(this instanceof HTMLLabelElement)) {\n throw new TypeError("
},
{
"path": "env/HTMLLegendElement.js",
"chars": 2213,
"preview": "globalMy.HTMLLegendElement_get_form = function () {\n if (!(this instanceof HTMLLegendElement)) {\n throw new TypeErro"
},
{
"path": "env/HTMLLinkElement.js",
"chars": 29220,
"preview": "globalMy.HTMLLinkElement_get_disabled = function () {\n if (!(this instanceof HTMLLinkElement)) {\n throw new TypeErro"
},
{
"path": "env/HTMLMapElement.js",
"chars": 2172,
"preview": "globalMy.HTMLMapElement_get_name = function () {\n if (!(this instanceof HTMLMapElement)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/HTMLMarqueeElement.js",
"chars": 18387,
"preview": "globalMy.HTMLMarqueeElement_get_behavior = function () {\n if (!(this instanceof HTMLMarqueeElement)) {\n throw new Ty"
},
{
"path": "env/HTMLMediaElement.js",
"chars": 46651,
"preview": "globalMy.HTMLMediaElement_get_error = function () {\n if (!(this instanceof HTMLMediaElement)) {\n throw new TypeError"
},
{
"path": "env/HTMLMenuElement.js",
"chars": 1497,
"preview": "globalMy.HTMLMenuElement_get_compact = function () {\n if (!(this instanceof HTMLMenuElement)) {\n throw new TypeError"
},
{
"path": "env/HTMLMetaElement.js",
"chars": 7453,
"preview": "globalMy.HTMLMetaElement_get_name = function () {\n if (!(this instanceof HTMLMetaElement)) {\n throw new TypeError(\"I"
},
{
"path": "env/HTMLMeterElement.js",
"chars": 9604,
"preview": "globalMy.HTMLMeterElement_get_value = function () {\n if (!(this instanceof HTMLMeterElement)) {\n throw new TypeError"
},
{
"path": "env/HTMLModElement.js",
"chars": 2961,
"preview": "globalMy.HTMLModElement_get_cite = function () {\n if (!(this instanceof HTMLModElement)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/HTMLOListElement.js",
"chars": 5987,
"preview": "globalMy.HTMLOListElement_get_reversed = function () {\n if (!(this instanceof HTMLOListElement)) {\n throw new TypeEr"
},
{
"path": "env/HTMLObjectElement.js",
"chars": 31868,
"preview": "globalMy.HTMLObjectElement_get_data = function () {\n if (!(this instanceof HTMLObjectElement)) {\n throw new TypeErro"
},
{
"path": "env/HTMLOptGroupElement.js",
"chars": 3050,
"preview": "globalMy.HTMLOptGroupElement_get_disabled = function () {\n if (!(this instanceof HTMLOptGroupElement)) {\n throw new "
},
{
"path": "env/HTMLOptionElement.js",
"chars": 10550,
"preview": "globalMy.HTMLOptionElement_get_disabled = function () {\n if (!(this instanceof HTMLOptionElement)) {\n throw new Type"
},
{
"path": "env/HTMLOutputElement.js",
"chars": 12969,
"preview": "globalMy.HTMLOutputElement_get_htmlFor = function () {\n if (!(this instanceof HTMLOutputElement)) {\n throw new TypeE"
},
{
"path": "env/HTMLParagraphElement.js",
"chars": 1519,
"preview": "globalMy.HTMLParagraphElement_get_align = function () {\n if (!(this instanceof HTMLParagraphElement)) {\n throw new T"
},
{
"path": "env/HTMLParamElement.js",
"chars": 5969,
"preview": "globalMy.HTMLParamElement_get_name = function () {\n if (!(this instanceof HTMLParamElement)) {\n throw new TypeError("
},
{
"path": "env/HTMLPreElement.js",
"chars": 1471,
"preview": "globalMy.HTMLPreElement_get_width = function () {\n if (!(this instanceof HTMLPreElement)) {\n throw new TypeError(\"Il"
},
{
"path": "env/HTMLProgressElement.js",
"chars": 4481,
"preview": "globalMy.HTMLProgressElement_get_value = function () {\n if (!(this instanceof HTMLProgressElement)) {\n throw new Typ"
},
{
"path": "env/HTMLQuoteElement.js",
"chars": 1478,
"preview": "globalMy.HTMLQuoteElement_get_cite = function () {\n if (!(this instanceof HTMLQuoteElement)) {\n throw new TypeError("
},
{
"path": "env/HTMLScriptElement.js",
"chars": 21240,
"preview": "globalMy.HTMLScriptElement_get_src = function () {\n if (!(this instanceof HTMLScriptElement)) {\n throw new TypeError"
},
{
"path": "env/HTMLSelectElement.js",
"chars": 25260,
"preview": "globalMy.HTMLSelectElement_get_autocomplete = function () {\n if (!(this instanceof HTMLSelectElement)) {\n throw new "
},
{
"path": "env/HTMLSlotElement.js",
"chars": 3908,
"preview": "globalMy.HTMLSlotElement_get_name = function () {\n if (!(this instanceof HTMLSlotElement)) {\n throw new TypeError(\"I"
},
{
"path": "env/HTMLSourceElement.js",
"chars": 10462,
"preview": "globalMy.HTMLSourceElement_get_src = function () {\n if (!(this instanceof HTMLSourceElement)) {\n throw new TypeError"
},
{
"path": "env/HTMLStyleElement.js",
"chars": 6714,
"preview": "globalMy.HTMLStyleElement_get_disabled = function () {\n if (!(this instanceof HTMLStyleElement)) {\n throw new TypeEr"
},
{
"path": "env/HTMLTableCaptionElement.js",
"chars": 1543,
"preview": "globalMy.HTMLTableCaptionElement_get_align = function () {\n if (!(this instanceof HTMLTableCaptionElement)) {\n throw"
},
{
"path": "env/HTMLTableCellElement.js",
"chars": 22083,
"preview": "globalMy.HTMLTableCellElement_get_colSpan = function () {\n if (!(this instanceof HTMLTableCellElement)) {\n throw new"
},
{
"path": "env/HTMLTableColElement.js",
"chars": 9044,
"preview": "globalMy.HTMLTableColElement_get_span = function () {\n if (!(this instanceof HTMLTableColElement)) {\n throw new Type"
},
{
"path": "env/HTMLTableElement.js",
"chars": 26792,
"preview": "globalMy.HTMLTableElement_get_caption = function () {\n if (!(this instanceof HTMLTableElement)) {\n throw new TypeErr"
},
{
"path": "env/HTMLTableRowElement.js",
"chars": 11445,
"preview": "globalMy.HTMLTableRowElement_get_rowIndex = function () {\n if (!(this instanceof HTMLTableRowElement)) {\n throw new "
},
{
"path": "env/HTMLTableSectionElement.js",
"chars": 8567,
"preview": "globalMy.HTMLTableSectionElement_get_rows = function () {\n if (!(this instanceof HTMLTableSectionElement)) {\n throw "
},
{
"path": "env/HTMLTemplateElement.js",
"chars": 1487,
"preview": "globalMy.HTMLTemplateElement_get_content = function () {\n if (!(this instanceof HTMLTemplateElement)) {\n throw new T"
},
{
"path": "env/HTMLTextAreaElement.js",
"chars": 36501,
"preview": "globalMy.HTMLTextAreaElement_get_autocomplete = function () {\n if (!(this instanceof HTMLTextAreaElement)) {\n throw "
},
{
"path": "env/HTMLTimeElement.js",
"chars": 1506,
"preview": "globalMy.HTMLTimeElement_get_dateTime = function () {\n if (!(this instanceof HTMLTimeElement)) {\n throw new TypeErro"
},
{
"path": "env/HTMLTitleElement.js",
"chars": 1478,
"preview": "globalMy.HTMLTitleElement_get_text = function () {\n if (!(this instanceof HTMLTitleElement)) {\n throw new TypeError("
},
{
"path": "env/HTMLTrackElement.js",
"chars": 8904,
"preview": "globalMy.HTMLTrackElement_get_kind = function () {\n if (!(this instanceof HTMLTrackElement)) {\n throw new TypeError("
},
{
"path": "env/HTMLUListElement.js",
"chars": 2984,
"preview": "globalMy.HTMLUListElement_get_compact = function () {\n if (!(this instanceof HTMLUListElement)) {\n throw new TypeErr"
},
{
"path": "env/HTMLVideoElement.js",
"chars": 24963,
"preview": "globalMy.HTMLVideoElement_get_width = function () {\n if (!(this instanceof HTMLVideoElement)) {\n throw new TypeError"
},
{
"path": "env/History.js",
"chars": 3012,
"preview": "// History\n// History\nglobalMy.History_get_length = function () {\n if (!(this instanceof History)) {\n throw new Type"
},
{
"path": "env/IDBDatabase.js",
"chars": 5478,
"preview": "globalMy.IDBDatabase_get_name = function () {\n if (!(this instanceof IDBDatabase)) {\n throw new TypeError(\"Illegal i"
},
{
"path": "env/IDBFactory.js",
"chars": 1287,
"preview": "globalMy.IDBFactory_cmp = function () {\n if (!(this instanceof IDBFactory)) {\n throw new TypeError(\"Illegal invocati"
},
{
"path": "env/IDBObjectStore.js",
"chars": 7551,
"preview": "globalMy.IDBObjectStore_get_name = function () {\n if (!(this instanceof IDBObjectStore)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/IDBOpenDBRequest.js",
"chars": 3287,
"preview": "// DOMTokenList\n// DOMTokenList\nglobalMy.IDBOpenDBRequest_get_onblocked = function () {\n if (!(this instanceof IDBOpenD"
},
{
"path": "env/IDBRequest.js",
"chars": 6743,
"preview": "globalMy.IDBRequest_get_result = function () {\n if (!(this instanceof IDBRequest)) {\n throw new TypeError(\"Illegal i"
},
{
"path": "env/IDBTransaction.js",
"chars": 6181,
"preview": "globalMy.IDBTransaction_get_objectStoreNames = function () {\n if (!(this instanceof IDBTransaction)) {\n throw new Ty"
},
{
"path": "env/Image.js",
"chars": 33186,
"preview": "// IDBObjectStore\n// IDBObjectStore\nglobalMy.Image_get_alt = function () {\n if (!(this instanceof Image)) {\n throw n"
},
{
"path": "env/ImageData.js",
"chars": 2792,
"preview": "globalMy.ImageData_get_width = function () {\n if (!(this instanceof ImageData)) {\n throw new TypeError(\"Illega"
},
{
"path": "env/InputDeviceCapabilities.js",
"chars": 443,
"preview": "globalMy.InputDeviceCapabilities_get_firesTouchEvents = function () {\n if (!(this instanceof InputDeviceCapabilities)) "
},
{
"path": "env/MediaEncryptedEvent.js",
"chars": 827,
"preview": "globalMy.MediaEncryptedEvent_get_initDataType = function () {\n if (!(this instanceof MediaEncryptedEvent)) {\n throw "
},
{
"path": "env/MediaQueryList.js",
"chars": 2212,
"preview": "globalMy.MediaQueryList_get_media = function () {\n if (!(this instanceof MediaQueryList)) {\n throw new TypeError(\"Il"
},
{
"path": "env/MimeType.js",
"chars": 1511,
"preview": "globalMy.MimeType_get_type = function () {\n if (!(this instanceof MimeType)) {\n throw new TypeError(\"Illegal invocat"
},
{
"path": "env/MimeTypeArray.js",
"chars": 1069,
"preview": "globalMy.MimeTypeArray_get_length = function () {\n if (!(this instanceof MimeTypeArray)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/MouseEvent.js",
"chars": 9658,
"preview": "// MouseEvent\n// MouseEvent\nglobalMy.MouseEvent_get_screenX = function () {\n if (!(this instanceof MouseEvent)) {\n t"
},
{
"path": "env/MutationObserver.js",
"chars": 2562,
"preview": "// Event\n// Event\nglobalMy.MutationObserver_disconnect = function () {\n if (!(this instanceof MutationObserver)) {\n "
},
{
"path": "env/MutationRecord.js",
"chars": 6623,
"preview": "globalMy.MutationRecord_get_type = function () {\n if (!(this instanceof MutationRecord)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/Navigator.js",
"chars": 23821,
"preview": "// Navigator\n// Navigator\nglobalMy.Navigator_get_vendorSub = function () {\n if (!(this instanceof Navigator)) {\n thr"
},
{
"path": "env/NavigatorUAData.js",
"chars": 1893,
"preview": "// History\n// History\nglobalMy.NavigatorUAData_get_brands = function () {\n if (!(this instanceof NavigatorUAData)) {\n "
},
{
"path": "env/NetworkInformation.js",
"chars": 2351,
"preview": "globalMy.NetworkInformation_get_onchange = function () {\n if (!(this instanceof NetworkInformation)) {\n throw new Ty"
},
{
"path": "env/Node.js",
"chars": 22779,
"preview": "globalMy.Node_get_nodeType = function () {\n if (!(this instanceof Node)) {\n throw new TypeError(\"Illegal invocation\""
},
{
"path": "env/NodeList.js",
"chars": 5024,
"preview": "globalMy.NodeList_entries = function () {\n if (!(this instanceof NodeList)) {\n throw new TypeError(\"Illegal in"
},
{
"path": "env/Notification.js",
"chars": 9157,
"preview": "// 构造函数原型方法\n// 构造函数原型方法\nglobalMy.Notification_get_onclick = function () {\n if (!(this instanceof Notification)) {\n t"
},
{
"path": "env/OESVertexArrayObject.js",
"chars": 1107,
"preview": "globalMy.OESVertexArrayObject_bindVertexArrayOES = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {\n "
},
{
"path": "env/OfflineAudioContext.js",
"chars": 2258,
"preview": "globalMy.OfflineAudioContext_get_oncomplete = function () {\n if (!(this instanceof OfflineAudioContext)) {\n throw ne"
},
{
"path": "env/OffscreenCanvas.js",
"chars": 4418,
"preview": "globalMy.OffscreenCanvas_get_width = function () {\n if (!(this instanceof OffscreenCanvas)) {\n throw new TypeE"
},
{
"path": "env/OffscreenCanvasRenderingContext2D.js",
"chars": 41601,
"preview": "globalMy.OffscreenCanvasRenderingContext2D_get_canvas = function () {\n if (!(this instanceof OffscreenCanvasRenderingCo"
},
{
"path": "env/OscillatorNode.js",
"chars": 1846,
"preview": "globalMy.OscillatorNode_get_type = function () {\n if (!(this instanceof OscillatorNode)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/Path2D.js",
"chars": 3414,
"preview": "globalMy.Path2D_addPath = function () {\n if (!(this instanceof Path2D)) {\n throw new TypeError(\"Illegal invocation\")"
},
{
"path": "env/Performance.js",
"chars": 6484,
"preview": "globalMy.Performance_get_timeOrigin = function () {\n if (!(this instanceof Performance)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/PerformanceEntry.js",
"chars": 1926,
"preview": "globalMy.PerformanceEntry_get_name = function () {\n if (!(this instanceof PerformanceEntry)) {\n throw new TypeError("
},
{
"path": "env/Plugin.js",
"chars": 1779,
"preview": "globalMy.Plugin_get_name = function () {\n if (!(this instanceof Plugin)) {\n throw new TypeError(\"Illegal invocation\""
},
{
"path": "env/PluginArray.js",
"chars": 1379,
"preview": "globalMy.PluginArray_get_length = function () {\n if (!(this instanceof PluginArray)) {\n throw new TypeError(\"Illegal"
},
{
"path": "env/PointerEvent.js",
"chars": 5564,
"preview": "// PointerEvent\n// PointerEvent\nglobalMy.PointerEvent_get_pointerId = function () {\n if (!(this instanceof PointerEvent"
},
{
"path": "env/RTCDataChannel.js",
"chars": 10886,
"preview": "globalMy.RTCDataChannel_get_label = function () {\n if (!(this instanceof RTCDataChannel)) {\n throw new TypeError(\"Il"
},
{
"path": "env/RTCIceCandidate.js",
"chars": 5918,
"preview": "globalMy.RTCIceCandidate_get_candidate = function () {\n if (!(this instanceof RTCIceCandidate)) {\n throw new TypeErr"
},
{
"path": "env/RTCPeerConnection.js",
"chars": 21869,
"preview": "globalMy.RTCPeerConnection_get_localDescription = function () {\n if (!(this instanceof RTCPeerConnection)) {\n throw "
},
{
"path": "env/RTCPeerConnectionIceEvent.js",
"chars": 428,
"preview": "globalMy.RTCPeerConnectionIceEvent_get_candidate = function () {\n if (!(this instanceof RTCPeerConnectionIceEvent)) {\n "
},
{
"path": "env/RTCSessionDescription.js",
"chars": 2021,
"preview": "globalMy.RTCSessionDescription_get_type = function () {\n if (!(this instanceof RTCSessionDescription)) {\n throw new "
},
{
"path": "env/Request.js",
"chars": 7491,
"preview": "// MouseEvent\n// MouseEvent\nglobalMy.Request_get_method = function () {\n if (!(this instanceof Request)) {\n throw ne"
},
{
"path": "env/Screen.js",
"chars": 4463,
"preview": "globalMy.Screen_get_availWidth = function () {\n if (!(this instanceof Screen)) {\n throw new TypeError(\"Illegal invoc"
},
{
"path": "env/ScreenOrientation.js",
"chars": 2309,
"preview": "globalMy.ScreenOrientation_get_angle = function () {\n if (!(this instanceof ScreenOrientation)) {\n throw new TypeErr"
},
{
"path": "env/SpeechSynthesis.js",
"chars": 8954,
"preview": "// 函数实现\n// SpeechSynthesis\nglobalMy.SpeechSynthesis_getVoices = function () {\n var result;\n //这里写方法实体\n let track = []"
},
{
"path": "env/SpeechSynthesisUtterance.js",
"chars": 10960,
"preview": "// 函数实现\n// SpeechSynthesis\n// IDBRequest\nglobalMy.SpeechSynthesisUtterance_get_text = function () {\n if (!(this instanc"
},
{
"path": "env/Storage.js",
"chars": 1655,
"preview": "globalMy.Storage_clear = function () {\n if (!(this instanceof Storage)) {\n throw new TypeError(\"Illegal invocation\")"
},
{
"path": "env/StorageManager.js",
"chars": 1359,
"preview": "globalMy.StorageManager_estimate = function () {\n if (!(this instanceof StorageManager)) {\n throw new TypeError(\"Ill"
},
{
"path": "env/StyleMedia.js",
"chars": 506,
"preview": "globalMy.StyleMedia_get_type = function () {\n let result;\n var foundName = globalMy.foundName(this);\n result = global"
},
{
"path": "env/StyleSheet.js",
"chars": 6428,
"preview": "globalMy.StyleSheet_get_type = function () {\n if (!(this instanceof StyleSheet)) {\n throw new TypeError(\"Illegal inv"
},
{
"path": "env/Text.js",
"chars": 3189,
"preview": "globalMy.Text_get_wholeText = function () {\n if (!(this instanceof Text)) {\n throw new TypeError(\"Illegal invocation"
},
{
"path": "env/TextMetrics.js",
"chars": 2990,
"preview": "globalMy.TextMetrics_get_width = function () {\n if (!(this instanceof TextMetrics)) {\n throw new TypeError(\"Il"
},
{
"path": "env/TrustedTypePolicyFactory.js",
"chars": 3881,
"preview": "globalMy.TrustedTypePolicyFactory_get_emptyHTML = function () {\n if (!(this instanceof TrustedTypePolicyFactory)) {\n "
},
{
"path": "env/UIEvent.js",
"chars": 1810,
"preview": "globalMy.UIEvent_get_view = function () {\n if (!(this instanceof UIEvent)) {\n throw new TypeError(\"Illegal invocatio"
},
{
"path": "env/URL.js",
"chars": 8676,
"preview": "globalMy.URL_get_origin = function () {\n if (!(this instanceof URL)) {\n throw new TypeError(\"Illegal invocatio"
},
{
"path": "env/UserActivation.js",
"chars": 782,
"preview": "globalMy.UserActivation_get_hasBeenActive = function () {\n if (!(this instanceof UserActivation)) {\n throw new TypeE"
},
{
"path": "env/VisualViewport.js",
"chars": 4566,
"preview": "globalMy.VisualViewport_get_offsetLeft = function () {\n if (!(this instanceof VisualViewport)) {\n throw new TypeErro"
},
{
"path": "env/WebGL2RenderingContext.js",
"chars": 91589,
"preview": "globalMy.WebGL2RenderingContext_get_canvas = function () {\n if (!(this instanceof WebGL2RenderingContext)) {\n "
},
{
"path": "env/WebGLDebugShaders.js",
"chars": 283,
"preview": "globalMy.WebGLDebugShaders_getTranslatedShaderSource = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {\n"
},
{
"path": "env/WebGLDrawBuffers.js",
"chars": 263,
"preview": "globalMy.WebGLDrawBuffers_drawBuffersWEBGL = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {\n consol"
},
{
"path": "env/WebGLLoseContext.js",
"chars": 513,
"preview": "globalMy.WebGLLoseContext_loseContext = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {\n console.log"
},
{
"path": "env/WebGLMultiDraw.js",
"chars": 1140,
"preview": "globalMy.WebGLMultiDraw_multiDrawArraysInstancedWEBGL = function () {\n let result;\n //这里写方法实体\n if (globalMy.is_log) {"
},
{
"path": "env/WebGLRenderingContext.js",
"chars": 53015,
"preview": "// WebGLRenderingContext\nglobalMy.WebGLRenderingContext_get_canvas = function () {\n if (!(this instanceof WebGLRenderin"
},
{
"path": "env/WebGLShaderPrecisionFormat.js",
"chars": 1289,
"preview": "globalMy.WebGLShaderPrecisionFormat_get_rangeMin = function () {\n if (!(this instanceof WebGLShaderPrecisionFormat)) {\n"
},
{
"path": "env/WebSocket.js",
"chars": 6334,
"preview": "globalMy.WebSocket_get_url = function () {\n if (!(this instanceof WebSocket)) {\n throw new TypeError(\"Illegal invoca"
},
{
"path": "env/Woker.js",
"chars": 2594,
"preview": "globalMy.Worker_get_onmessage = function(){\n if (!(this instanceof Worker)) {\n throw new TypeErr"
},
{
"path": "env/XMLHttpRequest.js",
"chars": 8876,
"preview": "globalMy.XMLHttpRequest_get_onreadystatechange = function () {\n if (!(this instanceof XMLHttpRequest)) {\n throw new "
},
{
"path": "env/XMLHttpRequestEventTarget.js",
"chars": 6053,
"preview": "globalMy.XMLHttpRequestEventTarget_get_onloadstart = function () {\n if (!(this instanceof XMLHttpRequestEventTarget)) {"
},
{
"path": "env/XPathExpression.js",
"chars": 827,
"preview": "// dom构造函数原型方法\n// dom构造函数原型方法\nglobalMy.XPathExpression_evaluate = function () {\n if (!(this instanceof XPathExpression)"
},
{
"path": "main.js",
"chars": 7599,
"preview": "var a = +new Date;\nconst {VM, VMScript} = require('cyvm2');\n// const {VM, VMScript} = require('vm2');\nconst fs = require"
},
{
"path": "ret.html",
"chars": 2377,
"preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
},
{
"path": "util/cover_construct_function.js",
"chars": 8586,
"preview": "// 构造函数实现覆盖\nglobalMy.RTCPeerConnection = function () {\n if (!new.target) {\n throw new TypeError(\"Failed to con"
},
{
"path": "util/cover_function.js",
"chars": 148792,
"preview": "// 函数实现, 对dump下来的函数进行覆盖. 怕到时候框架固定的写法会变, 所以实现的方法单独放在这个js里. 到时候好实现迁移\n\n// isTrusted\nglobalMy.event_get_isTrusted = function"
},
{
"path": "util/end.js",
"chars": 116,
"preview": "\nglobalMy.asyncFunc();\nglobalMy.console.log(\"运行workJs耗时:\", +new Date - globalMy.memory.begin_time, \"毫秒\");\n\ndebugger;"
},
{
"path": "util/globalMy.js",
"chars": 70567,
"preview": "// jsdom 对象\nglobalMy.jsdom_element = [];\n\n// 存放一些东西\nglobalMy.memory = {\n supportedExtensions: [\"ANGLE_instanced_array"
},
{
"path": "util/init_env.js",
"chars": 232432,
"preview": "// 堆栈拦截处\nUtils.Error_get_stack = function () {\n /* 改堆栈真的会有不少奇奇怪怪的bug, 尤其是在debug的时候, 容易崩溃 */\n let stack = arguments"
},
{
"path": "util/pass_check.js",
"chars": 597,
"preview": "// 过检测\n// this.exports = undefined;\n// this.module = undefined;\ndelete define;\ndelete exports;\ndelete GLOBAL;\ndelete mod"
},
{
"path": "work/ali140.js",
"chars": 660193,
"preview": "!function(){function cond(){return Math.random()}function chkQuerySet(){var e,t=window[QUERY_KEY];return isNaN(t)?(e=loc"
},
{
"path": "work/boss.js",
"chars": 293363,
"preview": "(function(){Array['\\u0070\\u0072\\u006f\\u0074\\u006f\\u0074\\u0079\\u0070\\u0065']['j'] = Array['\\u0070\\u0072\\u006f\\u0074\\u006f"
},
{
"path": "work/jrtt/ac_sign.js",
"chars": 72940,
"preview": "var glb;(glb=\"undefined\"==typeof window?global:window)._$jsvmprt=function(b,e,f){function a(){if(\"undefined\"==typeof Ref"
},
{
"path": "work/jrtt/jrtt.js",
"chars": 72328,
"preview": "var glb;(glb=\"undefined\"==typeof window?global:window)._$jsvmprt=function(b,e,f){function a(){if(\"undefined\"==typeof Ref"
},
{
"path": "work/rsvmp.js",
"chars": 177498,
"preview": "\r\n$_ts=window['$_ts'];if(!$_ts)$_ts={};$_ts.nsd=38960;$_ts.cd=\"qJLerfAlEuaqhAVzqGL3Hqqzqc0rcfGZqc0hhAAtDkaqhAEzqaL3hAlnr"
},
{
"path": "work/zhihu/x81.js",
"chars": 27602,
"preview": "var R = function (string, model) {\n var A = \"2.0\"\n ,__g = {};\n\n function t() {\n }\n\n function i(e) {\n "
},
{
"path": "work/zhihu/zhihu.js",
"chars": 59319,
"preview": "var __webpack_unused_export__;\nfunction o(t) {\n return (o = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol."
}
]
About this extraction
This page contains the full source code of the bnmgh1/node-sandbox GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 190 files (3.8 MB), approximately 1.0M tokens, and a symbol index with 218 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.