Closed Bug 426313 Opened 16 years ago Closed 15 years ago

crash if I close XUL dialog with textbox element with "onblur" event and it's focused

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kozlovalexandr, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

Crash if I close chrome XUL dialog with textbox element with "onblur" event and it's focused.

When I remove "onblur" event on unload event all works fine, so, I think problem with "onblur".

Reproducible: Always

Steps to Reproduce:
1. I open XUL dialog: window.openDialog("chrome://XXXX/content/ui/XXXX.xul", "XXXXX", "chrome,centerscreen");
2. I have textbox element with "onblur" event:
 <textbox id="login" flex="1" onblur="onLoginChange();"/>
3. When focus currently in textbox and I close dialog (100% if I close by ESC or button on title bar) FireFox 2.0.0.13 will crash.
A *minimal* testcase would be great.
I hope it will help to reproduce this bug.
crashes that require chrome privs don't default to security sensitive.
Group: security
I installed the extension on Firefox trunk on Vista and couldn't get its dialog to crash me.  I tried enter, esc, clicking the red x, and more.

Alexander, is this still crashing for you?
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
I re-test this on FireFox 4 and there is no crash any more.
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: