Closed Bug 1531067 Opened 5 years ago Closed 5 years ago

Stop preprocessing chat files that ifdef Thunderbird vs. Instantbird

Categories

(Chat Core :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Instantbird 67

People

(Reporter: clokep, Assigned: clokep)

References

Details

Attachments

(1 file, 1 obsolete file)

A few of our files had different behavior based on whether they were in Instantbird or Thunderbird. This is longer necessary and can be simplified.

Attached patch Patch v1 (obsolete) — Splinter Review

I connected some accounts, clicked through the account wizard and such and didn't see any issues.

Assignee: nobody → clokep
Status: NEW → ASSIGNED
Attachment #9047110 - Flags: review?(florian)
Comment on attachment 9047110 [details] [diff] [review]
Patch v1

Review of attachment 9047110 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, but I'm not convinced bitrotting bug 1506529 is a good idea.

::: chat/content/imtooltip.xml
@@ -455,5 @@
> -         if (localName == "buddy")
> -           return updateTooltipFromBuddy(elt.buddy.preferredAccountBuddy);
> -
> -         if (localName == "contact")
> -           return updateTooltipFromContact(elt.contact);

Is this method becoming dead code?

Bug 1531741 partially handled this.

Attached patch Patch v2Splinter Review

This now ignores imtooltip.xml and imTextboxUtils.jsm is no longer preprocessed, so this got slimmed way down.

Attachment #9047110 - Attachment is obsolete: true
Attachment #9047110 - Flags: review?(florian)
Attachment #9047829 - Flags: review?(florian)
Comment on attachment 9047829 [details] [diff] [review]
Patch v2

Review of attachment 9047829 [details] [diff] [review]:
-----------------------------------------------------------------

We should get rid of our uses of the hidden window, but that's for another bug.
Attachment #9047829 - Flags: review?(florian) → review+

Pushed by clokep@gmail.com:
https://hg.mozilla.org/comm-central/rev/619c9cb3842e
Stop preprocessing chat files for Thunderbird. r=florian

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Instantbird 67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: