Open Bug 1372930 (websocket-tests) Opened 7 years ago Updated 10 days ago

[meta] Intermittent websocket test failures

Categories

(Core :: Networking: WebSockets, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: valentin, Unassigned)

References

(Depends on 6 open bugs)

Details

(Keywords: meta, stale-bug, Whiteboard: [necko-active])

      No description provided.
Depends on: 1369968
Depends on: 1370048
Depends on: 1370760
Depends on: 1371727
Depends on: 1372789
Depends on: 1292477
Depends on: 1288703
Depends on: 1322667
Michal, can you take a look?
Flags: needinfo?(michal.novotny)
Assignee: nobody → michal.novotny
Flags: needinfo?(michal.novotny)
Whiteboard: [necko-backlog] → [necko-active]
Depends on: 1375352
Bulk priority update: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Priority: P1 → P3
Depends on: 1456576
Depends on: 1456043
Depends on: 1455524

Unassigning Michal to move bugs back to triage pool.

Assignee: michal.novotny → nobody
Depends on: 1718592
Severity: normal → S3
Depends on: 1821771
Depends on: 1823600
Depends on: 1865442
Depends on: 1842200
Depends on: 1823067

I was experimenting with websockets, and found a failure in my own code along the lines of - the server can reply with both the websocket accept header plus additional messages, which look sort of like HTML content on the first negotiation; not sure how your parser handles it.

I ended up adding a feature to my code that I can aggregate sent messages, like the header, plus the initial server messages from 'onopen' almost always. When I do this, firefox does not show the initial message in the response window.
If I do a console.log in the on-open on the browser side, then the {op:init} message does show up, but if I just get the event, and don't do anything, then the message does not show. If I send a message on the socket, then the received and sent message are shown... (and all others)...

But, if I just get the webscoket open, reply with (websocketheader)+'{op:"init"}' in the same packet, or in some way stall the browser so the TCP packets are read together....

I was also having worse problems sending large data packets, where the socket would end up disconnecting - is this thread about these issues?

You need to log in before you can comment on or make changes to this bug.