-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Private mode in Safari causes console error: "QuotaExceededError: DOM Exception 22" #8063
Labels
Comments
It looks like this issue would exist in 4.5.4 as well. |
stacey-gammon
added a commit
to stacey-gammon/kibana
that referenced
this issue
Sep 16, 2016
Catch the crash and display a more useful error message to the user about a work around.
elastic-jasper
added a commit
that referenced
this issue
Sep 19, 2016
--------- **Commit 1:** Bug #8063 Safari crash in private browsing mode Catch the crash and display a more useful error message to the user about a work around. * Original sha: 7dbb786 * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-16T19:15:43Z **Commit 2:** Merge branch 'master' of https://github.com/elastic/kibana into bug/8063/no-safari-crash * Original sha: 8578666 * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T13:27:21Z **Commit 3:** Merge remote-tracking branch 'elastic/master' into bug/8063/no-safari-crash * Original sha: f29b60a * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:23:07Z **Commit 4:** Clean up error message a tad * Original sha: 36e298d * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:34:21Z
This was referenced Sep 19, 2016
Merged
Merged
elastic-jasper
added a commit
that referenced
this issue
Sep 19, 2016
--------- **Commit 1:** Bug #8063 Safari crash in private browsing mode Catch the crash and display a more useful error message to the user about a work around. * Original sha: 7dbb786 * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-16T19:15:43Z **Commit 2:** Merge branch 'master' of https://github.com/elastic/kibana into bug/8063/no-safari-crash * Original sha: 8578666 * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T13:27:21Z **Commit 3:** Merge remote-tracking branch 'elastic/master' into bug/8063/no-safari-crash * Original sha: f29b60a * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:23:07Z **Commit 4:** Clean up error message a tad * Original sha: 36e298d * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:34:21Z
elastic-jasper
added a commit
that referenced
this issue
Sep 19, 2016
--------- **Commit 1:** Bug #8063 Safari crash in private browsing mode Catch the crash and display a more useful error message to the user about a work around. * Original sha: 7dbb786 * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-16T19:15:43Z **Commit 2:** Merge branch 'master' of https://github.com/elastic/kibana into bug/8063/no-safari-crash * Original sha: 8578666 * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T13:27:21Z **Commit 3:** Merge remote-tracking branch 'elastic/master' into bug/8063/no-safari-crash * Original sha: f29b60a * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:23:07Z **Commit 4:** Clean up error message a tad * Original sha: 36e298d * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:34:21Z
Closed by #8063 |
@spalger You closed it with its own issue number rather than linking to a PR |
Closed by #8343 |
lol |
airow
pushed a commit
to airow/kibana
that referenced
this issue
Feb 16, 2017
--------- **Commit 1:** Bug elastic#8063 Safari crash in private browsing mode Catch the crash and display a more useful error message to the user about a work around. * Original sha: 6f0dd0766b772116c93081abfa3ca81898af8063 [formerly 7dbb786] * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-16T19:15:43Z **Commit 2:** Merge branch 'master' of https://github.com/elastic/kibana into bug/8063/no-safari-crash * Original sha: c577d50e02050bad154fabcff92890669ce50e9c [formerly 8578666] * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T13:27:21Z **Commit 3:** Merge remote-tracking branch 'elastic/master' into bug/8063/no-safari-crash * Original sha: 5a1b261e3abc755d3adf1b4525e5d381cf08a1c0 [formerly f29b60a] * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:23:07Z **Commit 4:** Clean up error message a tad * Original sha: f5abcadeb6fdba5ddebd699b40f8fb38e387f150 [formerly 36e298d] * Authored by Stacey-Gammon <gammon@elastic.co> on 2016-09-19T20:34:21Z Former-commit-id: ddd1d7e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Kibana version: 4.6.0
Elasticsearch version: 2.4.0
Server OS version: OS X
Browser version: Safari (private browsing mode)
Browser OS version: OS X
Steps to reproduce:
QuotaExceededError: DOM Exception 22
The problem
It looks like this problem is related to Safari disallowing access to localStorage when in private browsing mode: http://stackoverflow.com/questions/14555347/html5-localstorage-error-with-safari-quota-exceeded-err-dom-exception-22-an
It looks like
nav.js
is the culprit, in these two places:In both places, calls are being made to
appUrlStore
, using itsgetItem
andsetItem
methods. It looks likeappUrlStore
is an alias forwindow.sessionStorage
: https://github.com/elastic/kibana/blob/4.x/src/ui/public/chrome/api/apps.js#L10Possible solution
We can probably fix this by wrapping the
setItem
andgetItem
calls in a try/catch block, and display an error to the user in the catch:The text was updated successfully, but these errors were encountered: