Auto merge of #6611 - jdm:websocketorigin, r=jdm

Add Origin header to WebSocket connections.

Closes #6532.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6611)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-07-13 23:39:16 -06:00
commit 0fb9f22ff7
9 changed files with 29 additions and 11 deletions

View file

@ -1,3 +1,6 @@
[010.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[WebSockets: protocol in response but no requested protocol]
expected: TIMEOUT

View file

@ -1,3 +1,6 @@
[011.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[WebSockets: protocol mismatch]
expected: TIMEOUT

View file

@ -1,3 +1,6 @@
[012.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[WebSockets: no protocol in response]
expected: TIMEOUT

View file

@ -1,3 +1,5 @@
[002.html]
type: testharness
expected: CRASH
[WebSockets: Set-Cookie in response]
expected: FAIL

View file

@ -1,3 +0,0 @@
[004.html]
type: testharness
expected: CRASH

View file

@ -1,3 +1,6 @@
[005.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[WebSockets: setting HttpOnly cookies in ws response, checking ws request]
expected: TIMEOUT

View file

@ -1,3 +1,5 @@
[007.html]
type: testharness
expected: CRASH
[WebSockets: when to process set-cookie fields in ws response]
expected: FAIL

View file

@ -1,3 +1,6 @@
[005.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[WebSockets: proper first line]
expected: TIMEOUT