Closed Bug 1749989 Opened 3 years ago Closed 3 years ago

Come up with a better name for FullScreen.getAutohide

Categories

(Firefox :: Toolbars and Customization, task, P3)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: aminomancer, Assigned: mkohler)

Details

Attachments

(1 file)

As indicated here, the method FullScreen.getAutohide has an unintuitive name. It's named like a getter but it returns nothing, it's only a side effect. Its only function is to set the checked state of a context menu's fullscreen autohide menuitem to reflect the state of the pref browser.fullscreen.autohide, as the menuitem toggles this pref. So, a better name would probably be FullScreen.updateAutohideMenuitem

Severity: -- → N/A
Priority: -- → P3

Unless anyone objects to updateAutohideMenuitem I'll submit a patch when my previous revision for bug 1591040 lands

Sounds good to me.

Assignee: nobody → me
Status: NEW → ASSIGNED
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d4598339bb9b Rename FullScreen.getAutohide to FullScreen.updateAutohideMenuitem r=jaws
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: