Commit fbe3c11
🐛 修复内存泄漏和对象属性暴露及 TTP XML 解析退回至 null (#1242)
* fix memory leakage & object properties exposure & TTP xml parse fallback to null
* example/tests/gm_xhr_test.js v1.2.2
* [example/tests/gm_xhr_test.js] add non-primitive value expose check
* 调整异步写法,有利于 GC
* 代码构造修改一下
* 修正 falsy text 问题
* Native化 Object.create 和 Object.getOwnPropertyDescriptors 避免受到代码骑劫
* Update gm_xhr_test.js
* 处理拼写问题
---------
Co-authored-by: 王一之 <yz@ggnb.top>1 parent 43652e0 commit fbe3c11
File tree
3 files changed
+522
-375
lines changed- example/tests
- src/app/service/content
- gm_api
3 files changed
+522
-375
lines changed
0 commit comments