Commit Graph

25 Commits

Author SHA1 Message Date
Jinghui Chen
b315f1b9ea
🐛 should avoid document.all accessing exception in micro app (#2465)
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2023-04-19 17:46:43 +08:00
Kuitos
a7a991c51e
🐛 prevent element from processing multi times in nest sandbox (#2472) 2023-04-18 23:09:57 +08:00
Kuitos
d9200ff5f3
🐛 prevent element from processing multi times in nest sandbox (#2471) 2023-04-18 21:21:21 +08:00
Umberto Toniolo
8bb5c948be
🐛 document proxy in strict sandbox mode replaces receiver with target in methods args (#2450) 2023-04-13 12:09:18 +08:00
Kuitos
6e5b145046
🐛 compatible with overwritten appendChild by apps themselves (#2449) 2023-03-29 20:37:35 +08:00
Kuitos
6732f8b4b0
🐛 speedy mode sandbox should compatible with element-ui popper (#2415) 2023-02-27 22:48:40 +08:00
Kuitos
bcfc96cd62
🐛 compatible with nested sandbox to avoid stack overflow while createElement calling (#2414) 2023-02-27 22:06:41 +08:00
Kuitos
901dac8c7b
🧑‍💻not rebind a bounded function of document (#2412) 2023-02-26 16:49:55 +08:00
Kuitos
42dbcaeabe
🐛 compatible with MutationObserver as document had been wrapped as a proxy (#2407) 2023-02-22 13:58:56 +08:00
Kuitos
dd6aa4a042
patch sandbox document to aviod chaos of dynamic element appending when speedy mode enabled (#2404) 2023-02-22 01:12:43 +08:00
Kuitos
7f517264bb
️ add speedy mode for sandbox to improve performance (#2271) 2022-09-18 22:28:46 +08:00
Kuitos
a5a0273a11
🐛 fix the counter issue while multiple apps mounting concurrently (#2250) 2022-08-26 14:23:03 +08:00
Kuitos
9c77055535 🐛 fix the simulated head issues (#2121) 2022-05-29 23:06:23 +08:00
Kuitos
526a3f610c 🐛 simulate micro app head element for dynamic appending styles (#2097) 2022-05-23 12:18:22 +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
Kuitos
238a5f5ea5 compatible with who have overwrite document.createElement function before (#1733) 2021-09-17 20:16:01 +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
aa84eaa289 🚨 upgrade to follow eslint new rules (#1179) 2020-12-24 12:25:36 +08:00
Kuitos
006536dc19 🐛 dynamicStyleElement array should not be clear after remount (#1054) 2020-11-05 20:07:48 +08:00
Kuitos
3fa008be96 hijack dynamic document appending in evalling code (#1052) 2020-11-05 17:03:05 +08:00
bloody-ux
798f3437b9 🐛 fix the issue we can't detect document.createElement while qiankun run in another sandbox while may rewrite document(#1046) 2020-11-05 15:37:26 +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
d537790f7d split dynamic append patcher for loose and strict sandbox (#995)
*  split dynamic append patcher for proxy and non-proxy sandbox

*  change useLooseSandbox to sandbox.loose configuration

*  improve warning message for non-proxy environment
2020-10-14 14:26:58 +08:00