Closed Bug 1824630 Opened 3 years ago Closed 6 months ago

TabStateCache documentation/function signatures are misleading

Categories

(Firefox :: Session Restore, task, P3)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: aminomancer, Assigned: harold.camacho.diaz, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(2 files)

See TabStateCache.sys.mjs: most of the function signatures and code comments refer to the status quo before bug 1703692, where the cache mapped tabs/browsers to tab data. Now, they only accept nsIBrowser::permanentKey instances, but the documentation currently doesn't reflect that (including the lede at the top)

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dao+bmo)

We want to update the language from Retrieves cached data for a given |tab| or associated |browser|. to Retrieves cached data for the tab with the given permanent key.

Mentor: sfoster
Severity: -- → N/A
Type: defect → task
Flags: needinfo?(dao+bmo)
Keywords: good-first-bug
Priority: -- → P3
Assignee: nobody → harold.camacho.diaz
Status: NEW → ASSIGNED

Hi Sam, I have updated the TabStateCache.sys.mjs file to reflect the abovementioned changes.

Hi Sam, I went ahead and added the indentation to the comment as suggested It now matches the @param above.

Thanks!

Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/21d63e247139 TabStateCache documentation/function signatures are misleading. r=sfoster,sessionstore-reviewers
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: