question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.

See original GitHub issue

Bug Report

Failed to read the ‘sessionStorage’ property from ‘Window’: Access is denied for this document. Sometimes the suggestions are not showing and console logs this error. Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.

No clear steps to reproduce.

Expected Behavior

It should work even session storage throws an error

Screenshots

Screen Shot 2021-07-26 at 9 07 03 AM

Your Environment

  • Browser: [Chrome Mobile]
  • Version 87.0.4280
  • Operating System - Android
  • Version 8.1.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
marjanaetcommented, Jul 27, 2021

@wellyshen Thanks for looking in to this so quickly. Appreciate it. Actually I too do not have a real device to check. But I was able to simulate this by blocking all cookies from the chrome settings.

First I tested on this master branch by blocking all cookies. Issue was reproduciable. Then I switched to fix/session-storage-crashed branch with the setting for blocking all cookies. It is working fine.

Approving the fix.

Again appreciate for looking into this so quick! 👍 👍

1reaction
wellyshencommented, Jul 27, 2021

@marjanaet Thanks mate, I’m going to release it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Iframe in Chrome error: Uncaught SecurityError: Failed to read ...
Uncaught SecurityError: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
Read more >
Failed to read the 'sessionStorage' property from 'Window ...
Error: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document. at Object.get ...
Read more >
Failed to read the 'localStorage' property from 'Window'
Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document. ... This exception is thrown when the...
Read more >
DOM error Failed to read the 'sessionStorage' property from ...
Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document. at HTMLDocument.
Read more >
Uncaught DOMException: Failed to read the ... - Google Groups
Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document. 813 views.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found