mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #7880 - romankl:websockets-data-field, r=jdm
remove data field from websockets The data field is currently not used (no reads/ writes). This commit removes this temp. field. Ref.-Issue: #7859 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7880) <!-- Reviewable:end -->
This commit is contained in:
commit
94816bb3b4
1 changed files with 0 additions and 2 deletions
|
@ -76,7 +76,6 @@ pub struct WebSocket {
|
|||
clean_close: Cell<bool>, //Flag to tell if the websocket closed cleanly (not due to full or fail)
|
||||
code: Cell<u16>, //Closing code
|
||||
reason: DOMRefCell<DOMString>, //Closing reason
|
||||
data: DOMRefCell<DOMString>, //Data from send - TODO: Remove after buffer is added.
|
||||
binary_type: Cell<BinaryType>,
|
||||
}
|
||||
|
||||
|
@ -116,7 +115,6 @@ impl WebSocket {
|
|||
clean_close: Cell::new(true),
|
||||
code: Cell::new(0),
|
||||
reason: DOMRefCell::new("".to_owned()),
|
||||
data: DOMRefCell::new("".to_owned()),
|
||||
binary_type: Cell::new(BinaryType::Blob),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue