summaryrefslogtreecommitdiff
path: root/js/test/Ice/inheritance/Client.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-02-27 17:23:12 +0100
committerJose <jose@zeroc.com>2017-02-27 17:23:12 +0100
commitce395c80c4390bbb3355136e1a393eb468c2c2c8 (patch)
tree7e951c74ce041aeb80cee358bfdf38bb2ce8ce1b /js/test/Ice/inheritance/Client.js
parentAdd tracing to PHP timeout test for unexpected exceptions (diff)
downloadice-ce395c80c4390bbb3355136e1a393eb468c2c2c8.tar.bz2
ice-ce395c80c4390bbb3355136e1a393eb468c2c2c8.tar.xz
ice-ce395c80c4390bbb3355136e1a393eb468c2c2c8.zip
Fix (ICE-7475) - JavaScript and Safari worker test hangs
Diffstat (limited to 'js/test/Ice/inheritance/Client.js')
-rw-r--r--js/test/Ice/inheritance/Client.js15
1 files changed, 2 insertions, 13 deletions
diff --git a/js/test/Ice/inheritance/Client.js b/js/test/Ice/inheritance/Client.js
index 9753085fcba..3a7e17bc050 100644
--- a/js/test/Ice/inheritance/Client.js
+++ b/js/test/Ice/inheritance/Client.js
@@ -57,14 +57,7 @@
).then(
function(r)
{
- var r1 = r[0],
- r2 = r[1],
- r3 = r[2],
- r4 = r[3];
- ca = r1;
- cb = r2;
- cc = r3;
- cd = r4;
+ [ca, cb, cc, cd] = r;
test(ca !== cb);
test(ca !== cc);
@@ -80,12 +73,8 @@
).then(
function(r)
{
- var [r1, r2, r3, r4] = r;
- ia = r1;
- ib1 = r2;
+ [ia, ib1, ib2, ic] = r;
test(ib1.ice_instanceof(Test.MB.IB1Prx));
- ib2 = r3;
- ic = r4;
test(ia !== ib1);
test(ia !== ib2);