diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-09-04 21:04:07 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-09-04 21:04:07 +0200 |
commit | 4d4924e5105dbdfdcc3ff821671fba0dfeb11b11 (patch) | |
tree | bd337bd4c029744be88847e506b7e03da79e7093 /dom/indexedDB/IDBKeyRange.cpp | |
parent | 4266966eeef44dfce422b9703692e519678610c6 (diff) | |
download | UXP-4d4924e5105dbdfdcc3ff821671fba0dfeb11b11.tar UXP-4d4924e5105dbdfdcc3ff821671fba0dfeb11b11.tar.gz UXP-4d4924e5105dbdfdcc3ff821671fba0dfeb11b11.tar.lz UXP-4d4924e5105dbdfdcc3ff821671fba0dfeb11b11.tar.xz UXP-4d4924e5105dbdfdcc3ff821671fba0dfeb11b11.zip |
Fix a crash in IndexedDB.
Diffstat (limited to 'dom/indexedDB/IDBKeyRange.cpp')
-rw-r--r-- | dom/indexedDB/IDBKeyRange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/indexedDB/IDBKeyRange.cpp b/dom/indexedDB/IDBKeyRange.cpp index e61c80617..168fb4a5a 100644 --- a/dom/indexedDB/IDBKeyRange.cpp +++ b/dom/indexedDB/IDBKeyRange.cpp @@ -24,7 +24,7 @@ GetKeyFromJSVal(JSContext* aCx, JS::Handle<JS::Value> aVal, Key& aKey) { - nsresult rv = aKey.SetFromJSVal(aCx, aVal); + nsresult rv = aKey.SetFromJSVal(aCx, aVal, /* aCallGetters */ true); if (NS_FAILED(rv)) { MOZ_ASSERT(NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM_INDEXEDDB); return rv; |