diff options
Diffstat (limited to 'js/src/tests/js1_8_5/extensions/regress-637985.js')
-rw-r--r-- | js/src/tests/js1_8_5/extensions/regress-637985.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_5/extensions/regress-637985.js b/js/src/tests/js1_8_5/extensions/regress-637985.js new file mode 100644 index 000000000..305bfc820 --- /dev/null +++ b/js/src/tests/js1_8_5/extensions/regress-637985.js @@ -0,0 +1,8 @@ +// Any copyright is dedicated to the Public Domain. +// http://creativecommons.org/licenses/publicdomain/ + +var obj = {}; +obj.watch(-1, function(){}); +obj.unwatch("-1"); // don't assert + +reportCompare(0, 0, 'ok');
\ No newline at end of file |