blob: da60cba1288106a07c329cb690f971c01a61c81f [file] [log] [blame]
<p>This page verifies that the arguments to a function call are evaluated even
if the call throws a "not a function" exception.
</p>
<pre id="console">FAIL: arguments were not evaluated.</pre>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
window.__defineGetter__("x", function() { document.getElementById("console").innerHTML = "PASS: arguments were evaluated"; });
try {
var f = undefined;
f(x);
} catch(e) {
}
</script>