Closed Bug 1500129 Opened 7 years ago Closed 7 years ago

Clean up gStoragePressureObserver's openPreferences call

Categories

(Firefox :: General, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: dao, Assigned: spiro, Mentored)

Details

(Keywords: good-first-bug, Whiteboard: [lang=js])

Attachments

(1 file)

This code already runs in the right window where openPreferences is available, so going through gBrowser.ownerGlobal doesn't seem to make any sense: https://searchfox.org/mozilla-central/rev/eef79962ba73f7759fd74da658f6e5ceae0fc730/browser/base/content/browser.js#595-596 We can simplify this to just: openPreferences("privacy-sitedata", { origin: "storagePressure" });
Assignee: nobody → sharma.divyansh.501
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: