ajvincent / ajvincent/es-membrane

Hardening membrane

オープン
#197 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
support
主要言語
JavaScript
スター
118
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi Alex. This is a support request, not an issue.

I'm thinking of a convenience membrane for [Agoric/Jessie](https://github.com/Agoric/Jessie), that has "interior" and "exterior" graphs, and when objects cross from interior to exterior they are hardened (a la [Agoric/harden](https://github.com/Agoric/harden)). This separation should be transitive over time so that the membrane also wraps interior function returns and exceptions before they escape to the exterior.

Also, when an exterior method captures an interior `this`, it should throw an exception.

In this formulation, I regard global variables/endowments as neither interior nor exterior.

I'm entirely naive in regards to es-membrane. Is there a straightforward way to implement this kind of membrane (with distortions or somesuch)? If so, I would happily use es-membrane to do the work.

Thank you,
Michael.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。