diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 21:47:32 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 21:47:32 +0200 |
commit | 74c62cd3373e23fe77f509373f581c33872d813d (patch) | |
tree | f3b15accca8029bf07b0d20ba63d972cb4f9f739 /js/src/builtin/TypedArray.js | |
parent | c18d9955df45be20537cc221dabebdae7d4fe744 (diff) | |
download | UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.gz UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.lz UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.xz UXP-74c62cd3373e23fe77f509373f581c33872d813d.zip |
Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals.
Diffstat (limited to 'js/src/builtin/TypedArray.js')
-rw-r--r-- | js/src/builtin/TypedArray.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/src/builtin/TypedArray.js b/js/src/builtin/TypedArray.js index a2205dc92..a1934051d 100644 --- a/js/src/builtin/TypedArray.js +++ b/js/src/builtin/TypedArray.js @@ -1232,11 +1232,7 @@ function TypedArrayToLocaleString(locales = undefined, options = undefined) { // Steps 6-7. // Omit the 'if' clause in step 6, since typed arrays can't have undefined // or null elements. -#if EXPOSE_INTL_API var R = ToString(callContentFunction(firstElement.toLocaleString, firstElement, locales, options)); -#else - var R = ToString(callContentFunction(firstElement.toLocaleString, firstElement)); -#endif // Step 3 (reordered). // We don't (yet?) implement locale-dependent separators. @@ -1258,11 +1254,7 @@ function TypedArrayToLocaleString(locales = undefined, options = undefined) { // the error message. So despite bug 1079853, we can skip step 9.c. // Step 9.d. -#if EXPOSE_INTL_API R = ToString(callContentFunction(nextElement.toLocaleString, nextElement, locales, options)); -#else - R = ToString(callContentFunction(nextElement.toLocaleString, nextElement)); -#endif // Step 9.e. R = S + R; |