Closed Bug 1606506 Opened 4 years ago Closed 4 years ago

Error getting _title and _url properties of a message window "tab"

Categories

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

defect
Not set
normal

Tracking

(thunderbird_esr68 fixed)

RESOLVED FIXED
Thunderbird 73.0
Tracking Status
thunderbird_esr68 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

We're trying to read properties of this.browser, but it is null. You can see this by opening a message in a window and calling browser.tabs.query({}).

Also, this only happens with the tabs permission. The properties aren't used without it.

Attachment #9118244 - Flags: review?(mkmelin+mozilla)
Attachment #9118244 - Flags: approval-comm-esr68?
Attachment #9118244 - Flags: review?(mkmelin+mozilla)
Attachment #9118244 - Flags: review+
Attachment #9118244 - Flags: approval-comm-esr68?
Attachment #9118244 - Flags: approval-comm-esr68+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/fca52e027551
Fix _title and _url properties tabs that don't have a browser; r=mkmelin

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

Attachment

General

Created:
Updated:
Size: