Sign in
webkit
/
WebKit
/
027d9947be7394fd875bd4e203a72ecbac14d842
/
.
/
LayoutTests
/
js
/
dom
/
script-tests
/
indexed-setter-on-global-object.js
blob: f62f880fce5fd9f7af38fa3352a06aa405443afa [
file
] [
log
] [
blame
]
description
(
"Tests that creating an indexed setter on the global object doesn't break things."
);
var
thingy
;
this
.
__defineSetter__
(
42
,
function
(
value
)
{
thingy
=
value
;
});
this
[
42
]
=
"foo"
;
shouldBe
(
"thingy"
,
"\"foo\""
);