Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testBug555484.js
blob: f15f2b268ac44d10511eb8be8aad9d60f658159c [
file
] [
log
] [
blame
]
var
result
=
""
;
o
=
{
valueOf
:
function
(){
throw
"cow"
}
};
try
{
String
.
fromCharCode
(
o
);
}
catch
(
e
)
{
result
=
e
.
toString
();
}
assertEq
(
result
,
"cow"
);