Closed Bug 1450240 Opened 6 years ago Closed 6 years ago

Remove the overlays in preferences with inlining and preprocessing

Categories

(Thunderbird :: Preferences, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 61.0

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(1 file)

The different panes use an overlay to load into the preferences window/tab.
I see the same errors as without the patch like:
 document.getAnonymousElementByAttribute(...) is null handlers.xml:29
or when opening the password dialog:
[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIIOService.newURI]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource://gre/modules/NetUtil.jsm :: NetUtil_newURI :: line 204"  data: no]
[Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService.newURI]"  nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)"  location: "JS frame :: resource://gre/modules/NetUtil.jsm :: NetUtil_newURI :: line 204"  data: no]
favicon not found for uri

So this patch should be save.

I can file a bug for the password dialog errors if you want.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8963924 - Flags: review?(jorgk)
Why are the new files called xxx.inc.xul and not just xxx.inc? I should have asked that earlier since there are already heaps of .inc.xul files now. But better late than never ;-)
I've done this because FX does this too. And this files are almost complete XUL files which miss only the headers and the last line. Other files I named only xxx.inc are only snippets of XUL files. But if you want to rename them, I can do this. I have no big preference how they should be named.
Just asking. I'll try it now.
I clicked myself through all the preferences. Attachments is missing the "Incoming"/"Outgoing" tabs.
Here they are present. Have you errors in the console?
Comment on attachment 8963924 [details] [diff] [review]
preferencesOverlay.patch

The profile had cloud files disabled via mail.cloud_files.enabled. All good.
Attachment #8963924 - Flags: review?(jorgk) → review+
Thanks.
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/3e4da1fe6a9b
Remove the overlays in preferences with inlining and pre-processing. r=jorgk
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 61.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: