Closed Bug 1371746 Opened 4 years ago Closed 4 years ago

Remove unused variables in constants.js

Categories

(Firefox :: Sync, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: eoger, Assigned: lyret)

Details

Attachments

(1 file)

We have a lot of unused stuff in services/sync/modules/constants.js, this should be easy to clean-up.
Priority: -- → P3
Comment on attachment 8892288 [details]
Bug 1371746 - Remove unused variables in constants.js.

https://reviewboard.mozilla.org/r/163234/#review168568

Looks great, thanks!
Attachment #8892288 - Flags: review?(markh) → review+
Assignee: nobody → lyret
Comment on attachment 8892288 [details]
Bug 1371746 - Remove unused variables in constants.js.

https://reviewboard.mozilla.org/r/163234/#review168610

Try looks good, but there's a typo in the commit message - could you please fix that and re-push it to mozreview, and I'll land it.
Attachment #8892288 - Flags: review+
Comment on attachment 8892288 [details]
Bug 1371746 - Remove unused variables in constants.js.

https://reviewboard.mozilla.org/r/163234/#review168894

::: commit-message-8b196:1
(Diff revision 2)
> +Bug 1371746 - Remove unused variables in constanstjs. r?markh

Typo: "constants.js". Fix that up and I'll land this for you! \o/
Comment on attachment 8892288 [details]
Bug 1371746 - Remove unused variables in constants.js.

https://reviewboard.mozilla.org/r/163234/#review168910

Thanks!
Attachment #8892288 - Flags: review+
Pushed by kcambridge@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/749d2dbd5040
Remove unused variables in constants.js. r=kitcambridge
Attachment #8892288 - Flags: review?(markh)
i found that i forget to remove unused variables of here:
http://searchfox.org/mozilla-central/source/tools/lint/eslint/modules.json#34

maybe, that is the problem?

and this two variables are use but no from constants.js:
http://searchfox.org/mozilla-central/search?q=HMAC_INPUT&case=false&regexp=false&path=
http://searchfox.org/mozilla-central/search?q=FIREFOX_ID&case=false&regexp=false&path=

remove anyway?
https://hg.mozilla.org/mozilla-central/rev/749d2dbd5040
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
(In reply to Luciano I from comment #9)
> i found that i forget to remove unused variables of here:
> http://searchfox.org/mozilla-central/source/tools/lint/eslint/modules.json#34
> 
> maybe, that is the problem?
> 
> and this two variables are use but no from constants.js:
> http://searchfox.org/mozilla-central/
> search?q=HMAC_INPUT&case=false&regexp=false&path=
> http://searchfox.org/mozilla-central/
> search?q=FIREFOX_ID&case=false&regexp=false&path=
> 
> remove anyway?

Thanks for following up here - please feel free to open another bug for these changes!
You need to log in before you can comment on or make changes to this bug.