Sign in
webkit
/
WebKit
/
6ada3cd2e0d9b9e450b5e021e0e5526f55f59df8
/
.
/
LayoutTests
/
js
/
dom
/
script-tests
/
constructor-with-return-masquerades.js
blob: 5e4c3c9e3d5b759d70bb3e42d19f85c0fd39d739 [
file
] [
log
] [
blame
]
description
(
"This tests the constructor returning masquerades as undefined return masquerades."
);
function
Constructor
()
{
return
document
.
all
;
}
var
result
=
new
Constructor
();
shouldBe
(
"result"
,
"document.all"
);