<!DOCTYPE html><!-- webkit-test-runner [ RequestIdleCallbackEnabled=false ] --> | |
<html> | |
<body> | |
<script src="../resources/js-test.js"></script> | |
<script> | |
description('This tests that when requestIdleCallback is not enabled, requestIdleCallback and IdleDeadline are not defined.'); | |
shouldBeUndefined('window.requestIdleCallback'); | |
shouldBeUndefined('window.cancelIdleCallback'); | |
shouldBeUndefined('window.IdleDeadline'); | |
</script> | |
</body> | |
</html> |