devtools
devtools copied to clipboard
Infinite call Issue with Wujie Iframe Sandbox
The recent update (7.7.7) of Vue DevTools causes compatibility issues with Wujie micro-frontend framework, resulting in infinite calls loop.
Vue DevTools injects code into iframe.contentDocument.documentElement. Wujie's javascript sandbox uses iframe to handle code, which makes iframe.contentDocument.documentElement point to an shadowRoot. DevTools inserts script code into the shadowRoot created by Wujie which causes outside window.__VUE_DEVTOOLS_GLOBAL_HOOK__ to be overwritten with the GLOBAL_HOOK that should be inside the iframe
Might be the same as https://github.com/vuejs/devtools/issues/909 🤔 ?