Commit Graph

4821 Commits

Author SHA1 Message Date
Rick Waldron eff5ba2c98 BigInt/Number.prototype.toString(...), Step 6 2020-05-08 12:16:16 -04:00
Rick Waldron 914ab0280c Atomics.waitAsync: prevent in-agent tests from hanging by checking for Atomics.waitAsync at start of test 2020-05-08 10:01:32 -04:00
Shu-yu Guo f1b0a1e270 Fix testing for throw in an iterator via yield* throws
IsHTMLDDA is specified in INTERPRETING.md to return null on [[Call]]
when called with no arguments or with single argument "". Return null
causes the iterator protocol to throw.

Also see star-iterable-return-emulates-undefined-throws-when-called.js
2020-05-06 11:58:52 -04:00
Alexey Shvayka 1fccea4471 Object.prototype.hasOwnProperty: Test coercion order 2020-05-06 11:56:49 -04:00
Alexey Shvayka 8a3fe5318d Merge "length" tests & refactor using propertyHelper.js harness 2020-05-06 11:56:49 -04:00
Adrian Heine f2bc400f98 Add missing tests for export-star-as-ns-from-module 2020-05-06 11:56:17 -04:00
Mathias Bynens b005b63273 Correct descriptions w.r.t. identifier start/part characters
Ref. https://github.com/mathiasbynens/caniunicode/issues/3.
2020-05-06 11:54:16 -04:00
Alexey Shvayka 1c3d1e3026 Object.prototype.toString: Improve revoked Proxy coverage 2020-05-06 11:51:46 -04:00
Mårten Nordheim 9da54d053d Fix #2605; make safe-integer.js call isSafeInteger
The folder and file name implies it should be using isSafeInteger rather
than isInteger which it was using.
2020-05-06 10:51:31 -04:00
Marja Hölttä 429c60ec38 fix 2020-05-06 10:48:38 -04:00
Marja Hölttä 4be59efd30 fix 2020-05-06 10:48:38 -04:00
Marja Hölttä affe579677 fix 2020-05-06 10:48:38 -04:00
Marja Hölttä 58dba42939 Add Promise/*/resolve-not-callable-close.js 2020-05-06 10:48:38 -04:00
Alexey Shvayka 6a18c27ca1 Generate test files from templates 2020-04-29 17:33:10 -04:00
Alexey Shvayka 10a8c0420e Test throw() called w/o arguments 2020-04-29 17:33:10 -04:00
Alexey Shvayka 75a0c1bfad Test return() called w/o arguments 2020-04-29 17:33:10 -04:00
Gus Caplan 4d9dccf443 Remove invalid feature, fix lint 2020-04-29 17:31:45 -04:00
Frank Yung-Fong Tang 850c65317f Revert "Correct the expectation of zh-Hant"
This reverts commit e8dfe549a8.
2020-04-29 17:22:28 -04:00
Alexey Shvayka fd90d58f05 Change `alphanum` to character class
Co-Authored-By: Ross Kirsling <rkirsling@gmail.com>
2020-04-29 17:22:05 -04:00
Alexey Shvayka d3b3e5e586 Make `alphanum` a non-capturing group 2020-04-29 17:22:05 -04:00
Alexey Shvayka 4371e3ae36 Remove unnecessary capture group 2020-04-29 17:22:05 -04:00
Alexey Shvayka af05e8e4f7 Revert "Simplify alphanum regex in testIntl.js"
This reverts commit d57bd9d4bd.
2020-04-29 17:22:05 -04:00
Alexey Shvayka a3c7d30cbb Add AsyncGeneratorFunction test 2020-04-26 16:19:25 -04:00
Alexey Shvayka 69de665a62 Add GeneratorFunction test 2020-04-26 16:19:25 -04:00
Alexey Shvayka 43bc9f1465 Add Function test 2020-04-26 16:19:25 -04:00
Frank Yung-Fong Tang e8dfe549a8 Correct the expectation of zh-Hant
It is incorrect to expect the minimize result of "zh-Hant" to be "zh-TW". It should be "zh-Hant". Why?

first, what we have in input for zh-Hant
lang = zh
region = [none]
script = Hant 

Now, look at the AddLikelySubtags algorithm in http://www.unicode.org/reports/tr35/#Likely_Subtags
2020-04-25 18:52:46 -04:00
Shu-yu Guo 76b38918a8 Correctly tag AggregateError proto-from-ctor-realm test 2020-04-25 18:51:44 -04:00
Frank Yung-Fong Tang c3e980addf correct style-short.js 2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang df861e4bbc correct style-narrow.js 2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang d6c1b361c8 style-long.js 2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang 17fe569a5e correct style-short.js 2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang 81de828140 correct style-narrow.js 2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang 79c1818a68 Correct pl-pl*.js test for minimumGroupingDigits
pl has minimumGroupingDigits{"2"} in locale data according to CLDR
therefore there should be no \u00a0 between 1 and 000

Close https://github.com/tc39/test262/issues/2589
2020-04-25 18:48:40 -04:00
Alexey Shvayka 39ed5d9d68 Add object rest destructuring test 2020-04-25 18:45:48 -04:00
Alexey Shvayka b08380c723 Add object spread test 2020-04-25 18:45:48 -04:00
Alexey Shvayka c9ce3be95d Add Object.seal test 2020-04-25 18:45:48 -04:00
Alexey Shvayka feaa555fc3 Add Object.isSealed test 2020-04-25 18:45:48 -04:00
Alexey Shvayka a65d0bfb42 Add Object.isFrozen test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 521446b36b Add Object.freeze test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 07ff2ffa4a Add Object.defineProperties test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 56cbc61e42 Add Object.getOwnPropertyDescriptors test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 2183fa7e4e Add Object.assign test 2020-04-25 18:45:48 -04:00
Frank Yung-Fong Tang 0942fe16ae correct comments 2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang 9b54c22e10 correct comments 2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang aabf688371 correct comment 2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang e72a96572b Change the compareArray to allow new property
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang 21440c733c Change compareArray to allow new property
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang fc55e45698 Change the compareArray to allow new property
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang 8ad12251ae Change compareArray to allow new property
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang 4fb0e70db0 add "fractionalSecondDigits" 2020-04-25 18:43:48 -04:00