Sign in
webkit
/
WebKit
/
d79b7e713ceaf06a6bf446a1c1fe26f74d99e80b
/
.
/
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"'
);