node/test
Ben Noordhuis 7e88a9322c src: make accessors immune to context confusion
It's possible for an accessor or named interceptor to get called with
a different execution context than the one it lives in, see the test
case for an example using the debug API.

This commit fortifies against that by passing the environment as a
data property instead of looking it up through the current context.

Fixes: https://github.com/iojs/io.js/issues/1190 (again)
PR-URL: https://github.com/iojs/io.js/pull/1238
Reviewed-By: Fedor Indutny <fedor@indutny.com>
2015-03-23 10:40:12 +01:00
..
addons smalloc: extend user API 2015-02-20 11:02:33 -07:00
debugger Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
disabled Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
fixtures test: fix timing issue in signal test 2015-03-23 00:55:34 +01:00
gc test: common.js -> common 2015-02-22 19:34:17 -08:00
internet crypto: add deprecated ValiCert CA for cross cert 2015-03-13 20:18:54 +09:00
message test: common.js -> common 2015-02-22 19:34:17 -08:00
parallel src: make accessors immune to context confusion 2015-03-23 10:40:12 +01:00
pummel test: fix ext commands to be double quoted 2015-03-12 17:35:20 -07:00
sequential test: move sequential/test-signal-unregister 2015-03-23 00:56:16 +01:00
testpy test: fix `make test-addons` target 2015-01-12 23:21:51 +01:00
timers test: make test runner multi-arch/mode compatible 2014-10-16 22:39:34 +02:00
common.js test: cache lazy properties, fix style nits 2015-03-19 16:27:45 +11:00