diff --git a/atom/browser/api/atom_api_net.cc b/atom/browser/api/atom_api_net.cc index 5d23f04886de..73b4364aa285 100644 --- a/atom/browser/api/atom_api_net.cc +++ b/atom/browser/api/atom_api_net.cc @@ -30,7 +30,7 @@ void Net::BuildPrototype(v8::Isolate* isolate, prototype->SetClassName(mate::StringToV8(isolate, "Net")); mate::ObjectTemplateBuilder(isolate, prototype->PrototypeTemplate()) .SetProperty("URLRequest", &Net::URLRequest) - .SetMethod("RequestGarbageCollectionForTesting", + .SetMethod("_RequestGarbageCollectionForTesting", &Net::RequestGarbageCollectionForTesting); } diff --git a/spec/api-net-spec.js b/spec/api-net-spec.js index bb7f866c5978..94788adefa9e 100644 --- a/spec/api-net-spec.js +++ b/spec/api-net-spec.js @@ -25,7 +25,7 @@ const kOneKiloByte = 1024 const kOneMegaByte = kOneKiloByte * kOneKiloByte describe('net module', function () { - this.timeout(0) + // this.timeout(0) describe('HTTP basics', function () { let server beforeEach(function (done) {