I have a web page with some javascript like this:
location = '../AnotherPage.html';
If AnotherPage.html exists, all is well. If it doesn't, then I get two behaviours. If this is all running on my local machine, I get an "Access is denied" error. But if the pages are on another machine and I'm accessing it via a share, Internet Explorer just silently closes.
As far as I can tell, no error is generated, and I have a try-catch block around the line that isn't tripped. All I want to do is prevent IE from closing.