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