Leo Balter
deb5d07a22
Merge pull request #2064 from test262-automation/v8-test262-automation-export-6bb8f41e0a
...
Import test changes from V8
2019-07-21 21:17:21 -04:00
André Bargull
f7e8dba39b
Update tests to parse language tags as Unicode BCP 47 Locale Identifiers
...
harness/testIntl.js
- Add now invalid tags to getInvalidLanguageTags, these tags were previously used in test files changed in this commit.
- Update isCanonicalizedStructurallyValidLanguageTag regular expressions.
test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js
- Moved five now invalid tags to getInvalidLanguageTags function in testIntl.js
test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js
- All irregular grandfathered tags are invalid now
- Regular grandfathered with extlang subtags are now also invalid
- Regular grandfathered with variant-like subtags are still valid
test/intl402/Intl/getCanonicalLocales/weird-cases.js
- Revert changes from last commit
- "x-u-foo" is now invalid and was moved to getInvalidLanguageTags function
test/intl402/ListFormat/constructor/constructor/locales-valid.js
test/intl402/RelativeTimeFormat/constructor/constructor/locales-valid.js
test/intl402/Segmenter/constructor/constructor/locales-valid.js
- Irregular grandfathered and privateuse only are no longer valid language tags
test/intl402/language-tags-canonicalized.js
- Same changes as in test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js
test/intl402/language-tags-invalid.js
- Invalid tags list in this file was a subset of getInvalidLanguageTags, so replaced with getInvalidLanguageTags to get more coverage
test/intl402/language-tags-valid.js
- Same changes as in test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js
2019-07-21 05:44:21 -07:00
André Bargull
94053978bc
Update language tag canonicalisation per UTS35
...
Main changes:
- "cmn" is now canonicalised to "zh"
- "und-x-" is prepended before grandfathered tags without modern replacements
- "und-" is prepended before privateuse-only language tags
2019-07-21 05:44:21 -07:00
Leo Balter
51d1abadce
Fix typo ( #2246 )
2019-07-19 16:01:10 -04:00
Leo Balter
b3b0e8e190
Merge pull request #2235 from mkubilayk/static-subclass-receiver
...
Check static private methods on super class are called with correct receiver
2019-07-19 14:01:51 -04:00
Leo Balter
b6760c3cc0
Add tests for Numeric Separators not allowed in legacy octal and non octal literals
2019-07-19 13:59:00 -04:00
Leo Balter
edeada5376
Add cases for division after a Block
...
Plus some line terminator checks
2019-07-19 13:57:16 -04:00
Leo Balter
a1f7142b89
Generate tests
2019-07-19 13:55:44 -04:00
Leo Balter
c509173032
Add templates and cases for matchings of a StatementList
2019-07-19 13:55:44 -04:00
Caio Lima
1dc78879d4
Add edge tests to verify BigInt to Number conversion when BigInt can't directly be represented by a Number.
2019-07-19 13:53:01 -04:00
Leo Balter
5549fd0022
Merge pull request #2197 from jbhoosreddy/class-decl-module
...
Add more class declaration formations
2019-07-16 19:30:17 -04:00
Leo Balter
7c1775ae24
Merge pull request #2223 from gibson042/2019-07-rest-param-strict-body
...
Add tests for rest parameter with "use strict" (expecting syntax error)
2019-07-16 19:23:51 -04:00
Caio Lima
b3aea7e831
Adding tests to verify cases on PrivateFieldSet and PrivateFieldGet where we should throw TypeError ( #2229 )
2019-07-16 19:22:02 -04:00
Frank Yung-Fong Tang
dce0910981
change to camelCase to sync with #54 ( #2240 )
...
to sync with https://github.com/tc39/proposal-unified-intl-numberformat/pull/54
@sffc @leobalter
2019-07-16 19:00:29 -04:00
Leo Balter
d02fe7db38
Add coverage for non object values of the Properties arg of Object.create ( #2238 )
...
Fixes #2237
2019-07-15 16:17:03 -04:00
Leo Balter
26a2268436
Update contributing file to describe current requirements for the copyright header
2019-07-15 14:03:25 -04:00
Leo Balter
002d3484d6
Add tests for linter
2019-07-15 14:03:25 -04:00
Leo Balter
cd79eada15
Update test files to follow lint rule
2019-07-15 14:03:25 -04:00
Leo Balter
8b28871eca
Update header regexp to prevent year ranges
2019-07-15 14:03:25 -04:00
Frank Yung-Fong Tang
f7e6656c13
Remove tests for "quarter" option of Intl.DateTimeFormat ( #2232 )
2019-07-15 13:51:22 -04:00
Frank Yung-Fong Tang
53d14f56bb
Add tests for format/formatToParts of fractionalSecondDigits option ( #2234 )
...
* Add more tests for fractionalSecondDigits
* + test of fractionalSecondDigits formatToParts
2019-07-15 13:50:25 -04:00
Kubilay Kahveci
90d59c52f8
Generate tests
2019-07-12 13:33:18 +01:00
Kubilay Kahveci
e2d9794092
Check static private methods on super class are called with correct receiver
2019-07-12 13:33:18 +01:00
Leo Balter
6cb0a531af
Fix typos
2019-07-11 11:17:30 -04:00
Leo Balter
b45bf4b6fa
fixup! Some edgy cases for weakrefs/finalizationgroups
2019-07-11 11:17:30 -04:00
Leo Balter
3c293f0e6c
Some edgy cases for weakrefs/finalizationgroups
2019-07-11 11:17:30 -04:00
jbhoosreddy
ff05d31b6b
generated tests
2019-07-10 20:38:33 -04:00
jbhoosreddy
35aa4c3969
Add class elements declaration in module export form
2019-07-10 20:32:26 -04:00
Richard Gibson
c59db6e8bd
Generate tests
...
SRC_DIR=src/function-forms ./make.py
2019-07-10 20:20:16 -04:00
Richard Gibson
0100bb21dc
Add IsSimpleParameterList spec text to new test cases
2019-07-10 20:13:33 -04:00
Richard Gibson
7f395d6d87
Add tests for array/object destructuring parameter with "use strict"
2019-07-10 19:59:30 -04:00
Caio Lima
ea359a1d81
Added tests to cover access of private members on inner regular functions and arrow functions. ( #2228 )
2019-07-10 16:58:19 -04:00
Alexey Shvayka
19b5a5a635
Improve Object#toString coverage ( #2202 )
...
* Move proxies with non-string toStringTag to separate file
* Add coverage for async proxy functions
* Add coverage for built-ins with non-string toStringTag
* Move async proxy function tests to new file
2019-07-10 14:00:04 -04:00
Richard Gibson
9b95d46e7d
Fix typo ( #2224 )
2019-07-08 15:32:59 -04:00
Richard Gibson
38f3545344
Fix test:diff npm scripts ( #2225 )
...
* Include untracked files in `npm run diff`
* Suppress non-file output from nested `npm run diff`
2019-07-08 15:32:35 -04:00
Richard Gibson
4af2c34eb2
Add tests for rest parameter with "use strict" (expecting syntax error)
2019-07-03 18:54:21 -04:00
Frank Yung-Fong Tang
281c7ff5d0
Correct features to Intl.DateTimeFormat-dayPeriod ( #2222 )
2019-07-03 18:09:45 -04:00
Nicolò Ribaudo
77f6cfb2aa
Add missing features to class fields tests ( #2220 )
2019-07-03 17:22:14 -04:00
Leo Balter
b41b0577a0
Add tests for DateTimeFormat using dayPeriod
2019-07-02 10:04:43 -04:00
Leo Balter
1ef21eb50b
fixup! Cleanup some tests for FinalizationGroup
2019-07-02 10:04:04 -04:00
Leo Balter
6242304cd0
Cleanup some tests for FinalizationGroup
2019-07-02 10:04:04 -04:00
Timothy Gu
9dfb9e14e0
Fix WeakMap/WeakSet typo
...
The test tries to test against WeakSet, but used WeakMap instead.
2019-07-02 09:37:46 -04:00
Caio Lima
b1b4177796
Adding cases where private names are used on direct eval calls ( #2213 )
...
* Adding cases where private names are used on direct eval calls
* Removing return statement from setter case
2019-06-26 15:08:44 -04:00
Leo Balter
1fb2b78a8d
Merge pull request #2188 from caiolima/private-methods-own-property
...
Verify that private methods and accessors aren't visible to [[GetOwnProperty]] and [[HasProperty]].
2019-06-26 15:07:47 -04:00
Jaideep Bhoosreddy
51fc533565
Add test for multiple evaluations of classes with private ( #2176 )
2019-06-26 15:05:10 -04:00
Alexey Shvayka
d7c95efe66
Improve "name" tests of Promise built-in functions ( #2179 )
2019-06-26 15:03:14 -04:00
Leo Balter
7c7d3f756c
Fix tests for FinalizationGroup
2019-06-26 13:49:08 -04:00
Caio Lima
166d5ac589
Adding tests to validate HomeObject setup on private methods and accessors ( #2214 )
2019-06-26 12:03:36 -04:00
Alexey Shvayka
14b6bec36d
Add unary operators with NewTarget test ( #2199 )
2019-06-24 16:45:13 -04:00
Leo Balter
f7f07a9010
Add a test for FinalizationGroupCleanupIteratorPrototype
2019-06-21 20:00:35 -04:00