1
0
Fork 0
firefox/devtools/client/debugger/test/mochitest/examples/doc-gc-breakpoint-positions.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

23 lines
304 B
HTML

<div>
Here
is
some
stuff
so
that
the
source's
start
line
is
not
one
</div>
<script>
// Make sure the source stays alive.
function foo() {
}
// After the outer script has been GC'ed, breakpoints can't be set here.
var x = null;
setTimeout(() => SpecialPowers.gc(), 0);
</script>