mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Fix a crash in IndexedDB.
This commit is contained in:
parent
f40a82f098
commit
cfc50f18c4
10 changed files with 102 additions and 39 deletions
|
|
@ -72,7 +72,10 @@ public:
|
|||
Parse(const Nullable<OwningStringOrStringSequence>& aValue, KeyPath* aKeyPath);
|
||||
|
||||
nsresult
|
||||
ExtractKey(JSContext* aCx, const JS::Value& aValue, Key& aKey) const;
|
||||
ExtractKey(JSContext* aCx,
|
||||
const JS::Value& aValue,
|
||||
Key& aKey,
|
||||
bool aCallGetters) const;
|
||||
|
||||
nsresult
|
||||
ExtractKeyAsJSVal(JSContext* aCx, const JS::Value& aValue,
|
||||
|
|
@ -82,9 +85,12 @@ public:
|
|||
(*ExtractOrCreateKeyCallback)(JSContext* aCx, void* aClosure);
|
||||
|
||||
nsresult
|
||||
ExtractOrCreateKey(JSContext* aCx, const JS::Value& aValue, Key& aKey,
|
||||
ExtractOrCreateKey(JSContext* aCx,
|
||||
const JS::Value& aValue,
|
||||
Key& aKey,
|
||||
ExtractOrCreateKeyCallback aCallback,
|
||||
void* aClosure) const;
|
||||
void* aClosure,
|
||||
bool aCallGetters) const;
|
||||
|
||||
inline bool IsValid() const {
|
||||
return mType != NONEXISTENT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue