blob: eb08415ad44b85e4db07143a852ca728a5cc2c51 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ experimental: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>