Created
December 17, 2010 23:46
-
-
Save sdesai/745920 to your computer and use it in GitHub Desktop.
IE9 setTimeout crash repro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<body> | |
<script type="text/javascript"> | |
setTimeout(function() { | |
var ran = false; | |
function startTest() { | |
if (!ran) { | |
ran = true; | |
try { | |
setTimeout(function() { | |
startTest(); | |
}, 0); | |
} catch(e) { | |
setTimeout(function() { | |
var x = e; | |
}, 0); | |
} | |
} | |
} | |
startTest(); | |
},0); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment