[Pkg-javascript-commits] [node-stream-http] 116/208: Fix buffer usage in tests as well
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-http.
commit 154f6b9e561537b87c2aa1561ebc24ba09a9e4b8
Author: John Hiesey <john at hiesey.com>
Date: Tue Jan 12 22:18:41 2016 +0100
Fix buffer usage in tests as well
---
test/browser/lib/webworker-worker.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/browser/lib/webworker-worker.js b/test/browser/lib/webworker-worker.js
index a194de4..c3c8b91 100644
--- a/test/browser/lib/webworker-worker.js
+++ b/test/browser/lib/webworker-worker.js
@@ -9,7 +9,7 @@ module.exports = function (self) {
var buffers = []
res.on('end', function () {
- self.postMessage(Buffer.concat(buffers).toArrayBuffer())
+ self.postMessage(Buffer.concat(buffers).buffer)
})
res.on('data', function (data) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-http.git
More information about the Pkg-javascript-commits
mailing list