couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <>
Subject [jira] Updated: (COUCHDB-103) Document sealing no longer works with Mozilla spidermonkey 1.8
Date Sat, 09 Oct 2010 01:19:07 GMT


Paul Joseph Davis updated COUCHDB-103:

    Skill Level: New Contributors Level (Easy)

> 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: Noah Slater
>             Fix For: 0.12
> 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