Closed Bug 1224255 Opened 9 years ago Closed 9 years ago

[TV Browser] ("Show password") The underline should be red if the passwords are less than 8 characters in length

Categories

(Firefox OS Graveyard :: Gaia::TV::Browser, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.5+, b2g-v2.5 fixed, b2g-master fixed)

VERIFIED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-v2.5 --- fixed
b2g-master --- fixed

People

(Reporter: cynthiatang, Assigned: danhuang)

Details

(Whiteboard: [ft:conndevices])

Attachments

(1 file)

============== Gaia Information ==============
commit 27bc9412ca607648bc398b25bb1ae25653b2b278
Author: Greg Weng <snowmantw@gmail.com>
Date:   Thu Nov 12 10:27:47 2015 +0800

For Firefox account, the password must be at least 8 characters

STR: 
 1. Launch Browser
 2. Go to "Sign in to Sync" 
 3. Use your email address to sign in
 4. Select "Show password" 
 5. Enter "asdf" in the password filed.

Expected Result
 - The underline should be red

Actual Result:
 - The underline is blue
QA Whiteboard: [COM=TV Firefox Account]
Assignee: nobody → dhuang
Status: NEW → ASSIGNED
Comment on attachment 8689456 [details] [review]
[gaia] danhuang1202:1224255_password_underline_error_notice > mozilla-b2g:master

Hi Sean, please help review. This patch update the password input's underline color to red, when the input is invalid and the 'show password' option is enabled. Thanks.
Attachment #8689456 - Flags: review?(selee)
Comment on attachment 8689456 [details] [review]
[gaia] danhuang1202:1224255_password_underline_error_notice > mozilla-b2g:master

Hey Dan,

Thanks for the effort and the underline issue is fixed.
When the password is less then 8 characters, the input field of password is in black color rather then in red. After checking with email field, the color of underline and input field will be in red when the input is invalid.

Shall we change the font color to red when the password is less then 8 characters?
Attachment #8689456 - Flags: review?(selee)
Comment on attachment 8689456 [details] [review]
[gaia] danhuang1202:1224255_password_underline_error_notice > mozilla-b2g:master

Hi Sean, please help me review again. This patch will set password input text to red when invalid. Thanks.
Attachment #8689456 - Flags: review?(selee)
Comment on attachment 8689456 [details] [review]
[gaia] danhuang1202:1224255_password_underline_error_notice > mozilla-b2g:master

LGTM! Thanks for the effort.
Attachment #8689456 - Flags: review?(selee) → review+
Thanks for the review.
Merge in master: https://github.com/mozilla-b2g/gaia/commit/e46c486d577cf12b1f7255c500a9d4d4bf10b10b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8689456 [details] [review]
[gaia] danhuang1202:1224255_password_underline_error_notice > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Bug 1194108 
[User impact] if declined: not align to the UX visual spec
[Testing completed]: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=9918b58b0f1e6ab68f8b890851889a610da2fb4f
[Risk to taking this patch] (and alternatives if risky): None
[String changes made]: None
Attachment #8689456 - Flags: approval-gaia-v2.5?
blocking-b2g: --- → 2.5+
Comment on attachment 8689456 [details] [review]
[gaia] danhuang1202:1224255_password_underline_error_notice > mozilla-b2g:master

Approve for TV 2.5 Browser
Attachment #8689456 - Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
Verify this issue on the latest build.
The underline shows red color when the passwords are less than 8 characters in length.
[Build Info]
Environment: 2.6 Simulator
gaia:
https://github.com/mozilla-b2g/gaia/commit/a6ecae635719115aa72465efe522fdced3dd1d70
gecko:
https://hg.mozilla.org/mozilla-central/rev/af6356a3e8c56036b74ba097395356d9c6e6c5a3
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: