In ContentChannel contentListener, added function isDone since it needs to wrap the ContentChannel.isDone.
diff --git a/ndnProtocol/components/ndnProtocolService.js b/ndnProtocol/components/ndnProtocolService.js
index 9973288..4005e1f 100644
--- a/ndnProtocol/components/ndnProtocolService.js
+++ b/ndnProtocol/components/ndnProtocolService.js
@@ -88,7 +88,8 @@
                     template);

             };

 

-            return new ContentChannel(aURI, requestContent);

+            var contentChannel = new ContentChannel(aURI, requestContent);

+            return contentChannel;

         } catch (ex) {

             dump("NdnProtocol.newChannel exception: " + ex + "\n" + ex.stack);

         }

@@ -142,7 +143,7 @@
 

 ContentClosure.prototype.upcall = function(kind, upcallInfo) {

   try {

-    if (this.contentListener.done)

+    if (this.contentListener.isDone())

         // We are getting unexpected extra results.

         return Closure.RESULT_ERR;