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, //Flag to tell if the websocket closed cleanly (not due to full or fail) code: Cell, //Closing code reason: DOMRefCell, //Closing reason - data: DOMRefCell, //Data from send - TODO: Remove after buffer is added. binary_type: Cell, } @@ -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), }