зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1415797 - Fix failures in dom/network/tests/ with comformant Promise handling. r=smaug
This commit is contained in:
Родитель
5a8139bcbc
Коммит
bbb5b07bde
|
@ -1014,10 +1014,10 @@ TCPSocket::OnTransportStatus(nsITransport* aTransport, nsresult aStatus,
|
|||
}
|
||||
|
||||
mReadyState = TCPReadyState::Open;
|
||||
FireEvent(NS_LITERAL_STRING("open"));
|
||||
|
||||
nsresult rv = CreateInputStreamPump();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
FireEvent(NS_LITERAL_STRING("open"));
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче