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