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

RESOLVED WORKSFORME

Status

()

--
critical
RESOLVED WORKSFORME
11 years ago
8 years ago

People

(Reporter: kozlovalexandr, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
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.
(Reporter)

Comment 2

11 years ago
Created attachment 314834 [details]
Toolbar with dialog that crash FireFox

I hope it will help to reproduce this bug.

Comment 3

11 years ago
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
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 5

8 years ago
I re-test this on FireFox 4 and there is no crash any more.
You need to log in before you can comment on or make changes to this bug.