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