Commit Graph

2847 Commits

Author SHA1 Message Date
Mike Pennisi 90c667afd1 fixup! Add tests for parsing behavior 2018-06-17 20:36:55 -04:00
Mike Pennisi c90f799f63 fixup! Normalize coverage 2018-06-17 20:35:28 -04:00
Mike Pennisi d8c5d23965 Extend metadata with `esid` 2018-06-17 20:34:27 -04:00
Mike Pennisi e95c75b6ae Add tests for parsing behavior
Test262 already includes tests to ensure the correct runtime semantics
for these forms. Add equivalent tests designed to verify that the
equivalent parsing behavior is also observed.
2018-06-10 19:59:33 -04:00
Mike Pennisi cd2ffd2233 Simplify tests for runtime semantics
Verify runtime semantics through assignment to an unresolvable
reference, reducing the complexity of tests that previously relied on
the semantics of the `eval` function.
2018-06-10 19:21:12 -04:00
Mike Pennisi 172c494dc2 Normalize coverage
Promote consistency in coverage by adding new tests that correspond to
those that were authored previously.
2018-06-10 19:07:05 -04:00
Mike Pennisi 86a6c08404 Rename tests for clarity 2018-06-10 18:58:23 -04:00
Rick Waldron f90a52b396
Merge pull request #1587 from peterwmwong/update-matchall
Update tests for String.prototype.matchAll
2018-06-07 23:15:50 -04:00
Rick Waldron bb24a3966d
Merge pull request #1589 from mathiasbynens/update-property-escapes-tests-unicode-11
Update RegExp Unicode property escape tests per Unicode 11
2018-06-07 23:13:51 -04:00
Rick Waldron 2f201e5561 TemplateMap: split TemplateMap cache test into own file 2018-06-07 23:12:16 -04:00
Rick Waldron 9388d6ad70
Merge pull request #1581 from WebReflection/master
GetTemplateObject with a unique template object
2018-06-07 22:50:25 -04:00
Rick Waldron f578b8754f NumericLiteralSeparator: Update "early" => "parse" in negative tests. Fixes gh-1512 2018-06-07 22:44:03 -04:00
Rick Waldron c686cc6099 Lint: disallow calls to verifyConfigurable and verifyProperty in same file 2018-06-07 22:38:36 -04:00
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 acf6de15ec intl402/NumberFormat/length.js: remove calls to verifyNotEnumerable, verifyNotWritable, verifyConfigurable. Fixes gh-1591 2018-06-07 22:14:33 -04:00
Rick Waldron cd4371b5a7 Symbol.prototype.description: Assertion messages and additional tests 2018-06-07 22:08:52 -04:00
Rick Waldron 5d58479827
Merge pull request #1590 from joyeecheung/symbol-desc
Add tests for Symbol.prototype.description
2018-06-07 21:21:59 -04:00
Rick Waldron 3d15371689
Merge pull request #1580 from tc39/reflect-keys-ordering
Reflect.ownKeys: order with large integer "index" keys
2018-06-07 21:19:21 -04:00
Joyee Cheung 70b97383a8
test getter on symbols and wrapper objects 2018-06-08 05:36:22 +08:00
Joyee Cheung 28a66ceb75
Use propertyHelper, add more tests, fix getter calls 2018-06-08 04:56:59 +08:00
Joyee Cheung cc53f64325
Add tests for Symbol.prototype.description 2018-06-07 21:39:02 +08:00
Mathias Bynens 85d595effa Update RegExp Unicode property escape tests per Unicode 11
Emoji data is now published as part of the Unicode standard itself, and thus follows the same version number.

Ref. f302c60c84.
Ref. https://github.com/tc39/ecma262/pull/1218.
Ref. https://github.com/tc39/ecma262/issues/1219.
2018-06-07 15:32:41 +02:00
Andrea Giammarchi 7c9469115e GetTemplateObject with a unique template object 2018-06-07 11:31:07 +02: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
Rick Waldron a94b3bf431 Reflect.ownKeys: order with large integer "index" keys 2018-05-31 17:04:27 -04: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