Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug774257-2.js
blob: b31043b0890712e49903f7d26c38b9fca6e58a87 [
file
] [
log
] [
blame
]
Object
.
defineProperty
(
Object
.
prototype
,
'x'
,
{
set
:
function
()
{
evalcx
(
'lazy'
);
}
});
var
obj
=
{};
var
prot
=
{};
obj
.
__proto__
=
prot
;
obj
.
watch
(
"x"
,
function
(
id
,
oldval
,
newval
)
{});
for
(
var
str in
'A'
)
{
obj
.
x
=
1
;
}