diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-11-27 22:43:59 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-11-27 22:43:59 +0000 |
commit | 685c4a2023bfae17220fb20b9ee6e72f44b019ec (patch) | |
tree | aff0f277a015f09426d7b6add570e6de8a28594a /test | |
parent | 32bf31cc5af8bc87aae1b787fe83140fb7d9a9e1 (diff) |
Fix weird error with JS_DefineFunctions call.
I found a fairly odd case with JS_DefineFunctions returning success without actually having defined any functions on the global object. This was happening on an Ubuntu 9.10 machine with Spidermonkey 1.7 which is most odd.
I refactored the code to iterate over the JSFunctionSpec array and define the functions one by one which appears to alleviate the issue.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885041 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions