Closed
Bug 1014502
Opened 10 years ago
Closed 6 years ago
CalDav XMLHttpRequest endlessly waits for a response
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Firefox OS Graveyard
Gaia::Calendar
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: nicolas.golubovic+bugzilla, Unassigned)
Details
If a CalDav URL points to a location which only listens on a port but does not respond, the application hangs in the "Please wait until your account is set up" screen without the possibility to abort. The only solution is to completely kill the app. To reproduce this bug you can use the netcat tool and listen on a random TCP port (e.g. 5000): netcat -vl 5000 Then you have to set up a new CalDav account with random credentials and the URL http://localhost:5000/ (assuming you've started netcat on your local machine). I've tested some solutions to this problem and setting a timeout value on the XHR object in js/ext/caldav.js seems to solve the problem. The ontimeout event could be used to report the error to the user.
Comment 1•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•