Closed Bug 1838951 Opened 3 years ago Closed 2 years ago

Add basic sessions API

Categories

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

enhancement

Tracking

(thunderbird_esr102 wontfix, thunderbird115 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
thunderbird_esr102 --- wontfix
thunderbird115 --- fixed

People

(Reporter: john, Assigned: john)

Details

Attachments

(1 file)

This is adding support for WebExtension session data being added to tabs, which is restored on app restart.

Assignee: nobody → john
Status: NEW → ASSIGNED
Attachment #9339662 - Attachment description: Bug 1838951 - Add basic sessions API. r=darktrojan → Bug 1838951 - Add basic sessions API. r=mkmelin
Attachment #9339662 - Attachment description: Bug 1838951 - Add basic sessions API. r=mkmelin → Bug 1838951 - Add basic sessions API. r=darktrojan
Attachment #9339662 - Attachment description: Bug 1838951 - Add basic sessions API. r=darktrojan → Bug 1838951 - Add basic sessions API. r=mkmelin
Attachment #9339662 - Attachment description: Bug 1838951 - Add basic sessions API. r=mkmelin → Bug 1838951 - Add basic sessions API. r=darktrojan
Attachment #9339662 - Attachment description: Bug 1838951 - Add basic sessions API. r=darktrojan → Bug 1838951 - Add basic sessions API. r=mkmelin
Target Milestone: --- → 116 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/930a16c9f5d9
Add basic sessions API. r=mkmelin

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

Comment on attachment 9339662 [details]
Bug 1838951 - Add basic sessions API. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Add-on developers will be missing the new sessions API, which allows them to store tab related session data. Since m-c delayed add-on startup, developers can no longer use an Experiment to register a tabMontor and restore the data during app startup. The sessions API restored that capability.

Testing completed (on c-c, etc.):
On Daily since today.

Risk to taking this patch (and alternatives if risky):
In core it only adds an additional trigger for a onTabRestored event, which was missing for the first mail tab. All other code is in API land and does not effect the product. There should be no risk.

Attachment #9339662 - Flags: approval-comm-beta?

Comment on attachment 9339662 [details]
Bug 1838951 - Add basic sessions API. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9339662 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: