mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Issue #325 Part 7: Remove non-Intl legacy code paths from IndexedDB.
This commit is contained in:
parent
3f6fb7bb4a
commit
d4d0fbf3d5
9 changed files with 1 additions and 58 deletions
|
|
@ -22,9 +22,7 @@
|
|||
#include "ReportInternalError.h"
|
||||
#include "xpcpublic.h"
|
||||
|
||||
#ifdef ENABLE_INTL_API
|
||||
#include "unicode/ucol.h"
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
|
@ -108,7 +106,6 @@ namespace indexedDB {
|
|||
[1, 2] // 0x60 bf f0 0 0 0 0 0 0 0x10 c0
|
||||
[[]] // 0x80
|
||||
*/
|
||||
#ifdef ENABLE_INTL_API
|
||||
nsresult
|
||||
Key::ToLocaleBasedKey(Key& aTarget, const nsCString& aLocale) const
|
||||
{
|
||||
|
|
@ -202,7 +199,6 @@ Key::ToLocaleBasedKey(Key& aTarget, const nsCString& aLocale) const
|
|||
aTarget.TrimBuffer();
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
nsresult
|
||||
Key::EncodeJSValInternal(JSContext* aCx, JS::Handle<JS::Value> aVal,
|
||||
|
|
@ -483,7 +479,6 @@ Key::EncodeAsString(const T* aStart, const T* aEnd, uint8_t aType)
|
|||
NS_ASSERTION(buffer == mBuffer.EndReading(), "Wrote wrong number of bytes");
|
||||
}
|
||||
|
||||
#ifdef ENABLE_INTL_API
|
||||
nsresult
|
||||
Key::EncodeLocaleString(const nsDependentString& aString, uint8_t aTypeOffset,
|
||||
const nsCString& aLocale)
|
||||
|
|
@ -522,7 +517,6 @@ Key::EncodeLocaleString(const nsDependentString& aString, uint8_t aTypeOffset,
|
|||
aTypeOffset);
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
// static
|
||||
nsresult
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue