Closed Bug 1681659 Opened 3 years ago Closed 3 years ago

Port bug 1674806 - Remove windowtype attribute from mail/components/preferences/dialogs

Categories

(Thunderbird :: Preferences, task, P5)

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: mkmelin, Assigned: Paenglab, Mentored)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1674806 +++

https://searchfox.org/comm-central/search?q=windowtype%3D&path=mail%2Fcomponents%2Fpreferences&case=false&regexp=false

The windowtype attribute is not needed for these and can just be removed.

Mentor: ntim.bugs → mkmelin+mozilla

Hi,

of course I gladly remove them as well. Br
gyj

Great, please go ahead and send us a patch. For setting up comm-central, see https://developer.thunderbird.net/

Sorry, i'm very newbie - didn't check it's not in firefox. I don't want to check out and setup commcentral only for this fix. Rather I stay at firefox for now.

Attached patch 1681659-remove-windowtype.patch (obsolete) — Splinter Review
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9192475 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9192475 [details] [diff] [review]
1681659-remove-windowtype.patch

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

Thanks!
Attachment #9192475 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → 85 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b9d851f8bb37
Port bug 1674806: Remove windowtype attribute from mail/components/preferences. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Backout by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/950ad853244b
Backed out changeset b9d851f8bb37 for test failures in comm/mail/test/browser/account/browser_archiveOptions.js

Magnus, I don't know how to open the dialog without this windowtype checking. Please, can you help me? Is there another function to open the dialog in tests?

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

The tests should preferably be rewritten to use BrowserTestUtils.domWindowOpened or something like that.
But, to just get rid of the windowtype attribute, I think we can just replace it with "id" instead and the test should continue to work.

Comment on attachment 9192775 [details] [diff] [review]
1681659-remove-windowtype.patch

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

Thx, r=mkmelin
Attachment #9192775 - Flags: review?(mkmelin+mozilla) → review+

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c989a1970f12
Port bug 1674806: Remove windowtype attribute from mail/components/preferences. r=mkmelin DONTBUILD

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: