Searched refs:binaryType (Results 1 – 10 of 10) sorted by relevance
72 WebSocket::BinaryType WebSocketImpl::binaryType() const in binaryType() function in blink::WebSocketImpl77 bool WebSocketImpl::setBinaryType(BinaryType binaryType) in setBinaryType() argument79 if (binaryType > BinaryTypeArrayBuffer) in setBinaryType()81 m_binaryType = binaryType; in setBinaryType()
57 virtual BinaryType binaryType() const OVERRIDE;
160 String RTCDataChannel::binaryType() const in binaryType() function in WebCore::RTCDataChannel172 void RTCDataChannel::setBinaryType(const String& binaryType, ExceptionState& exceptionState) in setBinaryType() argument174 if (binaryType == "blob") in setBinaryType()176 else if (binaryType == "arraybuffer") in setBinaryType()179 exceptionState.throwDOMException(TypeMismatchError, "Unknown binary type : " + binaryType); in setBinaryType()
70 String binaryType() const;
46 [RaisesException=Setter] attribute DOMString binaryType;
532 String WebSocket::binaryType() const in binaryType() function in WebCore::WebSocket544 void WebSocket::setBinaryType(const String& binaryType) in setBinaryType() argument546 if (binaryType == "blob") { in setBinaryType()550 if (binaryType == "arraybuffer") { in setBinaryType()554 …logError("'" + binaryType + "' is not a valid value for binaryType; binaryType remains unchanged."… in setBinaryType()
35 // FIXME: use BinaryType in binaryType70 attribute DOMString binaryType;
720 TEST_F(WebSocketTest, binaryType) in TEST_F() argument722 EXPECT_EQ("blob", m_websocket->binaryType()); in TEST_F()726 EXPECT_EQ("blob", m_websocket->binaryType()); in TEST_F()730 EXPECT_EQ("arraybuffer", m_websocket->binaryType()); in TEST_F()734 EXPECT_EQ("arraybuffer", m_websocket->binaryType()); in TEST_F()738 EXPECT_EQ("blob", m_websocket->binaryType()); in TEST_F()
97 String binaryType() const;
83 virtual BinaryType binaryType() const = 0;