Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix #6379 #6532
Fix #6379 #6532
Conversation
hoppipolla-critic-bot
commented
Jul 2, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/5450 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
-S-awaiting-review +S-needs-code-changes Can you run the websocket tests and see if any new failures are reported? Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. components/script/dom/websocket.rs, line 152 [r1] (raw file): Comments from the review on Reviewable.io |
|
@jdm I ran the tests (both with this commit and without it). There's a very large output and as far as I can see a lot of tests aren't passed in both cases. Is there any way to test specifically against the origin header? |
|
You can run the specific test that @Ms2ger mentioned in the issue with |
|
@jdm OK, I ran the specific test, but it panicked "thread 'ScriptTask PipelineId(0)' panicked at 'called |
|
Umm, excuse me, is someone going to merge this or not (it now sends the origin header, I tested it myself) |
|
It looks like there are outstanding review comments on reviewable. |
|
@Ms2ger Oh sorry, I didn't see the line comment, gonna change it now |
|
@bors-servo: r+ Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from the review on Reviewable.io |
|
|
Fix #6379 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6532) <!-- Reviewable:end -->
|
|
|
|
@SimonSapin Ok |
|
@boghison They are all differences in the test output caused by your changes, so the test expectation files need to be updated to match them, eg. http://mxr.mozilla.org/servo/source/tests/wpt/metadata/websockets/opening-handshake/005.html.ini |
|
@jdm I've never edited these, what do I have to do? |
|
Actually nevermind, I just have to replace CRASH with what it prints that happened, right? |
|
Precisely. For the tests with new FAIL/TIMEOUT output (rather than a
|
|
@boghison The other option is to follow the steps at http://mxr.mozilla.org/servo/source/tests/wpt/README.md#71 and update all the expectations automatically. |
|
@jdm I already started doing that ~5 mins ago, thanks for writing a guide (for noobs like me) :) |
|
|
|
Oh sorry, github doesn't notify us when a new push happens so I didn't see the new commit. Unfortunately there are a lot of WPT test expectations here that don't belong, so I'll try rebasing this locally. |
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 -->
|
@jdm OK |
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 -->
boghison commentedJul 2, 2015