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