Skip to content

unable to load devtool properly. Failed to execute 'postMessage' on 'Window' #1258

@zhpadvoiski

Description

@zhpadvoiski

Error occurs in dev mode during the initial page load

Uncaught DOMException: Failed to execute 'postMessage' on 'Window': URL object could not be cloned.
    at Object.postMessage (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/hook.js:1:12273)
    at Object.send (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/hook.js:1:11729)
    at r (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/hook.js:1:14709)
    at chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/hook.js:1:15291

the bug is likely caused by this PR - #1245
Intended outcome:

Actual outcome:

No error

How to reproduce the issue:
Start up any app in dev mode with Apollo Client and apollo-dev-tool enabled

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari] chrome
  • Browser version [e.g. 22] 122.0.6261.112 (arm64)
  • Extension version [e.g. 3.0] 4.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions