Closed Bug 295684 Opened 20 years ago Closed 15 years ago

Can focus textbox with an alert open (alerts not modal dialogs)

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: a.herz, Unassigned)

Details

(Whiteboard: DUPEME?)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050517 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050517 Firefox/1.0+

If I show an alert box and reload the page the firefox crashes after
I close the alert box.

Reproducible: Sometimes

Steps to Reproduce:
1. Load the test page
2. Click into the input box (alert box apears)
3. Click again into the input box
4. press F5 to reload the page
5. Close the alert box
6. CRASH
Actual Results:  
The browsers crashes

Expected Results:  
Don't enable the user to focus the browser if an
alertbox visible (modal dialog)

Don'T enable the user to reload the main page
if an alert box visible.

Save the page as test.xul:
--------------------------
<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  >

<textbox onfocus="alert(this.id)" id="23000154" value=""/>
</window>
Caillon: could you look at this one and see if this is an exploitable crash?
I can confirm, on linux, that you can focus into the input box even with the
alert open. Can't do much else with the page, but you can hit F5 to reload.

No crash with 1.0.x on RHEL AS4

No crash with 20050707 trunk Firefox ("Deer Park").

Talkback reports of the crash you're seeing might help. Clearing security flag
to get more help possibly reproducing this
Group: security
Summary: crash after reload if an alert-box visible. → Can focus textbox with an aler open (Linux; crash on F5/reload?)
Is this still reproducible with Firefox 2.0.0.3 or later using a clean profile?

http://kb.mozillazine.org/Profile_Manager
Whiteboard: CLOSEME - 05/16
I can't reproduce the crash with a recent trunk nightly (UA below). Like Dan, I can click the textbox when I shouldn't be able to, however. I'm pretty sure this is a dupe, so not closing, but hoping someone will find the dupe.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070516 Minefield/3.0a5pre
Severity: critical → normal
Summary: Can focus textbox with an aler open (Linux; crash on F5/reload?) → Can focus textbox with an alert open (alerts not modal dialogs)
Whiteboard: CLOSEME - 05/16 → DUPEME?
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Version: unspecified → 1.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: