Commit Graph

24 Commits

Author SHA1 Message Date
Kuitos
4f064a4831
🐛 hasOwnProperty should work well with special [[this]] binding (#2452) 2023-04-03 11:04:51 +08:00
李凤宝(Ted)
6544b17f9b
🐛 proxy sandboxshould not delete untouched globals (#2310) 2022-10-20 10:55:40 +08:00
Kuitos
9df1bf9c83
🐛 should keep the property writable while it only have setter accessor (#2302) 2022-10-13 21:37:43 +08:00
Kuitos
b5ad5a4e43
♻️ refactor the global whitelist recovery logic and fix the unit test (#2291) 2022-10-07 16:42:53 +08:00
李凤宝(Ted)
c14ae3f083
🐛 prevent sandbox from deleting an existed whitelisted global variable, should restore it instead (#2287) 2022-10-05 16:22:29 +08:00
Kuitos
73a507f891
🐛 frozen property must be returned its actual value rather than bound value (#2285) 2022-09-26 21:59:24 +08:00
xioozq
0aaf55a77f
🐛 proxy sandbox should not overwrite read-only fields. (#2123) 2022-09-26 20:22:20 +08:00
Kuitos
df24f02e92 🐛 avoid illegal invocation error while using some dom api in nest sandbox (#1768) 2021-10-15 16:55:32 +08:00
Troy Li
ad7feadd29 add internal getCurrentRunningApp api (#1697) 2021-09-09 17:59:53 +08:00
Kuitos
761287ac3b 🎨 optimize current proxy setting logic (#1486) 2021-07-27 21:14:42 +08:00
Kuitos
d9810da3ef fix test case about window reference binding (#1529) 2021-06-22 21:12:28 +08:00
Kuitos
3880cd5078 add window reference binding test (#1524) 2021-06-22 00:37:51 +08:00
Kuitos
08f810a28b 🐛 add getPrototypeOf trap in sandbox to keep the window instanceof Window returns true in microapp (#1465) 2021-05-25 11:50:04 +08:00
Kuitos
92bddae77c hijack accessing window object with globalThis keyword (#1246) 2021-02-01 14:41:08 +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
3c40e1b9ad 🐛 keep the iteration order after reassign a non-enumerable value (#1055) 2020-11-06 18:29:16 +08:00
Kuitos
3b98d6d708 🐛 fix nullish bug in proxy sandbox (#1053) 2020-11-05 17:37:04 +08:00
Kuitos
3fa008be96 hijack dynamic document appending in evalling code (#1052) 2020-11-05 17:03:05 +08:00
Kuitos
96ebf72bf0 🎨 format code (#1003) 2020-10-15 23:23:49 +08:00
Kuitos
8ede338a52 ️ use weakmap to instead symbol (#1002) 2020-10-15 20:57:51 +08:00
Kuitos
b0f5a73f87 🐛 lazy added non-configurable props should be reported as configurable to avoid TypeError (#953) 2020-09-24 21:17:40 +08:00
Kuitos
cbaad7ed2d 🐛 identify host app dynamic creation (#897) 2020-08-26 11:32:46 +08:00
Kuitos
a889c992b9 revert UIEvent patch (#885) 2020-08-21 15:07:24 +08:00