2824 Commits

Author SHA1 Message Date
peterwmwong
bbad9482e6 Update tests for String.prototype.matchAll
As per spec changes (https://github.com/tc39/proposal-string-matchall/pull/35), removed tests related to the removed IsRegExp call.
To prevent older implementations (not observing spec change) from passing, added a new test to verify the reduced number of observable calls to IsRegExp.

Also fix a misreference in `features` frontmatter.
2018-06-07 21:23:54 -05:00
Rick Waldron
11f476cdbb
Merge pull request #1586 from Ms2ger/getCanonicalLocales-Locale
Add a test for passing Intl.Locale objects to Intl.getCanonicalLocales().
2018-06-04 17:01:51 -04:00
Rick Waldron
f71ce6d29a
Merge pull request #1585 from Ms2ger/Locale-branding
Add tests for branding checks in Intl.Locale.prototype members.
2018-06-04 17:01:15 -04:00
Rick Waldron
4d3b688b04
Merge pull request #1577 from tc39/implementation-contributed
Implementation Contributions: Creating initial empty dir for receiving "upstreamed" test material via automaton
2018-06-04 16:59:32 -04:00
Rick Waldron
253bc87bc5
Merge pull request #1560 from tc39/intl-update-iana-subtags-2018-04-23
Intl: Update language subtag data to "IANA language subtag registry, file date 2018-04-23"
2018-06-04 16:22:01 -04:00
Rick Waldron
8e5340a56e
Merge pull request #1501 from apaprocki/date-parse-range
Date.parse breathing test, time value maximum range test
2018-06-04 16:20:07 -04:00
Rick Waldron
b0aff0d2e3
Merge pull request #1574 from Ms2ger/Locale-getter-name
Add tests for the names of getters on Intl.Locale.prototype.
2018-06-04 16:13:47 -04:00
Ms2ger
11e3c5fc00 Add a test for passing Intl.Locale objects to Intl.getCanonicalLocales(). 2018-06-04 18:03:19 +02:00
Ms2ger
326fe2b8ac Add tests for branding checks in Intl.Locale.prototype members. 2018-06-04 17:38:52 +02:00
Rick Waldron
1fbe20290d
Merge pull request #1583 from Ms2ger/Locale-various
Various additions to the Intl.Locale test coverage.
2018-06-04 11:33:03 -04:00
Rick Waldron
3fec2e4f3c
Merge pull request #1582 from Ms2ger/Locale-likely-subtags
Add a test for Locale#{minimize,maximize}.
2018-06-04 11:32:03 -04:00
Rick Waldron
d7ef27346f
Merge pull request #1579 from cxielarko/bigint-tostringtag
Add Object.prototype.toString tests for BigInt.
2018-06-04 10:46:39 -04:00
Rick Waldron
53eebf1e43
Merge pull request #1578 from Aladdin-ADD/patch-1
fix: comparing typeof expression
2018-06-04 10:41:00 -04:00
Ms2ger
501a9a674f Various additions to the Intl.Locale test coverage. 2018-06-04 14:08:28 +02:00
Ms2ger
8ce24bb837 Add a test for Locale#{minimize,maximize}. 2018-06-04 11:27:42 +02:00
Robin Templeton
904d90d0d6 Add Object.prototype.toString tests for BigInt.
Reported by André Bargull in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1464758>.
2018-05-31 15:10:50 -04:00
薛定谔的猫
0fd614f732
fix: comparing typeof expression 2018-05-31 23:27:46 +08:00
Rick Waldron
92003a3e52
Merge pull request #1576 from Ms2ger/pluralCategories
Add a test for pluralrules.resolvedOptions().pluralCategories.
2018-05-29 14:08:41 -04:00
Rick Waldron
c1c60447f3 Intl.Locale: fix typo in assertion message (#1575) 2018-05-29 14:02:28 -04:00
Rick Waldron
5aa5910f6d
Merge pull request #1573 from cxielarko/bigint-stringify-cross-realm
Check that JSON.stringify works with BigInt objects from other realms
2018-05-29 13:52:23 -04:00
Rick Waldron
1513f2ea94 Implementation Contributions: Creating initial empty dir for receiving "upstreamed" test material via automaton 2018-05-29 13:50:10 -04:00
Ms2ger
cd6198b69c Add a test for pluralrules.resolvedOptions().pluralCategories. 2018-05-29 17:34:34 +02:00
Ms2ger
4dbd18197e Add tests for the names of getters on Intl.Locale.prototype. 2018-05-29 15:34:58 +02:00
Robin Templeton
dbf1362cbc Check that JSON.stringify works with BigInt objects from other realms
This is based on André Bargull's test case in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1464757>.
2018-05-28 19:58:02 -04:00
Rick Waldron
a8f7012587 Array.prototype.flatten => Array.prototype.flat (#1569) 2018-05-22 15:47:50 -04:00
Rick Waldron
8579ac0356
Merge pull request #1565 from gibson042/2018-05-LineContinuation
Add tests for LineContinuation in StringLiteral
2018-05-21 15:45:12 -04:00
Rick Waldron
05d634560a
Merge pull request #1564 from caiolima/big-int-string-comparison-missing
Adding prefixed string to compare with BigInt
2018-05-21 15:44:10 -04:00
Rick Waldron
c440a325a2
Merge pull request #1563 from jugglinmike/formalize-async-failure
Formalize asynchronous failure conditions
2018-05-21 15:04:10 -04:00
Richard Gibson
3758f6a97c Add tests for LineContinuation in StringLiteral 2018-05-21 12:19:48 -04:00
Caio Lima
ebe393172f Adding prefixed string to compare with BigInt 2018-05-20 20:24:13 -03:00
Mike Pennisi
51bbcf59be Formalize asynchronous failure conditions
Previously, the error message generated by failed asynchronous tests was
generic and underspecified. Improve the format and explicitly document
it in project's interpreting guidelines.
2018-05-20 15:24:55 -04:00
Rick Waldron
fbccd8eeff Intl: PluralRules, NumberFormat, Number & getCanonicalLocales to use verifyProperty
There's a lot of work like this to do, but not enough time in the day to reach it all.
2018-05-18 12:35:06 -04:00
Rick Waldron
560d9e519c Intl: Update language subtag data to "IANA language subtag registry, file date 2018-04-23"
https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
2018-05-18 11:54:44 -04:00
Rick Waldron
50de5f98ab Intl.Locale: ensure that the expect value is correctly printed in the assertion message 2018-05-17 17:30:48 -04:00
Rick Waldron
a33ccf6bf1
Merge pull request #1558 from Ms2ger/Locale-constructor-options
Improve and extend the tests for ApplyOptionsToTag.
2018-05-17 17:16:57 -04:00
Rick Waldron
bd7b77c17d Intl.Locale: relocate test files 2018-05-17 17:14:01 -04:00
Rick Waldron
ef1d3a4eb6
Merge pull request #1553 from Ms2ger/Locale
Add some more Locale tests.
2018-05-17 17:02:55 -04:00
Nicolò Ribaudo
7ff8d48178 AsyncGeneratorPrototype/*/name.js use "async-iteration", not "generator" (#1556) 2018-05-15 13:52:59 -03:00
Ms2ger
ce8d0520b8 Add some more Locale tests. 2018-05-15 17:27:57 +02:00
Ms2ger
9300187c75 Improve and extend the tests for ApplyOptionsToTag. 2018-05-15 14:37:31 +02:00
Valerie R Young
40883f4c6a Update filename character restriction in documention, linter and a few filenames 2018-05-11 22:19:01 -04:00
Daniel Ehrenberg
8d7dd538f1 Generate tests 2018-05-11 15:48:43 -04:00
Daniel Ehrenberg
89a75a90f6 Add templated tests for new proposed Annex B semantics
These tests are againt a proposed fix for
https://github.com/tc39/ecma262/issues/753

They seem to pass in V8, JSC and SpiderMonkey, though ChakraCore
hews slightly closer to the previous specification.
2018-05-11 15:48:43 -04:00
Rick Waldron
e845e21bf5 Intl.Locale: minor fixups (#1554)
- fix mixed up test & info
- add Symbol feature
- maximize length is 0
- maximize configurability is true
2018-05-11 16:37:52 -03:00
Rick Waldron
b77a262b4c
Merge pull request #1550 from hotsphink/patch-1
Update CONTRIBUTING.md
2018-05-10 14:15:48 -04:00
Rick Waldron
1631fb76d1
Merge pull request #1551 from hotsphink/numident
Add test for numeric literal followed by identifier
2018-05-10 14:14:31 -04:00
Steve Fink
fab08ab7a2 Add test for numeric literal followed by identifier 2018-05-09 15:45:52 -07:00
Steve Fink
ecf176d5ad
Update CONTRIBUTING.md
typo in constructor Test252Error
2018-05-09 15:42:56 -07:00
Rick Waldron
ffc46a667c BigInt: cleanup assertion messages (#1549) 2018-05-09 18:14:09 -03:00
Rick Waldron
c38bf8ba23
Merge pull request #1546 from caiolima/big-int-relational-symbol
Added tests for relational comparison among BigInt and Symbol
2018-05-09 15:42:10 -04:00