projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
bug563000
/
test-throwhook-2.js
1
// |jit-test| debug
2
function main() {
3
try {
4
throw "something";
5
} catch(e) {
6
return "failure";
7
}
8
return "unset";
9
}
10
11
setDebug(true);
12
setThrowHook("'success'");
13
14
assertEq(main(), "success");