aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorRoman Klauke <romankl@users.noreply.github.com>2015-10-05 21:22:55 +0200
committerRoman Klauke <romankl@users.noreply.github.com>2015-10-05 21:23:42 +0200
commit1f82e5121c92cf91935d7445f734dbe66f1621a9 (patch)
tree823a3a6d9fc88a82226dbaa116d4cf31ae427865 /components/script
parent375382a2e813ee28405f6cec439330e238c4d2e5 (diff)
downloadservo-1f82e5121c92cf91935d7445f734dbe66f1621a9.tar.gz
servo-1f82e5121c92cf91935d7445f734dbe66f1621a9.zip
remove data field from websockets
The data field is currently not used (no reads/ writes). This commit removes this field. Ref.-Issue: #7859
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/websocket.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/websocket.rs b/components/script/dom/websocket.rs
index 279447070d0..b90cd53ff06 100644
--- a/components/script/dom/websocket.rs
+++ b/components/script/dom/websocket.rs
@@ -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),
}