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