cpriest
2009-09-22 13:38:01 UTC
I am having an intermittent crash when launching a ClickOnce application
using the JavaScript function window.open.
This has always been fine in previous versions of IE, but the call now
causes a problem every 1 in 3 times in our software. I have tried this on
Vista and on XP.
Steps to reproduce:
1. Create a simple winforms application called SimpleClickOnce in VS2008 and
publish it to the local machine
2. Create a html page with the following content:
<body>
<script language="Javascript" type="text/javascript">
window.open("http://localhost/SimpleClickOnce/SimpleClickOnce.application","");
</script>
</body>
3. Close all instances of IE8
4. Load up the html page in IE8
5. Wait for the application to load
6. Close the application
7. Close and restart the browser
8. Repeat steps 4 - 7 several times (could take up to 20 times)
At some point you should get the following error:
Internet Explorer has stopped workng
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.
These happens a lot more frequently in our software, but I have tried to
simplify the problem as much as possible. I'm not sure if the size of our
clickonce application makes it more prevalent, or the additional complexity
of our website.
using the JavaScript function window.open.
This has always been fine in previous versions of IE, but the call now
causes a problem every 1 in 3 times in our software. I have tried this on
Vista and on XP.
Steps to reproduce:
1. Create a simple winforms application called SimpleClickOnce in VS2008 and
publish it to the local machine
2. Create a html page with the following content:
<body>
<script language="Javascript" type="text/javascript">
window.open("http://localhost/SimpleClickOnce/SimpleClickOnce.application","");
</script>
</body>
3. Close all instances of IE8
4. Load up the html page in IE8
5. Wait for the application to load
6. Close the application
7. Close and restart the browser
8. Repeat steps 4 - 7 several times (could take up to 20 times)
At some point you should get the following error:
Internet Explorer has stopped workng
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is
available.
These happens a lot more frequently in our software, but I have tried to
simplify the problem as much as possible. I'm not sure if the size of our
clickonce application makes it more prevalent, or the additional complexity
of our website.