Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testBug566556.js
blob: 244be57d22898705333bb71beb9ea972bb25c7b0 [
file
] [
log
] [
blame
]
var
msg
=
""
;
try
{
this
.
__defineSetter__
(
'x'
,
Object
.
create
);
this
.
watch
(
'x'
,
function
()
{});
x
=
3
;
}
catch
(
e
)
{
msg
=
e
.
toString
();
}
assertEq
(
msg
,
"TypeError: undefined is not an object or null"
);