Lines Matching refs:DOMException
4 const { DOMException } = require('../fetch/constants')
70 // 3. If urlRecord is failure, then throw a "SyntaxError" DOMException.
71 throw new DOMException(e, 'SyntaxError')
82 // 6. If urlRecord’s scheme is not "ws" or "wss", then throw a "SyntaxError" DOMException.
84 throw new DOMException(
91 // DOMException.
93 throw new DOMException('Got fragment', 'SyntaxError')
105 // protocol, then throw a "SyntaxError" DOMException.
107 throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError')
111 throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError')
163 // "InvalidAccessError" DOMException.
166 throw new DOMException('invalid code', 'InvalidAccessError')
176 // "SyntaxError" DOMException.
180 throw new DOMException(
261 // "InvalidStateError" DOMException.
263 throw new DOMException('Sent before connected.', 'InvalidStateError')