Closed
Bug 1152174
Opened 9 years ago
Closed 9 years ago
"Assertion failure: !principalInfo" using IndexedDB on Worker
Categories
(Core :: Storage: IndexedDB, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1151646
Tracking | Status | |
---|---|---|
firefox40 | --- | affected |
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
WARNING: IndexedDB not allowed for this principal!: file dom/indexedDB/IDBFactory.cpp, line 311 Assertion failure: !principalInfo, at dom/indexedDB/IDBFactory.cpp:252 I don't know why IDBFactory::CreateForJSInternal is refusing to create an IndexedDB for this testcase. But when it does, it returns NS_OK (this also seems odd) without consuming the principal pointer. https://dxr.mozilla.org/mozilla-central/source/dom/indexedDB/IDBFactory.cpp#295 This combination causes IDBFactory::CreateForWorker to fail its assertion. https://dxr.mozilla.org/mozilla-central/source/dom/indexedDB/IDBFactory.cpp#231
Reporter | ||
Comment 1•9 years ago
|
||
I have a patch for this in bug 1151646 already (the "Cleanup" patch).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•