Closed Bug 1639107 Opened 4 years ago Closed 4 years ago

Port bug 1638153 to Thunderbird: Fix JS users of rootTreeItem

Categories

(Thunderbird :: General, task, P1)

Tracking

(thunderbird78 unaffected)

RESOLVED FIXED
Thunderbird 79.0
Tracking Status
thunderbird78 --- unaffected

People

(Reporter: mkmelin, Assigned: Paenglab)

References

Details

Attachments

(1 file)

This is a port of https://hg.mozilla.org/integration/autoland/rev/ba4656e730c4.

I haven't tested it, I only converted all docShell.rootTreeItem.domWindow to browsingContext.topChromeWindow.

Assignee: nobody → richard.marti
Attachment #9157377 - Flags: review?(mkmelin+mozilla)

Tested it now and all works.

With and without the patches in m-c and c-c I see following error:
Uncaught TypeError: can't access property "QueryInterface", aWebProgress is null
onProgressChange chrome://messenger/content/tabmail.js:593

Do you know what this is? Do you see this too?

Looks like bug 1646483 - loads of tests failing.

Comment on attachment 9157377 [details] [diff] [review]
1639107-fix-rootTreeItem.patch

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

Looks good, thx!
Attachment #9157377 - Flags: review?(mkmelin+mozilla) → review+
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird 79.0

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b17c821d89c9
Port bug 1638153 part 2: Fix uses of .rootTreeItem to get top browser window. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 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: