blob: 7df60ffb7fb10752e10ed8ebc49f5a40b1c73e27 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Test addEventListener() and removeEventListener() fail silently if arguments are missing.");
shouldBe('document.addEventListener("foo")', 'undefined');
shouldBe('document.removeEventListener("bar")', 'undefined');
shouldBe('document.addEventListener()', 'undefined');
shouldBe('document.removeEventListener()', 'undefined');
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>