summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-12-17 12:35:13 +0100
committerjmoenig <jens@moenig.org>2014-12-17 12:35:13 +0100
commitb31df39d7f126eaa303c8dae1cf6a14c739a2cc5 (patch)
tree4f0ed9330b71b52f7d6d22999dcbd60edcb4cd97 /threads.js
parentfc256e9e727bfe85fbf885cc65afa3b152430c71 (diff)
downloadsnap-byow-b31df39d7f126eaa303c8dae1cf6a14c739a2cc5.tar.gz
snap-byow-b31df39d7f126eaa303c8dae1cf6a14c739a2cc5.zip
Let “zombifying” scripts access receivers’ local vars
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/threads.js b/threads.js
index 6078f5b..791d81c 100644
--- a/threads.js
+++ b/threads.js
@@ -2546,6 +2546,7 @@ Process.prototype.reportContextFor = function (context, otherObj) {
if (result.outerContext) {
result.outerContext = copy(result.outerContext);
result.outerContext.receiver = otherObj;
+ result.outerContext.variables.parentFrame = otherObj.variables;
}
return result;
};