Closed
Bug 1240512
Opened 8 years ago
Closed 8 years ago
Standalone no longer shows "Something went wrong" if the a server connection drops
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(Not tracked)
RESOLVED
FIXED
Iteration:
47.1 - Feb 8
People
(Reporter: standard8, Assigned: vidhuran2012)
References
Details
(Keywords: regression)
Attachments
(1 file)
STR: 1) Set up a local system whereby the server is running on localhost so that it can be killed (or a dev/production system where you can block access to a specific IP. 2) Set up a conversation 3) Kill the loop-server or the connection to it. 4) Watch the standalone UI and the error console. Actual Results Nothing happens on the UI On the console: Type error: result is undefined activeRoomStore.js 1079 Expected Results Something went wrong (or equivalent message is displayed).
Reporter | ||
Updated•8 years ago
|
Rank: 15
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → vidhuran2012
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
I have made a patch for this. It is still needs some more work. The part that is not good about this patch is that, in some cases when the refreshMembership timeout is later than the data channel close event, the standalone view goes to the state when there are no participants and then when the refreshMembership happens it puts "Could not connect to server". I see that there are todo comments in the part that handles close events on data channels. Should we handle those as well in this bug ?
Flags: needinfo?(standard8)
Reporter | ||
Comment 3•8 years ago
|
||
The issue with when refreshMembership isn't hit yet, but the sdk times out, is bug 1240517. We'll deal with that there. I think the PR looks good in general, one minor nit commented on it.
Flags: needinfo?(standard8)
Assignee | ||
Updated•8 years ago
|
Attachment #8710391 -
Flags: review?(standard8)
Reporter | ||
Comment 4•8 years ago
|
||
Comment on attachment 8710391 [details] [review] [loop] Vidhuran:bug-1240512-standalone-xhr-fixes > mozilla:master r=Standard8 with the comment fixed.
Attachment #8710391 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Comments fixed in the PR
Reporter | ||
Comment 6•8 years ago
|
||
Great, thank you. https://github.com/mozilla/loop/commit/720befbabc0a4a75093308f92e55a9d23c806f50
Status: NEW → RESOLVED
Iteration: --- → 47.1 - Feb 8
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•