Closed Bug 1871503 Opened 2 years ago Closed 2 years ago

Implement a XULStoreUtils.sys.mjs to mitigate the manual repetition of xul store URL

Categories

(Thunderbird :: Mail Window Front End, task, P3)

Tracking

(thunderbird_esr115 wontfix)

RESOLVED FIXED
124 Branch
Tracking Status
thunderbird_esr115 --- wontfix

People

(Reporter: aleca, Assigned: aleca)

References

Details

Attachments

(1 file)

We currently use a global XULSTORE_URL variable in about3Pane.js that all other JS files assume it always exists.
We also have a bunch of methods to check if things are visible or hidden, and those methods are reached by other methods inside classes or objects that shouldn't really happen.
Let's create a centralized place for Services.xulStore operations to remove the amount of repeated code and have a single point of failure.

Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P3
Attachment #9369939 - Attachment description: WIP: Bug 1871503 - Implement a XUL utils file. → Bug 1871503 - Implement a XUL utils file. r=#thunderbird-reviewers
Target Milestone: --- → 124 Branch

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/83ead1beab08
Implement a XUL utils file. r=john.bieling,heather

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Regressions: 1884585
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: