js/src/tests/js1_8_5/regress/regress-584648.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:2fe55bb26076
1 // |reftest| skip
2 // Any copyright is dedicated to the Public Domain.
3 // http://creativecommons.org/licenses/publicdomain/
4 // Contributors: Gary Kwong <gary@rumblingedge.com>
5 // Jason Orendorff <jorendorff@mozilla.com>
6
7 // on a non-global object
8 var x = {};
9 x.watch("p", function () { evalcx(''); });
10 x.p = 0;
11
12 // on the global
13 watch("e", (function () { evalcx(''); }));
14 e = function () {};
15
16 reportCompare(0, 0, "ok");

mercurial