Open Bug 573803 Opened 9 years ago Updated 11 months ago

Add support for SSL WebSocket tests to mochitest

Categories

(Testing :: Mochitest, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: jgriffin, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

.
Attached patch mochitest patch (obsolete) — Splinter Review
This patch is meant to be landed after the patch in bug 572570.  It adds support for SSL WebSocket tests (wss:// scheme) in mochitest.
Attachment #453148 - Flags: review?(ted.mielczarek)
Depends on: 570789, 572570
Attachment #453148 - Flags: review?(ted.mielczarek) → review+
I backed this patch out, since it was crashing on windows debug builds.
So what was happening here is that a bug in test_websocket_hello.html (already in the tree) caused the test to finish before the websocket was closed.  For some reason, when the next test made a new WebSocket request for the same url, it crashed the browser, which seems bad.  I'll file a separate bug for this problem.
Updated patch in which the test waits until the WebSocket is closed before continuing
Attachment #453148 - Attachment is obsolete: true
Depends on: 584162
Assignee: jgriffin → nobody
No assignee, updating the status.
Status: ASSIGNED → NEW
No assignee, updating the status.
No assignee, updating the status.
No assignee, updating the status.
You need to log in before you can comment on or make changes to this bug.