このコードを含むhtmlファイルがある場合、ブラウザのアドレスバーに貼り付け/入力するとダウンロードURLが機能するのに、hrefまたはwindow.openまたはLocationでは機能しないのはなぜですか
<html>
<head>
<script type="text/javascript" language="JavaScript">
function clickedButton()
{
window.location = 'http://s1.mihandownload.com/2012/Feisal/October/JetBrains_WebStorm_5.0.2_www.MihanDownload.com.rar'
}
</script>
</head>
<body>
<input type="button" value="Login" onClick="clickedButton()"/>
</body>
</html>
ダウンロードリンクをダブルクリックして開きますが、ローカルホストまたはサーバーにページをロードするとリンクが機能しません