Skip to content

Getting 'DataCloneError' if function returns Promise #63

@omkar-kanekar1-tfs

Description

@omkar-kanekar1-tfs

Describe the bug
Host exposed a function which returns "Promise". On calling that function from iframe url code, we get following error "Response object could not be cloned." If the Host function returns objects/array/string it works fine.
What is the workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions