Sign in
webkit
/
WebKit
/
6ac1ae7345a9a50f3760d4fdf5f8c6512c4a9901
/
.
/
JSTests
/
stress
/
proxy-should-not-be-allowed-to-access-private-properties-of-target.js
blob: 27e25d24ae0135ce7b6bae492fb7608a7c1f53b0 [
file
] [
log
] [
blame
]
var
foo
=
(
function
*
bar
()
{
try
{
yield
*
x
;
}
finally
{
try
{
y
;
}
finally
{
return
;
}
}
})
();
var
x
=
new
Proxy
(
foo
,
{});
try
{
x
.
next
();
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
'TypeError: |this| should be a generator'
)
throw
"FAILED"
;