Closed
Bug 1130405
Opened 10 years ago
Closed 10 years ago
Remove unused pippki strings
Categories
(Core Graveyard :: Security: UI, defect)
Core Graveyard
Security: UI
Tracking
(firefox38 fixed)
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: Cykesiopka, Assigned: Cykesiopka)
Details
Attachments
(1 file, 1 obsolete file)
15.17 KB,
patch
|
jcj
:
review+
|
Details | Diff | Splinter Review |
There are unused pippki strings in the .dtd and .properties files that can be removed.
![]() |
Assignee | |
Comment 1•10 years ago
|
||
This patch removes the strings in question.
Included in this try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4c280971b9d7
Attachment #8560847 -
Flags: review?(dkeeler)
![]() |
||
Comment 2•10 years ago
|
||
Comment on attachment 8560847 [details] [diff] [review]
bug1130405_rm-unused-pippki-strings_v1.patch
Review of attachment 8560847 [details] [diff] [review]:
-----------------------------------------------------------------
JC, I'd appreciate it if you would review this patch. Basically, you just need to verify that these strings aren't being used any more (using dxr or mxr should be sufficient). Thanks!
Attachment #8560847 -
Flags: review?(dkeeler) → review?(jjones)
Comment 3•10 years ago
|
||
Comment on attachment 8560847 [details] [diff] [review]
bug1130405_rm-unused-pippki-strings_v1.patch
Review of attachment 8560847 [details] [diff] [review]:
-----------------------------------------------------------------
I took all the changed lines through DXR; found one hit... I believe, assuming it's case-insensitive. Please take a look. Thanks!
::: security/manager/locales/en-US/chrome/pippki/pippki.properties
@@ -117,5 @@
> devinfo_stat_ready=Ready
> enable_fips=Enable FIPS
> disable_fips=Disable FIPS
> fips_nonempty_password_required=FIPS mode requires that you have a Master Password set for each security device. Please set the password before trying to enable FIPS mode.
> -unable_to_toggle_fips=Unable to change the FIPS mode for the security device. It is recommended that you exit and restart this application.
This appears to be referenced from security/manager/pki/resources/content/device_manager.js:525
![]() |
||
Comment 4•10 years ago
|
||
(In reply to J.C. Jones [:jcj] from comment #3)
> > -unable_to_toggle_fips=Unable to change the FIPS mode for the security device. It is recommended that you exit and restart this application.
>
> This appears to be referenced from
> security/manager/pki/resources/content/device_manager.js:525
Good catch - I imagine these strings were intended to be the same:
https://hg.mozilla.org/mozilla-central/rev/c13b8d0a066c
Let's fix device_manager.js to use the same case.
![]() |
Assignee | |
Comment 5•10 years ago
|
||
(In reply to J.C. Jones [:jcj] from comment #3)
> Comment on attachment 8560847 [details] [diff] [review]
> bug1130405_rm-unused-pippki-strings_v1.patch
>
> Review of attachment 8560847 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I took all the changed lines through DXR; found one hit... I believe,
> assuming it's case-insensitive. Please take a look. Thanks!
>
> ::: security/manager/locales/en-US/chrome/pippki/pippki.properties
> @@ -117,5 @@
> > devinfo_stat_ready=Ready
> > enable_fips=Enable FIPS
> > disable_fips=Disable FIPS
> > fips_nonempty_password_required=FIPS mode requires that you have a Master Password set for each security device. Please set the password before trying to enable FIPS mode.
> > -unable_to_toggle_fips=Unable to change the FIPS mode for the security device. It is recommended that you exit and restart this application.
>
> This appears to be referenced from
> security/manager/pki/resources/content/device_manager.js:525
Oops, thanks for catching that! (I'll have to make sure case sensitivity is turned off next time...)
(In reply to David Keeler [:keeler] (use needinfo?) from comment #4)
> Good catch - I imagine these strings were intended to be the same:
>
> https://hg.mozilla.org/mozilla-central/rev/c13b8d0a066c
>
> Let's fix device_manager.js to use the same case.
OK.
![]() |
Assignee | |
Updated•10 years ago
|
Attachment #8560847 -
Attachment is obsolete: true
Attachment #8560847 -
Flags: review?(jjones)
![]() |
Assignee | |
Comment 6•10 years ago
|
||
(In reply to David Keeler [:keeler] (use needinfo?) from comment #4)
> Good catch - I imagine these strings were intended to be the same:
>
> https://hg.mozilla.org/mozilla-central/rev/c13b8d0a066c
>
> Let's fix device_manager.js to use the same case.
Spun off into Bug 1131475: it turns out that case does matter here, and the code in question doesn't actually work.
![]() |
Assignee | |
Comment 7•10 years ago
|
||
- Revert removal of "unable_to_toggle_fips" string
I also checked all the strings again with case sensitivity off. Hopefully I haven't made any more mistakes.
Attachment #8562763 -
Flags: review?(jjones)
Comment 8•10 years ago
|
||
Comment on attachment 8562763 [details] [diff] [review]
bug1130405_rm-unused-pippki-strings_v2.patch
Review of attachment 8562763 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks; looks good to go. r=jcj
Attachment #8562763 -
Flags: review?(jjones) → review+
![]() |
Assignee | |
Comment 9•10 years ago
|
||
Thanks for the review!
https://treeherder.mozilla.org/#/jobs?repo=try&revision=79c65c11882c
Keywords: checkin-needed
Comment 10•10 years ago
|
||
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•