Invoking localStorage methods causes an exception to be thrown
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
People
(Reporter: jordan83, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
I noticed that a website of mine was not loading properly and I decided to investigate.
After noticing that the code was breaking on localStorage access I made this test
- loaded mozilla.org on a tab on Firefox on My OnePlus7 phone
- Remotely debugged using Firefox on my pc
- manually tested lines such as localStorage.getItem("test") or localStorage.setItem("test",1)
- every time I get an error message such as
Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: debugger eval code :: <TOP_LEVEL> :: line 1" data: no]
Actual results:
accessing localStorage causes errors
Expected results:
accessing localStorage should not cause error
Comment 1•6 years ago
|
||
Hi and thank you for this report!
I tested the scenario from Description on Firefox Release 68.2.1 with OnePlus 5T (Android 9) and on Firefox Release 70.0.1 with Windows 10. I did not reproduced the issue, accessing localStorage does not cause errors.
Please provide the following information:
- Firefox Release version used on mobile and on desktop;
- Android version;
- any additional steps to reproduce the issue;
- a video would also be useful.
Thanks!
Comment 2•6 years ago
|
||
Hello Jan, can you take a look at this ticket.
it probably has something to do with the LSNG feature who was disabled.
Comment 3•6 years ago
|
||
We need more information about actual product and version. It's not clear to me if the bug happened with Firefox Desktop or Firefox for Android.
Hello
(In reply to Eliza Balazs from comment #1)
Hi and thank you for this report!
I tested the scenario from Description on Firefox Release 68.2.1 with OnePlus 5T (Android 9) and on Firefox Release 70.0.1 with Windows 10. I did not reproduced the issue, accessing localStorage does not cause errors.
I don't know exactly what happened but indeed today I am not able to reproduce the error on my device.
Please provide the following information:
- Firefox Release version used on mobile and on desktop;
On mobile I'm using Firefox for Android 68.2.1
On my desktop I'm using Firefox 70.0.1
- Android version;
Android 10, OxygenOS 10.0.1.GM57BA
- any additional steps to reproduce the issue;
- a video would also be useful.
Unfortunately I cannot reproduce the bug anymore, however yesterday I had investigated it using remote debugging.
I would also add that during the night usually I switch off my phone, hence could be that the bug conditions disappeared because of that.
Comment 5•6 years ago
|
||
Hello!
Due to Comment 4, I will close this as Worksforme and if this issue is reproducible in the future, feel free to reopen it. Thanks!
| Assignee | ||
Updated•4 years ago
|
Description
•