Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
proxy
/
testWrapWithProtoSet.js
blob: 913918657103af26c80f81dd9b2bd2d9bcdb550a [
file
] [
log
] [
blame
]
// A scripted proxy can delegate a [[Set]] along to a target
// that's a different kind of proxy.
var
target
=
{};
var
wrapper
=
wrapWithProto
(
target
,
null
);
var
p
=
new
Proxy
(
wrapper
,
{});
p
.
prop
=
3
;
assertEq
(
target
.
prop
,
3
);