Open matwey opened 9 years ago
Still relevant?
Yes, it is
I have installed OpenSuse 13.2 and kaiwa does perfectly work in out-of-the-box Firefox 33.0. Will update to newer Firefox to check whether is makes difference.
I've tried it with new separate profile and it worked. So, probably some config option affects idexedDB behavior. I'll try to figure out which option.
Please, check that you can reproduce the issue when browser.privatebrowsing.autostart=true
https://bugzilla.mozilla.org/show_bug.cgi?id=781982 could be related
Great clue. I was able to reproduce your issue simply starting Firefox in private mode with either Windows or Linux version.
Firefox private mode is a valid use case for Kaiwa and I will investigate further to fix this problem.
May be the replacement of the localStorage with localForage will help solve the problem?
@ForNeVeR go check the upstream fix https://github.com/digicoop/kaiwa/commit/2c6af7111b670d5a6e2d854274419147c6ddbfc5
@sattellite thank you for suggestion, but it will not help. Try to visit this link with FF in private mode. localForage fails absolutely identically to indexedDB.
Currently I'm trying to replace the real indexedDB with fakeIndexedDB but still no luck: Kaiwa uses APIs not supported by it in multiple places. We'll need to replace part of our storage mechanism just to support that use case.
Also, "upstream fix" does not fix anything. Unfortunately.
@ForNeVeR but "upstream fix" still prints informative message instead of hanging, I think it should be cherry-picked anyway.
It hangs and prints "informative message" :)
Hello,
When I fill login and password and try to connect to the server, then "Connecting..." text is being shown and nothing else is happening.
In the browser debug console, I see the following:
Stack is the following:
I am running Firefox 40.0.3 and openSUSE 13.2 on x86_64. In the browser config
dom.indexedDB.enabled
is set totrue
by default.