Sign in
webkit
/
WebKit
/
5969b6f1f74632b1546edb27bd956b187c2c3d52
/
.
/
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)"
);