Closed Bug 509683 Opened 12 years ago Closed 12 years ago
DOMStorage Memory DB::Get Items Table inits hashtable twice
This triggers the assertion "nsTHashtable::Init() should not be called twice." nsDOMStorageMemoryDB::GetItemsTable does |new nsInMemoryStorage();|, the nsInMemoryStorage constructor calls Init(20) on its hashtable and then nsDOMStorageMemoryDB::GetItemsTable calls Init() on the hashtable again.
Thanks for the catch.
Attachment #393824 - Flags: review?(peterv)
Attachment #393824 - Flags: review?(peterv) → review+
Comment on attachment 393824 [details] [diff] [review] v1 [Checkin comment 2] http://hg.mozilla.org/mozilla-central/rev/6026b5124cf3
Attachment #393824 - Attachment description: v1 → v1 [Checkin comment 2]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Is this wanted/needed on 1.9.2 branch?
You need to log in before you can comment on or make changes to this bug.