From: Cheng Zhao Date: Sun, 29 Sep 2013 12:57:57 +0000 (+0800) Subject: Add spec for sending http request. X-Git-Tag: v0.5.3~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b50a2c9dc1d5750b275c1111660d57c35fbc1e32;p=electron.git Add spec for sending http request. --- diff --git a/spec/web/http.coffee b/spec/web/http.coffee new file mode 100644 index 00000000..896f3cf3 --- /dev/null +++ b/spec/web/http.coffee @@ -0,0 +1,7 @@ +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()