Implement new Witness decoding function
diff --git a/js/testing/test-get-async.html b/js/testing/test-get-async.html
index e019537..4b6a37a 100644
--- a/js/testing/test-get-async.html
+++ b/js/testing/test-get-async.html
@@ -13,7 +13,7 @@
<script type="text/javascript" src="../tools/build/ndn-js.js"></script>
<script type="text/javascript">
- var ndn = new NDN({port:9696});
+ var ndn = new NDN({port:9696,host:"localhost"});
ndn.transport.connectWebSocket(ndn);
ndn.onopen = function() {
diff --git a/js/testing/test-throughput-ws.html b/js/testing/test-throughput-ws.html
index 91dc359..14f9d39 100644
--- a/js/testing/test-throughput-ws.html
+++ b/js/testing/test-throughput-ws.html
@@ -42,6 +42,8 @@
if (kind == Closure.UPCALL_CONTENT_BAD) {
console.log("NdnProtocol.ContentClosure: signature verification failed");
+ console.log(upcallInfo.contentObject.name.getName());
+ console.log(DataUtils.toHex(upcallInfo.contentObject.signature.Witness).toLowerCase());
return Closure.RESULT_OK;
}