Source code

Revision control

Copy as Markdown

Other Tools

<title>iframe for between tests</title>
<!--
This page exists so that our accounting for assertions correctly
counts assertions that happen while leaving a page. We load this page
after a test finishes, check the assertion counts, and then go on to
load the next.
-->
<script>
window.addEventListener("load", function() {
var runner = (parent.TestRunner || parent.wrappedJSObject.TestRunner);
const urlParams = new URLSearchParams(window.location.search);
var result = urlParams.get("result", "ERROR");
var runtime = urlParams.get("runtime", "-1");
runner.testUnloaded(result, runtime);
if (SpecialPowers) {
SpecialPowers.DOMWindowUtils.runNextCollectorTimer();
}
});
</script>