Closed Bug 1945749 Opened 14 days ago Closed 12 days ago

Port bug 581863 - Intermittent comm/mail/components/extensions/test/browser/browser_ext_windows_events.js | undefined - Expected: 500, Actual: 537

Categories

(Thunderbird :: Add-Ons: Extensions API, defect, P5)

Tracking

(Not tracked)

RESOLVED FIXED
137 Branch

People

(Reporter: intermittent-bug-filer, Assigned: TbSync)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

comm/mail/components/extensions/test/browser/browser_ext_windows.js also failing

Assignee: nobody → john
Status: NEW → ASSIGNED

On Linux, the initially created window does not have decorations and
setting an outer size will set the same inner size. After the initial
window creation, the decorations are added without changing the inner
size, resulting in a larger then requested window.

Before bug 581863 was fixed, Linux always reported the inner size,
hiding the mentioned issue in tests. After bug 581863 was fixed, the
actual (too big) size is reported and tests started to fail.

This patch forces an update of the geometry after the created window
received focus, which should be late enough for the decorations to be
present and the window being correctly re-sized.

Target Milestone: --- → 137 Branch

Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ff2585451f1c
Deal with bug 581863 and force correct size of WebExtension popup windows. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: