Closed Bug 1877608 Opened 2 years ago Closed 2 years ago

Introduce StorageOriginAttributes class

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(2 files)

Bug 1770944 needs to remove mInIsolatedMozBrowser member from OriginAttributes but storage upgrade functions still need to use it. We already had to add custom parsing when mAppId was removed: https://searchfox.org/mozilla-central/rev/2a867dd1ab015c3ef24b774a57709fb3b3dc4961/dom/quota/ActorsParent.cpp#7614

I think it's now time to add a special class which can handle all origin attributes for storage upgrade purposes.

The new tests initially use OriginAttributes but they are supposed to use
StorageOriginAttributes class once it's available.

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7799dca97e98 Add testing for inBrowser origin attribute; r=aiunusov https://hg.mozilla.org/integration/autoland/rev/feba81f16496 Introduce StorageOriginAttributes class; r=aiunusov
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: