Closed
Bug 175875
Opened 23 years ago
Closed 23 years ago
passing a url via javascript onMouseDown fails
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lrivers, Assigned: saari)
References
()
Details
Attachments
(1 file)
|
877 bytes,
text/html
|
Details |
In Chimera 2002102104
Here's a simple example (given my website layout) that exhibits this error. The
file does not download, but the the other page opens. Works in IE 5.x and
Mozilla or you can visit the above URL and click one of the images or links.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
</head>
<body onLoad="MM_openBrWindow('/download/files/REALbasic.dmg.bin','','')">
<a href="javascript:void(0)"
onClick="MM_openBrWindow('/download/examplesdownload.html','','')"
onMouseDown="MM_goToURL('parent','/download/files/REALbasic.dmg.bin');return
document.MM_returnValue">Click
here</a>
</body>
</html>
Lorin, can you try to simplify that testcase down as much as possible and attach
it to this bug as an HTML file?
| Reporter | ||
Comment 2•23 years ago
|
||
Sorry, I tried to simplify it. Perhaps the problem is when passing a URL on a different
server.
Did you try the URL I provided?
Comment 3•23 years ago
|
||
This testcase seems to work perfectly for me.
Comment 4•23 years ago
|
||
Works in current builds. Please reopen if you continue to see problems.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•