From: Cheng Zhao Date: Fri, 4 Oct 2013 15:39:34 +0000 (+0800) Subject: Don't wait for request in http spec. X-Git-Tag: v0.6.0~4^2~8 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=defb6c9882bed6bb3038730586679d83e6e3701c;p=electron.git Don't wait for request in http spec. This spec is used to crash atom-shell, we don't care if http request succeeds. --- diff --git a/spec/web/http.coffee b/spec/web/http.coffee index 896f3cf3..c7db4470 100644 --- a/spec/web/http.coffee +++ b/spec/web/http.coffee @@ -1,7 +1,4 @@ describe 'http', -> describe 'sending request of http protocol urls', -> - it 'should not crash', (done) -> - $.ajax - url: 'http://127.0.0.1' - success: -> done() - error: -> done() + it 'should not crash', -> + $.get 'https://api.github.com/zen'