Skip to content

Reject websocket protocol requests that don't match https://tools.iet… - #6694

Merged
bors-servo merged 1 commit into
servo:masterfrom
jdm:websocketprotocol
Jul 22, 2015

Conversation

@jdm

@jdm jdm commented Jul 22, 2015

Copy link
Copy Markdown
Member

…f.org/html/rfc6455#section-4.1 .

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 22, 2015
@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/5621

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 git rebase -i or git commit --amend) when updating this pull request.

@jdm

jdm commented Jul 22, 2015

Copy link
Copy Markdown
Member Author

r? @Ms2ger

@jdm

jdm commented Jul 22, 2015

Copy link
Copy Markdown
Member Author

There are some more test expectation updates incoming, so hang tight.

@jdm
jdm force-pushed the websocketprotocol branch from d7ac2e3 to 05beb99 Compare July 22, 2015 00:18
@Ms2ger Ms2ger added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 22, 2015
@Ms2ger

Ms2ger commented Jul 22, 2015

Copy link
Copy Markdown
Contributor

-S-awaiting-review +S-needs-code-changes


Reviewed 6 of 7 files at r1.
Review status: 6 of 7 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.


components/script/dom/webidls/WebSocket.webidl, line 7 [r1] (raw file):
File a followup for the array form


components/script/dom/websocket.rs, line 109 [r1] (raw file):
No need to allocate here. as_slice() would work here, or inline it if you want to avoid its instability.


components/script/dom/websocket.rs, line 121 [r1] (raw file):
protocols[i+1..].iter(); any()


components/script/dom/websocket.rs, line 125 [r1] (raw file):
any()


Comments from the review on Reviewable.io

@Ms2ger

Ms2ger commented Jul 22, 2015

Copy link
Copy Markdown
Contributor

Reviewed 1 of 7 files at r1.
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.


Comments from the review on Reviewable.io

@Ms2ger Ms2ger self-assigned this Jul 22, 2015
@jdm
jdm force-pushed the websocketprotocol branch from 05beb99 to d385cb7 Compare July 22, 2015 13:35
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jul 22, 2015
@Ms2ger

Ms2ger commented Jul 22, 2015

Copy link
Copy Markdown
Contributor

-S-awaiting-review +S-awaiting-merge

@bors-servo r+


Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.


Comments from the review on Reviewable.io

@Ms2ger Ms2ger added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 22, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit d385cb7 has been approved by Ms2ger

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit d385cb7 with merge 6b4f1a4...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux1, linux2, linux3, mac1, mac2, mac3

@bors-servo
bors-servo merged commit d385cb7 into servo:master Jul 22, 2015
@jdm
jdm deleted the websocketprotocol branch August 4, 2015 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants