void IDBConnectionToServer::didAbortTransaction(const IDBResourceIdentifier& transactionIdentifier, const IDBError& error) { LOG(IndexedDB, "IDBConnectionToServer::didAbortTransaction"); auto transaction = m_abortingTransactions.take(transactionIdentifier); ASSERT(transaction); transaction->didAbort(error); }
void IDBTransaction::didStart(const IDBError& error) { LOG(IndexedDB, "IDBTransaction::didStart"); m_database->didStartTransaction(*this); m_startedOnServer = true; // It's possible the transaction failed to start on the server. // That equates to an abort. if (!error.isNull()) { didAbort(error); return; } scheduleOperationTimer(); }