Skip to content

Infinite call Issue with Wujie Iframe Sandbox #926

Open
@yukkodesu

Description

@yukkodesu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions