Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
proxy
/
testDirectProxyKeys4.js
blob: f20d5368deb35d329ee27a397d417ae764c4cc1c [
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
.
keys
(
p
),
[]);
// Properties are not enumerable.