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

33 lines
546 B
HTML
Raw Normal View History

<!DOCTYPE HTML>
<html>
<head><meta charset='utf-8'/><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>