4 https://bugzilla.mozilla.org/show_bug.cgi?id=428021
7 <title>Test for Bug
428021</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=428021">Mozilla Bug
428021</a>
14 <div id=
"content" style=
"display: none">
18 <script class=
"testbody" type=
"text/javascript">
20 /** Test for Bug
428021 **/
21 var rangetter, ransetter;
22 this.__defineGetter__('x', function() { rangetter = true; });
23 this.__defineSetter__('x', function(val) { ransetter = true; });
32 ok(!exn,
"Exception caught: " + exn);
33 ok(rangetter,
"Failed to run getter");
34 ok(ransetter,
"Failed to run setter");