叡山电车
e807cbcfb6
🐛 keep toString always return original value for function in sandbox ( #1785 )
...
* fix: correct toString for functions
* Update src/sandbox/common.ts
* Update src/sandbox/common.ts
* handle getter in toString descriptor
* toString function predict
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2021-11-04 17:19:36 +08:00
Kuitos
c4b604228a
✨ remove global way for recording current running sandbox to fix nested scenario ( #1723 )
...
* ✨ remove global way for recording current running sandbox to support parallel multiple instance
*✨ export internal getCurrentRunningApp API
Co-authored-by: tli4 <a@tianyi.li>
2021-09-15 22:54:44 +08:00
Troy Li
ad7feadd29
✨ add internal getCurrentRunningApp api ( #1697 )
2021-09-09 17:59:53 +08:00
Kuitos
44ccad92de
⚡ ️ fix the performance issue in sandbox ( #1626 )
2021-08-02 21:04:28 +08:00
Kuitos
1301e5b0af
🐛 function should return the same reference while it always bindable ( #1612 )
2021-07-29 10:21:44 +08:00
Kuitos
761287ac3b
🎨 optimize current proxy setting logic ( #1486 )
2021-07-27 21:14:42 +08:00
Kuitos
3880cd5078
✅ add window reference binding test ( #1524 )
2021-06-22 00:37:51 +08:00
Kuitos
60ce3982cc
🏁 fix that it might throw a TypeError about reassign a readonly property error meesage in Safari ( #1408 )
2021-04-23 17:13:54 +08:00
Kuitos
6953ba3d0b
🐛 constructable checking should not be cached if the function prototype function was added after first running ( #1381 )
2021-04-13 14:24:48 +08:00
Kuitos
aa84eaa289
🚨 upgrade to follow eslint new rules ( #1179 )
2020-12-24 12:25:36 +08:00
Kuitos
107484d71b
🏁 compatible with old browser ( #1136 )
2020-12-08 20:06:14 +08:00
Kuitos
a023a5c9b7
⚡ ️ avoid duplicate value check to improve performance ( #1134 )
2020-12-08 14:40:10 +08:00
Kuitos
fbbd6f1722
🐛 use Function.prototype.bind instead to avoid conflict while value has own bind function ( #1133 )
2020-12-08 14:34:45 +08:00
Kuitos
3fa008be96
✨ hijack dynamic document appending in evalling code ( #1052 )
2020-11-05 17:03:05 +08:00
Kuitos
8ede338a52
⚡ ️ use weakmap to instead symbol ( #1002 )
2020-10-15 20:57:51 +08:00
Kuitos
1446c6b212
⚡ ️ optimize sandbox performance ( #978 )
2020-10-12 15:20:33 +08:00
Kuitos
2319edf022
🐛 copy function prototype if it had while we create a new function using bind ( #977 )
2020-10-09 19:52:40 +08:00
Kuitos
a889c992b9
⏪ revert UIEvent patch ( #885 )
2020-08-21 15:07:24 +08:00