Closed Bug 504183 Opened 16 years ago Closed 16 years ago

Crash [@ nsHTMLInputElement::Focus] with file input focus and setting position:inherit, overflow:scroll

Categories

(Core :: XUL, defect, P2)

x86
All
defect

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: martijn.martijn, Assigned: enndeakin)

References

Details

(Keywords: crash, regression, testcase, Whiteboard: [ss:b2])

Crash Data

Attachments

(3 files)

Attached file testcase
See testcase, which crashes current trunk build within 100ms. This regressed between 2009-06-10 and 2009-06-11, so probably a regression from bug 178324. http://crash-stats.mozilla.com/report/index/6fdf09dc-8d4b-4a57-a27e-16f812090714?p=1 0 xul.dll nsHTMLInputElement::Focus content/html/content/src/nsHTMLInputElement.cpp:1365 1 xul.dll NS_InvokeByIndex_P xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp:101 2 xul.dll XPCWrappedNative::CallMethod js/src/xpconnect/src/xpcwrappednative.cpp:2692
I can't reproduce this crash on any platform.
I can reproduce this on MacOS X10.5 and Windows and also with a clean profile.
I can reproduce this as well on Mac OS X 10.5.
Flags: blocking1.9.2?
Whiteboard: [ss:b2]
Attached file another testcase
I can reproduce the patch with this second testcase. Turns out a break from the loop is just missing, as SetFocus can flush frames.
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Attachment #389762 - Flags: review?(Olli.Pettay)
Attachment #389762 - Flags: superreview+
Attachment #389762 - Flags: review?(Olli.Pettay)
Attachment #389762 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Flags: blocking1.9.2? → blocking1.9.2+
Priority: -- → P2
Mass change: adding fixed1.9.2 keyword (This bug was identified as a mozilla1.9.2 blocker which was fixed before the mozilla-1.9.2 repository was branched (August 13th, 2009) as per this query: http://is.gd/2ydcb - if this bug is not actually fixed on mozilla1.9.2, please remove the keyword. Apologies for the bugspam)
Keywords: fixed1.9.2
Crash Signature: [@ nsHTMLInputElement::Focus]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: