couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <>
Subject [jira] Commented: (COUCHDB-103) Document sealing no longer works with Mozilla spidermonkey 1.8
Date Fri, 23 Jan 2009 22:07:59 GMT


Jan Lehnardt commented on COUCHDB-103:

This will be fixed in Spidermonkey 1.9:

maybe we should detect that at ./configure time and advice installation of spidermonkey 1.7
or 1.6 or 1.9 or later.

> Document sealing no longer works with Mozilla spidermonkey 1.8
> --------------------------------------------------------------
>                 Key: COUCHDB-103
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 0.7.2, 0.8
>         Environment: all
>            Reporter: Damien Katz
>            Assignee: Damien Katz
>             Fix For: 0.8.1
> In the spidermonkey engine, we use a built-in function sealing for sealing documents
so that map functions of arrays no longer works. Array sealing no longer works with javascript
1.8, meaning our document that contain arrays cannot be sealed. The sealing is meant to prevent
map functions from modifying the same document that will be passed to other map functions.
> The (hopefully temporary) fix here is to simply remove the document sealing, and map
function placed in the same design document will have to be trustworthy that they don't modify
the document (the same document is passed to multiple map functions). Non-trustworthy map
functions can be placed in their own design documents, they will be run in isolation.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message