gecko/browser/devtools/debugger/test/browser_dbg_stack.html

33 lines
523 B
HTML

<!DOCTYPE HTML>
<html>
<head><title>Browser Debugger Test Tab</title>
<!-- Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ -->
<script type="text/javascript">
function simpleCall() {
debugger;
}
function evalCall() {
eval("debugger;");
}
var gRecurseLimit = 100;
var gRecurseDepth = 0;
function recurse() {
if (++gRecurseDepth == gRecurseLimit) {
debugger;
gRecurseDepth = 0;
return;
}
recurse();
}
</script>
</head>
<body></body>
</html>