diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /dom/indexedDB/Key.h | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/indexedDB/Key.h')
-rw-r--r-- | dom/indexedDB/Key.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dom/indexedDB/Key.h b/dom/indexedDB/Key.h index 25ddd3e0b1..f4e6570a96 100644 --- a/dom/indexedDB/Key.h +++ b/dom/indexedDB/Key.h @@ -226,9 +226,6 @@ class Key { Result<Ok, nsresult> EncodeNumber(double aFloat, uint8_t aType); - Result<Ok, nsresult> EncodeBinary(JSObject* aObject, bool aIsViewObject, - uint8_t aTypeOffset); - // Decoding functions. aPos points into mBuffer and is adjusted to point // past the consumed value. (Note: this may be beyond aEnd). static nsresult DecodeJSVal(const EncodedDataType*& aPos, @@ -241,8 +238,9 @@ class Key { static double DecodeNumber(const EncodedDataType*& aPos, const EncodedDataType* aEnd); - static JSObject* DecodeBinary(const EncodedDataType*& aPos, - const EncodedDataType* aEnd, JSContext* aCx); + static JSObject* GetArrayBufferObjectFromDataRange( + const EncodedDataType*& aPos, const EncodedDataType* aEnd, + JSContext* aCx); // Returns the size of the decoded data for stringy (string or binary), // excluding a null terminator. |