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

branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
equal deleted inserted replaced
-1:000000000000 0:df2500491ac6
1 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/licenses/publicdomain/
3
4 // See bug 627984 comment 20.
5 var obj = {m: function () {}};
6 obj.watch("m", function () { throw 'FAIL'; });
7 var f = obj.m; // don't call the watchpoint
8
9 reportCompare(0, 0, 'ok');

mercurial