projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a35d4
)
Don't wait for request in http spec.
author
Cheng Zhao
<zcbenz@gmail.com>
Fri, 4 Oct 2013 15:39:34 +0000
(23:39 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Fri, 4 Oct 2013 15:39:34 +0000
(23:39 +0800)
This spec is used to crash atom-shell, we don't care if http request
succeeds.
spec/web/http.coffee
patch
|
blob
|
history
diff --git
a/spec/web/http.coffee
b/spec/web/http.coffee
index
896f3cf
..
c7db447
100644
(file)
--- 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'