Closed Bug 1711270 Opened 4 years ago Closed 4 years ago

Fix typo in function name of updateAriaLabelsOfAddressRow()

Categories

(Thunderbird :: Message Compose Window, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird89 wontfix)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird89 --- wontfix

People

(Reporter: thomas8, Assigned: thomas8)

Details

Attachments

(1 file)

Thanks to :darktrojan for finding this, good catch!
As discussed on Matrix today, this function was born with a typo (wasn't me...):

https://searchfox.org/comm-central/rev/0d91887877be667c7253890a21dfe1806bdbfe4a/mail/components/compose/content/MsgComposeCommands.js#4197
function udpateAddressingInputAriaLabel(row) {

Two commits later, everyone including myself still never saw the typo in spite of touching the function name.

https://searchfox.org/comm-central/rev/b8dec9127eaa897dd3f4cd1cd0d151b015df2b43/mail/components/compose/content/MsgComposeCommands.js#4449

async function udpateAriaLabelsOfAddressRow(row) {

Time to nitfix this once and for all!

Fix the typo.

Attachment #9222009 - Flags: review?(geoff)

As discussed on Matrix today, this function was born with a typo (wasn't me...):

That was a beautiful Easter egg I left on purpose...yeah...definitely on purpose...

Comment on attachment 9222009 [details] [diff] [review]
1711270_fixtypo_updateAriaLabelsOfAddressRow.diff

Thanks for fixing. I would never make such a ridiculous mistake!

Attachment #9222009 - Flags: review?(geoff) → review+

Alright, let me summarize for the sake of order and QA:

  • Per Aleca's comment 2, this was a beautiful easter egg left on purpose.
  • Per Geoff's comment 3, it would appear that the egg theory has been crushed, so it's now scrambled egg at best...
  • Strangely, eval("comment 2 || comment 3") returns false! Something is fishy here! I am seeing elements of diversionary tactics!

So what's the way forward? File a followup bug, "Add developer polygraph test to BMO comment linter"!?

Target Milestone: --- → 90 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1934a66dc57e
Fix typo in function name of updateAriaLabelsOfAddressRow(). r=darktrojan

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

Fwiw, TB 78 is probably wontfix, but not unaffected as it does have the original typo (inconsequential):
https://hg.mozilla.org/releases/comm-release/file/9921e1929e744e2f5e64163f036c215f2960fc1f/mail/components/compose/content/MsgComposeCommands.js#l4137
function udpateAddressingInputAriaLabel(row) {

(copied over mkmelin's flag change from my identical Bug 1710825 Comment 10 which was in the wrong place)

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

Attachment

General

Created:
Updated:
Size: