blob: de78b6ee1040659691ea4ce34bf2bd90031064dc [file] [log] [blame] [edit]
<!DOCTYPE html><!-- webkit-test-runner [ RequestIdleCallbackEnabled=true ] -->
<html>
<body>
<script src="../resources/js-test-pre.js"></script>
<script src="../resources/document-leak-test.js"></script>
<script>
description("Tests that the requestIdleCallback callback does not leak the document.");
onload = () => runDocumentLeakTest({ frameURL: "./resources/requestidlecallback-frame.html", framesToCreate: 20 });
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>