Exemplo n.º 1
0
void XMLHttpRequest::sendFromInspector(PassRefPtr<FormData> formData, ExceptionCode& ec)
{
    m_requestEntityBody = formData ? formData->deepCopy() : 0;
    createRequest(ec);
    m_exceptionCode = ec;
}
Exemplo n.º 2
0
void XMLHttpRequest::sendForInspectorXHRReplay(PassRefPtr<FormData> formData, ExceptionState& exceptionState)
{
    m_requestEntityBody = formData ? formData->deepCopy() : 0;
    createRequest(exceptionState);
    m_exceptionCode = exceptionState.code();
}