Closed Bug 1165224 Opened 5 years ago Closed 5 years ago

Use origin in QuotaManager

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set

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: 5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1165217
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: 5 years ago5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1195930
You need to log in before you can comment on or make changes to this bug.