summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/IDBCursor.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-09-06 10:29:38 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-09-06 10:29:38 +0200
commit9fdff854ebf1fe1a118061d57fd0a2d6c5c7dfd7 (patch)
tree0f3678a1ed688c2f430b1cae5859916790908ac6 /dom/indexedDB/IDBCursor.cpp
parentab6242a93b849b0a3c7525b16bc01dd3172fc167 (diff)
parent6db06749e2037029adc96660aafa5339ed609e60 (diff)
downloadUXP-9fdff854ebf1fe1a118061d57fd0a2d6c5c7dfd7.tar
UXP-9fdff854ebf1fe1a118061d57fd0a2d6c5c7dfd7.tar.gz
UXP-9fdff854ebf1fe1a118061d57fd0a2d6c5c7dfd7.tar.lz
UXP-9fdff854ebf1fe1a118061d57fd0a2d6c5c7dfd7.tar.xz
UXP-9fdff854ebf1fe1a118061d57fd0a2d6c5c7dfd7.zip
Merge branch 'master' into release
Diffstat (limited to 'dom/indexedDB/IDBCursor.cpp')
-rw-r--r--dom/indexedDB/IDBCursor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/indexedDB/IDBCursor.cpp b/dom/indexedDB/IDBCursor.cpp
index af88742f0..be0295dc7 100644
--- a/dom/indexedDB/IDBCursor.cpp
+++ b/dom/indexedDB/IDBCursor.cpp
@@ -430,7 +430,7 @@ IDBCursor::Continue(JSContext* aCx,
}
Key key;
- aRv = key.SetFromJSVal(aCx, aKey);
+ aRv = key.SetFromJSVal(aCx, aKey, /* aCallGetters */ true);
if (aRv.Failed()) {
return;
}
@@ -536,7 +536,7 @@ IDBCursor::ContinuePrimaryKey(JSContext* aCx,
}
Key key;
- aRv = key.SetFromJSVal(aCx, aKey);
+ aRv = key.SetFromJSVal(aCx, aKey, /* aCallGetters */ true);
if (aRv.Failed()) {
return;
}
@@ -558,7 +558,7 @@ IDBCursor::ContinuePrimaryKey(JSContext* aCx,
}
Key primaryKey;
- aRv = primaryKey.SetFromJSVal(aCx, aPrimaryKey);
+ aRv = primaryKey.SetFromJSVal(aCx, aPrimaryKey, /* aCallGetters */ true);
if (aRv.Failed()) {
return;
}
@@ -718,7 +718,7 @@ IDBCursor::Update(JSContext* aCx, JS::Handle<JS::Value> aValue,
const KeyPath& keyPath = objectStore->GetKeyPath();
Key key;
- aRv = keyPath.ExtractKey(aCx, aValue, key);
+ aRv = keyPath.ExtractKey(aCx, aValue, key, /* aCallGetters */ false);
if (aRv.Failed()) {
return nullptr;
}