Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
proxy
/
testDirectProxyGetOwnPropertyNames4.js
blob: 090a3d7410644b8ffb0ae15f07cbe82c751de787 [
file
] [
log
] [
blame
]
load
(
libdir
+
"asserts.js"
);
var
handler
=
{
ownKeys
:
()
=>
[
'foo'
,
'foo'
]
};
for
(
let p of
[
new
Proxy
({},
handler
),
Proxy
.
revocable
({},
handler
).
proxy
])
assertDeepEq
(
Object
.
getOwnPropertyNames
(
p
),
[
'foo'
,
'foo'
]);