Take SessionStore.sys.mjs off the sessionstore TypeScript exclude list
Categories
(Firefox :: Session Restore, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
The remaining one-offs, then the gate: @this annotations for the five observer and callback methods invoked with a receiver that isn't the class, three arity mismatches, a new on a class the checker sees as a function, the undeclared TabMetricsContext and nsIFrameLoader names, the unresolved Log namespace, a string-or-boolean return, and the properties read off TabStateData and WindowStateData that the typedefs don't declare, each a declare-or-delete decision.
With those at zero, the last commit empties and deletes the exclude list in browser/components/sessionstore/tsconfig.json. Depends on the four sibling bugs that type the event entry points, the closed tab records, the window handles, and the window geometry restore.
| Assignee | ||
Comment 1•1 month ago
|
||
GlobalState.sys.mjs becomes a class with a private field; its only consumer is SessionStore, which calls its methods through the instance, so nothing relied on the methods being bound or the object being frozen.
Updated•1 month ago
|
Updated•1 month ago
|
Description
•