blob: 7a29895a314a00db6e78820478d83b2495c8b4b8 [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.testRunner)
testRunner.dumpAsText();
window.__defineGetter__("x", function() { document.getElementById("console").innerHTML = "PASS: arguments were evaluated"; });
try {
var f = undefined;
f(x);
} catch(e) {
}
</script>