Closed Bug 1238354 Opened 10 years ago Closed 10 years ago

NS_ERROR_STORAGE_CONSTRAINT blocks TweetDeck

Categories

(Firefox :: General, defect)

43 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: r_kato, Unassigned)

Details

Attachments

(1 file)

Attached image mozbug.jpg
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:44.0) Gecko/20100101 Firefox/44.0 Build ID: 20160107144911 Steps to reproduce: Open https://tweetdeck.twitter.com Actual results: As you see in the attached screenshot, an alert tells us that NS_ERROR_STORAGE_CONSTRAINT error occurred. Although I closed the alert dialog, TweetDeck's subsequent contents wouldn't be loaded. The error message is: Fatal error: [Exception... "SQLite database operation failed because a constraint was violated" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: https://ton.twimg.com/tweetdeck-web/web/dist/bundle.b0f89bf484.js line 1 > eval :: getPreviousStorage/usedStorage< :: line 102" data: no] I confirmed this issue occurs on * Firefox 43.0.4 * Firefox 44.0b7 but doesn't occur on Fx45 above (and another browser, Google Chrome). As the error says, bundle.b0f89bf484.js has been loaded certainly. And I'm not sure "Fatal error" and "a constraint was violated" imply security problems, but I hope not... Expected results: Error shouldn't occur.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86
I tried reinstalling Firefox, but the situation didn't change. Without security problems, I'd be happy if you could make this issue be pubic... Thanks!
I don't think this is a security bug, it's just triggering a quota check in older builds. Might be due to a bug (maybe we can figure out what fixed it in Firefox 45) or maybe just a planned quota change, but shouldn't cause an exploit in either Firefox or the site.
Group: firefox-core-security
WFM on Fx44b7 Win10, no alert popup. Can you reproduce it with a new Firefox profile?
Flags: needinfo?(foobar094)
(In reply to Daniel Veditz [:dveditz] from comment #2) Thank you for your kindness! I'm relieved to hear that there would be no security issues.
(In reply to YF (Yang) from comment #3) Thanks to your advice, the alert came not to appear after I refreshed my Firefox. Thank you so much!
Flags: needinfo?(foobar094)
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Component: Untriaged → General
Resolution: --- → WORKSFORME
Ran into this issue as well today. Works in Firefox Nightly, but not Firefox 43. Was verifying save issues for https://github.com/taisel/IodineGBA and stumbled upon this. Seems html5 localStorage API **** itself due to some FF 43<->46 condition here.
Seems it's a profile corruption for everyone using FF43 and Firefox Nightly.
In recent versions of Firefox (since 42 or 43 maybe?), I find some sites unusable due to NS_ERROR_STORAGE_CONSTRAINT errors. I currently have 43.0.4. For example, when I go to https://jsfiddle.net/, I get this: NS_ERROR_STORAGE_CONSTRAINT: var baseUrlOverride = localStorage.getItem("togetherjs.baseUrlOverride"); togetherjs.js (line 85) NS_ERROR_STORAGE_CONSTRAINT: ...ing")};window.addEvent("domready",function(){var e=document.id("add_external_res... _dist-e..._2016_1 (line 32) NS_ERROR_STORAGE_CONSTRAINT: ...s(e.dataset.id),t.markReadItems()),t.pushMessage("setBadge",{counter:t.currentCo... app.js (line 1) and the site can't finish loading. This is just one example, there are many others. Pretty much any site that uses localStorage is giving these errors. I can't find any documentation that explains what this error is or how to fix it. I have 2 profiles set up on this computer. One has the errors, the other doesn't. Is there a way I can get rid of the errors without losing the entire profile?
I am on 45.0b2 and https://tools.taskcluster.net/pulse-inspector/ has this same problem
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: