Commit Graph

150 Commits

Author SHA1 Message Date
Kuitos
e75952faed
️ remove object spread operator for faster performance in big array iterator (#2812) 2023-11-15 16:19:33 +08:00
Kuitos
a38b1af97f
🐛 createElement hijack must be paired to avoid rewriting leak (#2777) 2023-11-02 21:13:16 +08:00
Kuitos
3524195989
🐛not rebind non-native global properties (#2733) 2023-10-18 01:52:52 -05:00
Kuitos
7328396c30
🐛compatible with vConsole who will wrap global variables with proxy (#2630) 2023-08-23 16:41:10 +08:00
Kuitos
3878cea04a
🎨 optimize code and support for scenario of dynamic script comment as reference node (#2576) 2023-08-07 19:40:40 +08:00
Kuitos
c89c7538c9
🐛 avoid document.all accessing error in safari (#2575) 2023-08-07 16:02:23 +08:00
Kuitos
69759a57e5
🐛 keep dynamic stylesheet inserted order by insertBefore way (#2574) 2023-08-07 14:19:07 +08:00
nieling1
e0e6763668
👽️ requestIdleCallback add the polyfill of MessageChannel (#2475) 2023-07-17 18:06:57 +08:00
Kuitos
d9502f5795
🐛 compatiable with react development for event rewrite scenarios (#2545) 2023-07-05 15:15:56 +08:00
aique.li
becb7ada77
🐛 fix IE bug that cssText cannot be accessed while it prefixing with -webkit (#2532) 2023-06-28 12:12:27 +08:00
Kuitos
521efb828d
🐛 document.head.removeChild should be hooked in sandbox (#2522) 2023-06-07 11:17:57 +08:00
Kuitos
ad23bbf459
🐛 support Node.prototype.compareDocumentPosition in sandbox (#2503) 2023-05-16 16:36:00 +08:00
Kuitos
8440aa5483
🐛 document head in micro app should use the proxied appendChild methods (#2502) 2023-05-16 16:21:27 +08:00
Kuitos
a8f5b766f8
port document.querySelector('head') to qiankun head in micro app (#2499) 2023-05-12 19:47:41 +08:00
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
4f064a4831
🐛 hasOwnProperty should work well with special [[this]] binding (#2452) 2023-04-03 11:04:51 +08:00
Kuitos
6e5b145046
🐛 compatible with overwritten appendChild by apps themselves (#2449) 2023-03-29 20:37:35 +08:00
Kuitos
601696ad7f
🐛 use const instead of function parameters to cache global variables while speedy mode running (#2447) 2023-03-29 18:37:17 +08:00
whg4
bb40e63089
🐛 invoking nextTick will trigger infinite angular change detection (#2439) 2023-03-16 22:39:47 +08:00
kiloc
c9dff6fe42
🩹 should invoke removeChild on original node while it not calling by micro app 2023-03-10 16:57:21 +08:00
Kuitos
cf7e6b4eb8
🐛 compatible with old browser like chrome55 (#2427) 2023-03-10 16:12:28 +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
ab2c29737e
🐛 compatible with legacy browser which not support globalThis in speedy mode (#2400) 2023-02-16 21:30:23 +08:00
Kuitos
bac5e2ac69
🐛window variable should in with lexical scope while speedy mode enabled (#2390) 2023-02-10 11:34:09 +08:00
Kuitos
52b1a3c441
🐛 should trigger scripts loading before them executing (#2389) 2023-02-09 21:58:08 +08:00
Kuitos
bd617f70ac
🚚 rename data-sandbox-configuration to data-sandbox-cfg (#2382) 2023-01-31 15:14:26 +08:00
Kuitos
141d86807c
enabled speedy mode by default (#2373) 2023-01-12 18:57:59 +08:00
pshu
68d0e12bdb
🐛 delete defineProperty to recover doc.currentScript (#2372) 2023-01-12 17:31:07 +08:00
Kuitos
4baec4502b
revert default enabled speedy mode (#2321) 2022-10-30 19:44:00 +08:00
Kuitos
743473ae51
enable speedy sandbox mode by default (#2320) 2022-10-30 19:37:58 +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
e5a175caa4
import global variables from https://github.com/sindresorhus/globals/blob/main/globals.json (#2288) 2022-10-05 15:50:57 +08:00
tangxiaomian
7d0116c322
add getContainerXPath test (#2132)
Co-authored-by: Kuitos <kuitos.lau@gmail.com>
2022-09-26 22:10:28 +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
Kuitos
9a343b4074
🐛 isPropertyReadonly support accessor assert (#2284) 2022-09-26 20:57:39 +08:00
xioozq
0aaf55a77f
🐛 proxy sandbox should not overwrite read-only fields. (#2123) 2022-09-26 20:22:20 +08:00
Kuitos
7f517264bb
️ add speedy mode for sandbox to improve performance (#2271) 2022-09-18 22:28:46 +08:00
Kuitos
e9e492ba8e 🏷 bring back Navigator.connection type to fix tsc error temporary 2022-08-26 14:51:30 +08:00
Kuitos
a5a0273a11
🐛 fix the counter issue while multiple apps mounting concurrently (#2250) 2022-08-26 14:23:03 +08:00
Kuitos
1be899052d
🐛 dynamic head script should be append to qiankun head (#2181) 2022-07-12 16:14:43 +08:00