Closed
Bug 895314
Opened 11 years ago
Closed 6 years ago
Remove workaroud on Bug 893614 - [STK]The maxlength of the inputbox didn't set corretly in GET_INPUT command.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(tracking-b2g:backlog)
RESOLVED
WONTFIX
tracking-b2g | backlog |
People
(Reporter: frsela, Unassigned)
References
Details
Attachments
(1 file)
715 bytes,
patch
|
Details | Diff | Splinter Review |
The workaround created in 893614 caused for the 818270 bug should be removed as soon as bug 818270 is landed
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•10 years ago
|
||
Dear Fernando, The latest code still not OK on v1.3: 444 // Workaround. See bug #818270. Followup: #895314 445 setTimeout(function workaround_bug818270() { 446 self.icc_input_box.maxLength = options.maxLength; 447 self.icc_input_box.value = options.defaultText || ''; 448 }); What do you think? We can't always waive this.
blocking-b2g: --- → 1.3?
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to xiaokang.chen from comment #2) > Dear Fernando, > The latest code still not OK on v1.3: > > 444 // Workaround. See bug #818270. Followup: #895314 > 445 setTimeout(function workaround_bug818270() { > 446 self.icc_input_box.maxLength = options.maxLength; > 447 self.icc_input_box.value = options.defaultText || ''; > 448 }); > > What do you think? We can't always waive this. Hi, This is an old bug in the input box control of Gecko. The related bug shall be fixed first. This is only a workaround to display the control and after that change the maxlength and value attributes. This can fail by a race condition since this timeout is fired asap (no timer defined) ... we can increase it to 500ms or so... WDYT? Any other idea for a better workaround?
Flags: needinfo?(chenxk)
Comment 5•10 years ago
|
||
Dear fernando, I can't reproduce when I try 500ms, it works maybe. And I will let the qa try the new code in lab, if it work, we can merge the code. I will inform you if I got the result!
Flags: needinfo?(chenxk)
Comment 6•10 years ago
|
||
Dear Fernando, 500ms works OK. QA didn't reproduce this bug in lab with 500ms delay. Thanks a lot!
Reporter | ||
Comment 7•10 years ago
|
||
(In reply to xiaokang.chen from comment #6) > Dear Fernando, > 500ms works OK. QA didn't reproduce this bug in lab with 500ms delay. Thanks > a lot! Creating a new bug (988362) to add this proposal since this one is to *remove* these workarounds ;)
Assignee | ||
Updated•9 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Comment 8•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•