Sign in
webkit
/
WebKit
/
2ab9dfaee5c791e0d7b2c0893a55ced8677e2e2a
/
.
/
JSTests
/
es6
/
Proxy_ownKeys_handler.js
blob: e1f516cfd5cdcf033b90d52b1fd6300d8d2397a8 [
file
] [
log
] [
blame
]
function
test
()
{
var
proxied
=
{};
var
passed
=
false
;
Object
.
keys
(
new
Proxy
(
proxied
,
{
ownKeys
:
function
(
t
)
{
passed
=
t
===
proxied
;
return
[];
}
})
);
return
passed
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);