mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add spec for sending http request.
This commit is contained in:
7
spec/web/http.coffee
Normal file
7
spec/web/http.coffee
Normal file
@@ -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()
|
||||
Reference in New Issue
Block a user