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