Bug 1353937 - Expose http server wrapped js object for private apis. r=mcmanus

Slimerjs relies on the hidden _start to create a server with a
port and host.
This commit is contained in:
Brendan Dahl 2017-03-15 14:13:17 -07:00
parent c288e8360e
commit 79c787d9b4

View File

@ -739,6 +739,10 @@ nsHttpServer.prototype =
return this._handler._setObjectState(k, v);
},
get wrappedJSObject() {
return this;
},
// NSISUPPORTS