Closed
Bug 917956
Opened 12 years ago
Closed 12 years ago
[Clock] Timer spinner allows for out-of-bound input
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(blocking-b2g:koi+, b2g-v1.2 verified)
People
(Reporter: jugglinmike, Assigned: gnarf)
Details
Attachments
(1 file)
|
1.11 KB,
patch
|
jugglinmike
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
1. Navigate to the "Timer" panel
2. Use the "spinner" UI element to specify a duration of 59 seconds
3. Attempt to drag the spinner upwards by one more unit
Expected: the spinner does not move
Actual: the spinner "rolls over" to an empty value
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gnarf37
| Assignee | ||
Comment 1•12 years ago
|
||
Simple range calculation error fixed. Values can go from [0, values.length-1] not from [0, values.length]
Attachment #806870 -
Flags: review?(mike)
| Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 806870 [details] [diff] [review]
patch v1
Review of attachment 806870 [details] [diff] [review]:
-----------------------------------------------------------------
Nicely done, Corey.
Attachment #806870 -
Flags: review?(mike) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 4•12 years ago
|
||
Requesting "koi+" because invalid input should not be allowed.
blocking-b2g: --- → koi?
Comment 6•12 years ago
|
||
Uplifted 8a4a02484fadf275a43c112153b88eb7b1538862 to:
v1.2: e679bea2a5725a942353b970dace18c30129d6ca
status-b2g-v1.2:
--- → fixed
Comment 7•12 years ago
|
||
Verified on Buri 1.2 mozilla RIL. Attempting to scroll the timer rollers past their limit will cause the rollers to snap back to the maximum value (23 for hour, 59 for minute and second) once they're released.
Build ID: 20130925004005
Gecko: http://hg.mozilla.org/releases/mozilla-aurora/rev/fb764e648a8f
Gaia: b0e4a1333bb7bf0a749a384ba99e4f03f111e39a
Platform Version: 26.0a2
You need to log in
before you can comment on or make changes to this bug.
Description
•