blob: c8d296717fac8c748f73ab95a4ae282ced1b9059 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Test that the first parameter to Window.getComputedStyle() is mandatory and not nullable.");
shouldThrowErrorName("window.getComputedStyle()", "TypeError");
shouldThrowErrorName("window.getComputedStyle(null)", "TypeError");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>