Closed Bug 1836469 Opened 2 years ago Closed 2 years ago

document what mailnews.js and all-thunderbird.js do

Categories

(Thunderbird :: General, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr115 wontfix)

RESOLVED FIXED
118 Branch
Tracking Status
thunderbird_esr115 --- wontfix

People

(Reporter: KaiE, Assigned: mkmelin)

References

Details

(Whiteboard: [snnot3p])

Attachments

(1 file)

We currently have different default values for pref mail.import.in_new_tab
packaged in omni.ja:
./defaults/pref/mailnews.js
./defaults/pref/all-thunderbird.js

Is this a mistake? Should one get removed?

Because the pref values are different, does this mean we get a random pref value at runtime (or maybe always one of the files takes precedence)?

Flags: needinfo?(geoff)
Depends on: 1720042

The all-thunderbird.js will take precedence over mailnews.js (which is for mailnews backend stuff theoretically shared with seamonkey).
So it's not really a bug - all-thunderbird.js is where we add something to override a default value for Thunderbird only. In many/most cases we could of course just change the mailnews.js value.
For the pref in question, seamonkey would not have the new import in tab...

Flags: needinfo?(geoff)

Thanks for the clarification.

It would help to document that as a comment at the top of those files.

Severity: -- → S4
Whiteboard: [snnot3p]
Version: unspecified → Thunderbird 102

Magnus, do you agree to document that in a comment in the prefs files?

Flags: needinfo?(mkmelin+mozilla)

I guess we can do that.

Flags: needinfo?(mkmelin+mozilla)
Summary: Duplicate pref in mailnews.js and all-thunderbird.js → document what mailnews.js and all-thunderbird.js do
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Target Milestone: --- → 118 Branch

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/5dab73cd76b2
document what mailnews.js and all-thunderbird.js do. r=babolivier

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Thanks Magnus!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: