blob: de803fbd12c95cb3b4645ac50632c8346a84926f [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test-pre.js"></script>
<script>
description("Tests that calling SVGSVGElement.getElementById() without parameter throws an exception.");
var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
shouldThrow("svg.getElementById()", "'TypeError: Not enough arguments'");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>