Home | History | Annotate | Download | only in xml

Lines Matching defs:expectedLength

908     long long expectedLength = m_response.expectedContentLength();
926 handleRequestError(0, EventTypeNames::abort, receivedLength, expectedLength);
1026 void XMLHttpRequest::dispatchProgressEvent(const AtomicString& type, long long receivedLength, long long expectedLength)
1028 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength;
1030 unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0;
1048 long long expectedLength = m_response.expectedContentLength();
1058 handleRequestError(NetworkError, EventTypeNames::error, receivedLength, expectedLength);
1066 long long expectedLength = m_response.expectedContentLength();
1076 handleRequestError(AbortError, EventTypeNames::abort, receivedLength, expectedLength);
1079 void XMLHttpRequest::handleRequestError(ExceptionCode exceptionCode, const AtomicString& type, long long receivedLength, long long expectedLength)
1106 dispatchProgressEvent(EventTypeNames::progress, receivedLength, expectedLength);
1107 dispatchProgressEvent(type, receivedLength, expectedLength);
1108 dispatchProgressEvent(EventTypeNames::loadend, receivedLength, expectedLength);
1526 long long expectedLength = m_response.expectedContentLength();
1536 handleRequestError(TimeoutError, EventTypeNames::timeout, receivedLength, expectedLength);