Closed Bug 274519 Opened 20 years ago Closed 20 years ago

Gecko/20041107 Firefox/1.0 window.confirm js bug

Categories

(Toolkit Graveyard :: Error Console, defect)

1.7 Branch
x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: ibrahimtipirdamaz, Assigned: bugs)

Details

open following html page and click link please.

---------beginning of file--------------------
<html>
<head>
<title>Gecko/20041107 Firefox/1.0 js bug</title>
<script language=javascript>
function confirm_drop_database(db_name, ob)
{
   if(!window.confirm(db_name + " will be deleted! Are you sure to continue?"))
return;
   else window.location = ob.href;
}
</script>
</head>
<body>
<a href="drop_database.php?db_name=database"
onmousedown="javascript:confirm_drop_database('database', this)">drop database</a>
</body>
</html>
----------end of file---------------
WFM
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041212
Firefox/1.0+

What exactly is the bug here? Can you elaborate on expected/actual behavior?
I am not clear what the problem is. I tried the testcase but couldn't get much..
Looks fine to me too.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Please explain what the problem is and reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.