mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Reject websocket protocol requests that don't match https://tools.ietf.org/html/rfc6455#section-4.1 .
This commit is contained in:
parent
cb52cc6658
commit
d385cb701b
8 changed files with 31 additions and 509 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
enum BinaryType { "blob", "arraybuffer" };
|
||||
|
||||
[Constructor(DOMString url)]
|
||||
[Constructor(DOMString url, optional /*(*/DOMString /*or DOMString[])*/ protocols)]
|
||||
interface WebSocket : EventTarget {
|
||||
readonly attribute DOMString url;
|
||||
//ready state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue