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