Yusuke Suzuki
df1961f16a
Fix formatRangeToParts/date-same-returns-single-date.js and add tests using practically-equal two dates
...
intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js is using `formatRange` and `format`.
Fix this test to use `formatRangeToParts` and `formatToParts` since it is the intention of this test.
This patch adds additional tests to intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js and
intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js. The new test uses two dates that are practially-equal,
and ensures the implementation uses `format` or `formatToParts` by detecting they are practically-equal.
2021-01-10 20:55:08 -05:00
Felipe Balbontín
6cf3433cf8
Update copyright in formatRange/date-same-returns-single-date.js and formatRangeToParts/date-same-returns-single-date.js
2021-01-03 19:52:18 -05:00
Felipe Balbontín
22cdb74659
Add tests for Intl.DateTimeFormat formatRange(ToParts) to check the behavior when startDate is the same as endDate ( tc39/proposal-intl-DateTimeFormat-formatRange#19 ).
2021-01-03 19:52:18 -05:00
Shu-yu Guo
9ca13b1272
Fix typo in BigIntArray property descriptor test
2020-12-30 16:53:29 -05:00
Frank Yung-Fong Tang
b2e9dff281
change cel-gaulish map to xtg
2020-12-21 10:15:14 -05:00
Frank Yung-Fong Tang
7c9480476e
Update the test based on v35 of UTS35
...
see http://unicode.org/reports/tr35/#LocaleId_Canonicalization
@anba
2020-12-21 10:15:14 -05:00
Rick Waldron
de091de9f6
Include indexOf(undefined, ...) and lastIndexOf(undefined, ...)
2020-12-16 11:59:56 -05:00
Rick Waldron
167e596a64
Align detached buffer semantics with web reality, R6. Fixes gh-2915
2020-12-16 11:59:56 -05:00
Frank Yung-Fong Tang
f9a834c05e
Update testIntl.js
2020-12-16 11:59:06 -05:00
Frank Yung-Fong Tang
483219a596
fix mapping for cel-gaulish
2020-12-16 11:59:06 -05:00
Frank Yung-Fong Tang
0b752efc09
Map "cel-gaulish" to "xtg"
2020-12-16 11:59:06 -05:00
Frank Yung-Fong Tang
4ff1828c5e
Update to CLDR 38
...
see
https://github.com/unicode-org/cldr/blame/master/common/supplemental/supplementalMetadata.xml#L531
and
http://unicode.org/reports/tr35/#LocaleId_Canonicalization
2020-12-16 11:59:06 -05:00
Frank Yung-Fong Tang
10bbf0030a
Change sgn-GR: sgn-GR to sgn-GR: gss per CLDR38
...
see c640c7b9ac/common/supplemental/supplementalMetadata.xml (L149)
2020-12-16 11:59:06 -05:00
Alexey Shvayka
51666c5315
Improve coverage of mapped arguments' [[DefineOwnProperty]] method
2020-12-11 11:06:51 -05:00
Tom Schuster
734c867ac3
Remove test code between license and front matter
...
The script that we use for updating SpiderMonkey's copy of test262 doesn't like this.
@rwaldron r?
2020-12-10 09:20:36 -05:00
Sébastien Ros
7376666039
Typo
2020-12-10 09:19:33 -05:00
Vlad
c1959a44a6
Math.max/min - each element coerced
2020-12-10 09:19:02 -05:00
Felipe Balbontín
c898b68ef6
Update the description of some Intl.DateTimeFormat formatRange(ToParts) tests based on changes introduced in tc39/proposal-intl-DateTimeFormat-formatRange#23
2020-12-10 09:17:00 -05:00
Rick Waldron
3b425c6da3
Coverage: missing tests for Array.prototype.reverse method. Fixes gh-2902
2020-12-02 16:34:44 -05:00
Rick Waldron
96aff62fb2
IntegerIndexedElementSet should always indicate success. Ref: tc39/ecma262/pull/2210
2020-12-02 15:06:36 -05:00
Ross Kirsling
73798cbc61
Fix typos for at/prop-desc tests. ( #2908 )
2020-11-19 02:32:38 -08:00
Rick Waldron
8051f05354
Improved metadata
2020-11-18 16:44:55 -05:00
Rick Waldron
fe5f8192de
Fix typo
2020-11-18 16:44:55 -05:00
Rick Waldron
b5ccbcb5e4
Coverage: Missing test for function length and parameter destructuring. Closes gh-2895
2020-11-18 16:44:55 -05:00
Rick Waldron
602c828805
Coverage: read-only function expression name. Closes gh-2896
2020-11-18 16:30:13 -05:00
Leo Balter
2e5ff2461b
fixup! Fix missing renames for item->at
2020-11-18 15:18:14 -05:00
Leo Balter
65bd4432f9
Fix missing renames for item->at
...
Ref #2905
2020-11-18 15:18:14 -05:00
Rick Waldron
e1bfbbfdc8
Fix: Broken test: language/global-code/decl-lex-configurable-global.js. Closes gh-2897
2020-11-18 14:00:54 -05:00
Ross Kirsling
df1bce9c2e
Rename item() to at().
2020-11-18 13:31:11 -05:00
Yusuke Suzuki
36d2d2d348
Fix test/built-ins/TypedArrayConstructors/internals/GetOwnProperty/index-prop-desc.js's value
...
Since the 0's value is 43, 43 should be populated in a descriptor.
2020-11-13 08:57:15 -05:00
Rick Waldron
1c33fdb0ca
Test cases for invalid escape sequences preceding "use strict". Fixes gh-2893
2020-11-04 13:46:04 -05:00
Rick Waldron
3d3c56200b
Correction
2020-11-04 13:45:45 -05:00
Rick Waldron
112967c1a9
Lint fixes
2020-11-04 13:45:45 -05:00
Rick Waldron
5c546996ba
Align detached buffer semantics with web reality, R5. Fixes gh-2879
2020-11-04 13:45:45 -05:00
Rick Waldron
82f38efbab
Features: add "intl-normative-optional"
2020-11-03 14:28:17 -05:00
Yusuke Suzuki
20b11bee0f
Add tests for [[Description]] of Intl [[FallbackSymbol]]
...
If normative optional is implemented and [[FallbackSymbol]] is used, its description should be "IntlLegacyConstructedSymbol"
2020-11-02 12:34:09 -05:00
Rick Waldron
3c58228465
Align detached buffer semantics with web reality, R4. Fixes gh-2879
2020-11-02 12:20:44 -05:00
Rick Waldron
959840a62a
Remove unused include
2020-10-29 13:50:08 -04:00
Rick Waldron
cef698c374
Rename long test file names
2020-10-29 13:49:25 -04:00
Rick Waldron
224c0ce19e
Replace unicode characters that pyyaml cannot read
2020-10-29 13:49:09 -04:00
Rick Waldron
a563e3a3f8
Remove template that is generating duplicate tests
2020-10-29 13:48:50 -04:00
Rick Waldron
1af15d5199
Add missing features flags
2020-10-29 13:20:18 -04:00
Rick Waldron
0001489473
Update test/built-ins/TypedArray/prototype/forEach/callbackfn-detachbuffer.js
...
Co-authored-by: Ross Kirsling <rkirsling@gmail.com>
2020-10-21 20:14:36 -04:00
Rick Waldron
a60a67ea88
Align detached buffer semantics with web reality, R3
2020-10-21 20:14:36 -04:00
Rick Waldron
0e7319c015
atomicsHelper.js: Add $262.agent.setTimeout to defines
2020-10-19 17:48:00 -04:00
Rick Waldron
d6b342338e
arbitrary-module-namespace-names: Assertion correction. Fixes gh-2866
2020-10-19 17:47:40 -04:00
Rick Waldron
7d998a098e
Align detached buffer semantics with web reality, R2
2020-10-19 17:41:11 -04:00
Shu-yu Guo
6d49a317ac
Add missing includes to some Atomics.waitAsync tests
2020-10-19 17:26:47 -04:00
Rick Waldron
fd10123a71
String.prototype.split: rename overlong files. Fixes gh-2865
2020-10-19 10:22:45 -04:00
Rick Waldron
3439564fca
Add "☿" export to export-expname_FIXTURE.js. Fixes gh-2866
2020-10-17 09:19:45 -04:00