Closed Bug 1451715 Opened 7 years ago Closed 7 years ago

Rename {get,set,delete}{Window,Global}Value to match {get,set,delete}CustomTabValue

Categories

(Firefox :: Session Restore, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: dao, Assigned: jason, Mentored)

References

Details

Attachments

(1 file, 2 obsolete files)

In bug 1446719 we renamed getTabValue, setTabValue and deleteTabValue. For consistency and clarity we should do the same for: getWindowValue, setWindowValue, deleteWindowValue, getGlobalValue, setGlobalValue, deleteGlobalValue.
Assignee: nobody → 1991manish.kumar
Seems correct!
Flags: needinfo?(dao+bmo)
How can I test this after changes on my system?
Flags: needinfo?(dao+bmo)
(In reply to Manish Kumar [:manishkk] from comment #3) > How can I test this after changes on my system? By running tests: ./mach mochitest browser/components/sessionstore/test/ ./mach mochitest browser/components/extensions/test/browser/browser_ext_sessions_window_tab_value.js
Flags: needinfo?(dao+bmo)
Assignee: 1991manish.kumar → nobody
Hi Dão - may I take this one?
Flags: needinfo?(dao+bmo)
Sure!
Assignee: nobody → jason
Flags: needinfo?(dao+bmo)
Attached patch bug-1451715.patch (obsolete) — Splinter Review
Requested changes made, tests ran without fail. Hope it looks good for you. Thanks, Jason
Flags: needinfo?(dao+bmo)
Attachment #9011032 - Flags: review+
Flags: needinfo?(dao+bmo)
Attachment #9011032 - Flags: review+ → review?(dao+bmo)
Comment on attachment 9011032 [details] [diff] [review] bug-1451715.patch This looks good, except that we only want to change the internal SessionStore API. The extension API shouldn't change for the time being.
Attachment #9011032 - Flags: review?(dao+bmo)
Attached patch bug-1451715.patch (obsolete) — Splinter Review
Undid changes to session extension. Please review thanks!
Attachment #9011032 - Attachment is obsolete: true
Flags: needinfo?(dao+bmo)
Attachment #9011898 - Flags: review+
Comment on attachment 9011898 [details] [diff] [review] bug-1451715.patch >--- a/browser/components/sessionstore/SessionStore.jsm >+++ b/browser/components/sessionstore/SessionStore.jsm >+setCustomGlobalValue(aKey, aStringValue) { >+ SessionStoreInternal.setCustomGlobalValue(aKey, aStringValue); >+ }, >+ >+deleteCustomGlobalValue(aKey) { >+ SessionStoreInternal.deleteCustomGlobalValue(aKey); > }, nit: indentation is off at the method headers
Flags: needinfo?(dao+bmo)
Attachment #9011898 - Flags: review+
That nit is legit. Patch updated and re–submitted. Thanks!
Attachment #9011898 - Attachment is obsolete: true
Flags: needinfo?(dao+bmo)
Attachment #9012156 - Flags: review+
Flags: needinfo?(dao+bmo)
Comment on attachment 9012156 [details] [diff] [review] bug-1451715.patch Looks good, thanks!
Attachment #9012156 - Flags: review?(dao+bmo) → review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/51cd5f6c6fa3 Rename {get,set,delete}{Window,Global}Value to match {get,set,delete}CustomTabValue. r=dao
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: