Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Runtime error]: Failed to read the 'localStorage' property from 'Window': Access is denied for this document. #394

Closed
angelozdev opened this issue Jun 25, 2022 · 1 comment
Labels
Duplicate This issue or pull request already exists

Comments

@angelozdev
Copy link

About

Devtools does not detect a running instance of urql.

Reproduction

  1. Clone this example project
  2. Run yarn install
  3. Run yarn start
  4. Open chrome and navigate to http://localhost:8080
  5. Open the urql devtools panel

Expected result

  • Extension detects app

Actual result

  • Extension shows message "Waiting for exchange"

Stack trace

Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
  at la (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:6:58506)
  at Qo (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1044168)
  at Cs (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1090218)
  at yu (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1082960)
  at mu (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1082885)
  at su (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1079915)
  at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1031556
  at t.unstable_runWithPriority (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1106612)
  at Gi (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1031265)
  at Ji (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1031501)

Additional info

environment version
browser Chrome 69
urql 0.0.0
urql devtools 0.0.0
@urql/devtools 0.0.0
@andyrichardson andyrichardson added the Duplicate This issue or pull request already exists label Aug 1, 2022
@andyrichardson
Copy link
Collaborator

Thanks for the report, there's more info about how to get around this here #374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants