Closed
Bug 961646
Opened 10 years ago
Closed 10 years ago
SessionStore and nsISessionStore behave differently
Categories
(Firefox :: Session Restore, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 996053
People
(Reporter: tabutils+bugzilla, Unassigned)
References
Details
nsISessionStore.getTabValue always returns string, while SessionStore.getTabValue returns various data types. Suppose SessionStore.setTabValue(aTab, "locked", true), SessionStore.getTabValue will return boolean true, while nsISessionStore.getTabValue(aTab, "locked") will return "true". Suppose SessionStore.setTabValue(aTab, "locked", false), SessionStore.getTabValue will return "", while nsISessionStore.getTabValue(aTab, "locked") will return "false".
Comment 1•10 years ago
|
||
I think there is a bug that planned to add type checks to get/setTabValue() but I can't find it right now.
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Bug 908440 is fixed now, but the issue remains. SessionStore.setTabValue throws for non-string input, which is annoying, but nsISessionStore.setTabValue never throws.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Blocks: 908440
Summary: SessionStore.getTabValue and nsISessionStore.getTabValue behave differently → SessionStore and nsISessionStore behave differently
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago → 10 years ago
No longer depends on: 996053
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•