js/src/tests/js1_8_5/extensions/regress-627984-6.js

branch
TOR_BUG_9701
changeset 10
ac0c01689b40
equal deleted inserted replaced
-1:000000000000 0:740289ef6250
1 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/licenses/publicdomain/
3
4 // Bug 627984 description.
5 var o = Array;
6 o.p = function() {};
7 o.watch('p', function() { });
8 for(var x in o) {
9 o[x];
10 }
11 delete o.p;
12 o.p = function() {};
13 assertEq(o.p, void 0);
14
15 reportCompare(0, 0, 'ok');

mercurial