 # Thrown if the XHR security policy is violated.
 class SecurityError extends Error
   # @private
-  constructor: -> super
+  constructor: -> super()
 
 # Thrown if the XHR security policy is violated.
 XMLHttpRequest.SecurityError = SecurityError

# Thrown if there is a problem with the URL passed to the XHR.
class NetworkError extends Error
  # @private
  constructor: -> super

# Thrown if parsing URLs errors out.
XMLHttpRequest.SyntaxError = SyntaxError

class SyntaxError extends Error
  # @private:
  constructor: -> super

# Usually thrown if the XHR is in the wrong readyState for an operation.
class InvalidStateError extends Error
  # @private
  constructor: -> super()

# Usually thrown if the XHR is in the wrong readyState for an operation.
class InvalidStateError extends Error
