summaryrefslogtreecommitdiff
path: root/js/test/Ice/exceptions/Client.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Ice/exceptions/Client.js')
-rw-r--r--js/test/Ice/exceptions/Client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/test/Ice/exceptions/Client.js b/js/test/Ice/exceptions/Client.js
index c613df0fa74..592180ca7b4 100644
--- a/js/test/Ice/exceptions/Client.js
+++ b/js/test/Ice/exceptions/Client.js
@@ -361,7 +361,7 @@
function(ex)
{
test(ex instanceof Ice.MemoryLimitException);
- return thrower.throwMemoryLimitException(Ice.Buffer.createNative(20 * 1024));
+ return thrower.throwMemoryLimitException(new Uint8Array(20 * 1024));
}
).then(
failCB,