Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
bug563000
/
eif-getter.js
blob: e64492ce479c22ac7ca9794ecac591c3b1627e17 [
file
] [
log
] [
blame
]
load
(
libdir
+
"evalInFrame.js"
);
this
.
__defineGetter__
(
"someProperty"
,
function
()
{
evalInFrame
(
1
,
"x = 'success'"
);
});
function
caller
(
obj
)
{
var
x
=
"failure"
;
obj
.
someProperty
;
return
x
;
}
assertEq
(
caller
(
this
),
"success"
);