Closed Bug 1165224 Opened 10 years ago Closed 9 years ago

Use origin in QuotaManager

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1195930
Tracking Status
firefox41 --- affected

People

(Reporter: allstars.chh, Unassigned)

References

Details

In the new security model we will update nsIPrincipal.origin in Bug 1163254. So we should use the new origin instead of using appId/isBrowser for nsIQuotaManager and QuotaManager.cpp.
No longer depends on: 1163254
Blocks: 1179985
The changes in bug 1165217 should fix this as well I would think
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
It appears this bug wasn't fixed by Bug 1165217 so that indexedDB is still not origin-attribute aware. IndexedDB still uses QuotaManager::GetInfoFromPrincipal to generate the extended origin. Don't know if DOMStorage/LocalStorage is affected as well. [1] https://hg.mozilla.org/mozilla-central/file/1e700005a0dd/dom/indexedDB/ActorsParent.cpp#l19784
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.