Bug 1348534 - Add unInit() to jsTest protocol to fix "Method not implemented" error. r=aceman
authorPatrick Cloke <clokep@patrick.cloke.us>
Thu, 10 Oct 2019 08:58:32 +0200
changeset 27889 54835cf69aed78ca16fee5c4a1d41b2fe29907e6
parent 27888 16e5783c0659a5552fc7c8555295e2326e519ad4
child 27890 1318ff6834a0a96292bf9769a1efe96a8362d4e2
push id16537
push usermozilla@jorgk.com
push dateThu, 10 Oct 2019 07:04:18 +0000
treeherdercomm-central@55f15b85ce9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaceman
bugs1348534
Bug 1348534 - Add unInit() to jsTest protocol to fix "Method not implemented" error. r=aceman
chat/protocols/jsTest/jsTestProtocol.js
--- a/chat/protocols/jsTest/jsTestProtocol.js
+++ b/chat/protocols/jsTest/jsTestProtocol.js
@@ -97,16 +97,19 @@ Account.prototype = {
     sampleIntField: {
       label: "_Int Field",
       default: 4,
       min: 0,
       max: 10,
       required: true,
     },
   },
+
+  // Nothing to do.
+  unInit() {},
 };
 
 function jsTestProtocol() {}
 jsTestProtocol.prototype = {
   __proto__: GenericProtocolPrototype,
   get name() {
     return "JS Test";
   },