summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/IDBCursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/indexedDB/IDBCursor.cpp')
-rw-r--r--dom/indexedDB/IDBCursor.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/dom/indexedDB/IDBCursor.cpp b/dom/indexedDB/IDBCursor.cpp
index 2fb6e98715..65234bf792 100644
--- a/dom/indexedDB/IDBCursor.cpp
+++ b/dom/indexedDB/IDBCursor.cpp
@@ -417,7 +417,8 @@ void IDBTypedCursor<CursorType>::Continue(JSContext* const aCx,
IDB_LOG_STRINGIFY(key));
}
- GetTypedBackgroundActorRef().SendContinueInternal(ContinueParams(key), mData);
+ GetTypedBackgroundActorRef().SendContinueInternal(
+ mTransaction->NextRequestId(), ContinueParams(key), mData);
mContinueCalled = true;
}
@@ -523,6 +524,7 @@ void IDBTypedCursor<CursorType>::ContinuePrimaryKey(
IDB_LOG_STRINGIFY(key), IDB_LOG_STRINGIFY(primaryKey));
GetTypedBackgroundActorRef().SendContinueInternal(
+ mTransaction->NextRequestId(),
ContinuePrimaryKeyParams(key, primaryKey), mData);
mContinueCalled = true;
@@ -573,8 +575,8 @@ void IDBTypedCursor<CursorType>::Advance(const uint32_t aCount,
IDB_LOG_STRINGIFY(mSource), IDB_LOG_STRINGIFY(mDirection), aCount);
}
- GetTypedBackgroundActorRef().SendContinueInternal(AdvanceParams(aCount),
- mData);
+ GetTypedBackgroundActorRef().SendContinueInternal(
+ mTransaction->NextRequestId(), AdvanceParams(aCount), mData);
mContinueCalled = true;
}