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