Closed Bug 1791867 Opened 2 years ago Closed 2 years ago

Add GetStorageManager to nsIGlobalObject

Categories

(Core :: DOM: Core & HTML, task, P2)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We have a case when we need to get the StorageManager object from nsIGlobalObject. Currently, we can do it only by calling AsInnerWindow. For workers, we need to call GetCurrentThreadWorkerPrivate (ignore nsIGlobalObject completely)

It would be nice if nsIGlobalObject had a GetStorageManager method.

Summary: Add AsWorkerScope to nsIGlobalObject → Add GetStorageManager to nsIGlobalObject
Attachment #9295739 - Attachment description: Bug 1791867 - Add AsWorkerScope to nsIGlobalObject; r=smaug,#dom-storage → Bug 1791867 - Add GetStorageManager to nsIGlobalObject; r=smaug,#dom-storage
Attachment #9295739 - Attachment description: Bug 1791867 - Add GetStorageManager to nsIGlobalObject; r=smaug,#dom-storage → Bug 1791867 - Add GetStorageManager to nsIGlobalObject; r=asuth,smaug,#dom-storage
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a4505f859312 Add GetStorageManager to nsIGlobalObject; r=smaug,dom-storage-reviewers,asuth
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: