Open Bug 573803 Opened 14 years ago Updated 2 years ago

Add support for SSL WebSocket tests to mochitest

Categories

(Testing :: Mochitest, defect)

defect

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) (deleted) — 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.
Attached patch mochitest patch v0.2 (deleted) — Splinter Review
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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: