X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=blobdiff_plain;f=test%2Fmonitoring%2FAFB.js;fp=test%2Fmonitoring%2FAFB.js;h=227b1a97b13a4ef5c1763cc79801880143ea7af4;hp=953fe96ab6786e575389aae1191eca75940064e6;hb=18d28239330adad61bd2ed9e928673472ecf79dc;hpb=f3d1f19ae308cc0559728c0ccf6281cbce5ee37c diff --git a/test/monitoring/AFB.js b/test/monitoring/AFB.js index 953fe96a..227b1a97 100644 --- a/test/monitoring/AFB.js +++ b/test/monitoring/AFB.js @@ -125,16 +125,16 @@ var AFB_websocket; function fire(awaitens, name, data) { var a = awaitens[name]; if (a) - a.forEach(function(handler){handler(data);}); + a.forEach(function(handler){handler(data, name);}); var i = name.indexOf("/"); if (i >= 0) { a = awaitens[name.substring(0,i)]; if (a) - a.forEach(function(handler){handler(data);}); + a.forEach(function(handler){handler(data, name);}); } a = awaitens["*"]; if (a) - a.forEach(function(handler){handler(data);}); + a.forEach(function(handler){handler(data, name);}); } function reply(pendings, id, ans, offset) {