[SERVER-502] spidermonkey function flags appear to be specified incorrectly Created: 21/Dec/09 Updated: 12/Jul/16 Resolved: 21/Dec/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Aaron Staple | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
It looks like the way our function callback flags are specified in sm is not correct according to the docs. Our callbacks look like this: JSFunctionSpec internal_cursor_functions[] = { , , { 0 }}; And according to the docs the JSPROP flags are supposed to be in the fourth field, not the fifth field. I'm happy to work on this myself, just wanted to run it by you first. |
| Comments |
| Comment by auto [ 21/Dec/09 ] |
|
Author: {'name': 'Aaron', 'email': 'aaron@10gen.com'}Message: |
| Comment by Eliot Horowitz (Inactive) [ 21/Dec/09 ] |
|
go ahead and change |