Open Bug 677461 Opened 9 years ago Updated 3 years ago

Add tests for fragmented Websocket messages.

Categories

(Core :: Networking: WebSockets, defect, P5)

x86_64
Linux
defect

Tracking

()

People

(Reporter: jduell.mcbugs, Unassigned)

References

Details

(Whiteboard: [necko-would-take])

Attachments

(1 file)

I've started writing some tests for make sure our WS impl handles fragmented messages (legal and illegal) correctly.

The attached patch gets close--I've run into some dumb namespace issues with the python "import" command, and can't seem to access the 'create_text_frame' function from _stream_hybi06.py, despite various incantations.  (Mochitests taking 1 minute + to start, plus total lack of error messages on server-side WS code not helping).  I'll beat my head against it some more when I get back from vacation, but if anyone sees anything obvious, let me know.  (the code works with the line with create_text_frame commented out)
Depends on: 675983
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.