devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Infinite call Issue with Wujie Iframe Sandbox

Open yukkodesu opened this issue 5 months ago • 1 comments

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

yukkodesu avatar Jul 07 '25 11:07 yukkodesu

Might be the same as https://github.com/vuejs/devtools/issues/909 🤔 ?

hugoattal avatar Jul 25 '25 09:07 hugoattal