aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-event-emitter-subclass.js
diff options
context:
space:
mode:
authorMyles Borins <mylesborins@google.com>2018-02-22 16:07:06 -0500
committerMyles Borins <mylesborins@google.com>2018-02-22 20:33:10 -0500
commit6657b153abba09a16e4a628f3a46fc2cdf176b7d (patch)
tree19c5ff03cd858f08f5d63c1319cb265355aafa48 /test/parallel/test-event-emitter-subclass.js
parent9cb96ac82808254e3322119eb1e6b2a7b847741e (diff)
downloadandroid-node-v8-6657b153abba09a16e4a628f3a46fc2cdf176b7d.tar.gz
android-node-v8-6657b153abba09a16e4a628f3a46fc2cdf176b7d.tar.bz2
android-node-v8-6657b153abba09a16e4a628f3a46fc2cdf176b7d.zip
events: preset `usingDomains` to false
The line setting this was removed in a previous commit. This potentially breaks code in the wild using this property. Refs: https://github.com/nodejs/node/pull/17403#issuecomment-367814130 PR-URL: https://github.com/nodejs/node/pull/18944 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'test/parallel/test-event-emitter-subclass.js')
-rw-r--r--test/parallel/test-event-emitter-subclass.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-event-emitter-subclass.js b/test/parallel/test-event-emitter-subclass.js
index 5189c3aa13..094565197b 100644
--- a/test/parallel/test-event-emitter-subclass.js
+++ b/test/parallel/test-event-emitter-subclass.js
@@ -36,6 +36,7 @@ function MyEE(cb) {
const myee = new MyEE(common.mustCall());
+myee.hasOwnProperty('usingDomains');
util.inherits(ErrorEE, EventEmitter);
function ErrorEE() {