Sign in
webkit
/
WebKit
/
939e9d9dca352ef0e519c767220f928dea5a0c13
/
.
/
LayoutTests
/
js
/
script-tests
/
var-shadows-arg-crash.js
blob: ef25290a6f3b5f4ef014b53010a2aea38cbd574a [
file
] [
log
] [
blame
]
description
(
'Tests to ensure that activations are built correctly in the face of duplicate parameter names and do not cause crashes.'
);
function
test
(
a
)
{
var
b
,
a
=
"success"
;
return
function
()
{
return
a
;
}
}
shouldBe
(
'test()()'
,
'"success"'
);