Sign in
webkit
/
WebKit
/
5affe2ac9062ea37f2afcab86b39300d2557a382
/
.
/
LayoutTests
/
js
/
script-tests
/
exception-function-apply.js
blob: 7c4f3540de4539f769150002198b5db57e9963f2 [
file
] [
log
] [
blame
]
description
(
"Test for error messages on function.apply"
);
shouldThrow
(
"function foo(){}; foo.apply(null, 20)"
);
shouldThrow
(
"function foo(){}; foo.apply(null, 'hello')"
);
shouldThrow
(
"function foo(){}; foo.apply(null, true)"
);