Closed
Bug 720058
Opened 13 years ago
Closed 13 years ago
Crash when tapping multiple comboboxes, then dismissing multiple dialogs
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 fixed, fennec11+)
VERIFIED
FIXED
Firefox 12
People
(Reporter: martijn.martijn, Assigned: wesj)
References
Details
(Keywords: crash, testcase, Whiteboard: [native-crash])
Attachments
(3 files)
365 bytes,
text/html
|
Details | |
31.47 KB,
text/plain
|
Details | |
2.28 KB,
patch
|
bnicholson
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Tested on the LG Optimus Black, Android 2.2.2.
Steps to reproduce:
- Open testcase, tap on multiple comboboxes quickly.
Multiple dialogs appear (should not happen, should it?). After tapping on 3 on them, Fennec hangs and after a while you get the "not responding" dialog, where you finally can choose to force close Fennec.
Reporter | ||
Comment 1•13 years ago
|
||
Updated•13 years ago
|
Whiteboard: [native-crash]
Updated•13 years ago
|
Assignee: nobody → wjohnston
tracking-fennec: --- → 11+
Priority: -- → P2
Assignee | ||
Comment 2•13 years ago
|
||
This is really a dup of bug 707029, and I also fixed bug 718965 while I was here.
Attachment #591199 -
Flags: review?(bnicholson)
Comment 3•13 years ago
|
||
Comment on attachment 591199 [details] [diff] [review]
Patch
result.listitems[aIndex] = {
label: aNode.text || aNode.label,
isGroup: this._isOptionGroupElement(aNode),
inGroup: this._isOptionGroupElement(aNode.parentNode),
disabled: aNode.disabled,
id: aIndex
}
+ if (result.listitems[aIndex].inGroup)
+ result.listitems[aIndex].disabled = result.listitems[aIndex].disabled || aNode.parentNode.disabled;
It might be a bit cleaner if you factor out result.listitems[aIndex]:
let listItem = result.listitems[aIndex] = {
label: aNode.text || aNode.label,
isGroup: this._isOptionGroupElement(aNode),
inGroup: this._isOptionGroupElement(aNode.parentNode),
disabled: aNode.disabled,
id: aIndex
};
if (listItem.inGroup)
listItem.disabled = listItem.disabled || aNode.parentNode.disabled;
Attachment #591199 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Whiteboard: [native-crash] → [native-crash][inbound]
Assignee | ||
Comment 5•13 years ago
|
||
Whoops brian. Completely forgot about the comment idea. Fixed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/80a63d2f69ea
Comment 6•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1a83fdd31f60
https://hg.mozilla.org/mozilla-central/rev/80a63d2f69ea
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [native-crash][inbound] → [native-crash]
Target Milestone: --- → Firefox 12
Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 591199 [details] [diff] [review]
Patch
[Approval Request Comment]
Regression caused by (bug #): bug 695485
User impact if declined: potential crashiness on a few sites
Testing completed (on m-c, etc.): landed on Jan 24
Risk to taking this patch (and alternatives if risky): low risk.
Attachment #591199 -
Flags: approval-mozilla-aurora?
Reporter | ||
Comment 8•13 years ago
|
||
Verified fixed in current Native trunk build.
Status: RESOLVED → VERIFIED
Comment 9•13 years ago
|
||
Comment on attachment 591199 [details] [diff] [review]
Patch
[Triage Comment]
Mobile only - approved for Aurora.
Attachment #591199 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 10•13 years ago
|
||
status-firefox11:
--- → fixed
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•