<!DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test-pre.js"></script>
<script>
description("Tests that parameters to CSSStyleDeclaration API are mandatory.");

var style = document.body.style;
shouldThrow("style.item()", "'TypeError: Not enough arguments'");
shouldThrow("style.removeProperty()", "'TypeError: Not enough arguments'");
shouldThrow("style.getPropertyPriority()", "'TypeError: Not enough arguments'");
shouldThrow("style.getPropertyCSSValue()", "'TypeError: Not enough arguments'");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>
