Commit Graph

4303 Commits

Author SHA1 Message Date
Gus Caplan 47f8c1c976 add more missing feature flags 2020-02-13 10:36:42 -05:00
Gus Caplan 505949357b Fix call to $DONE 2020-02-08 08:55:38 -05:00
Gus Caplan 5b231ab2d6 add missing WeakSet and WeakMap features 2020-02-08 08:54:09 -05:00
Rick Waldron 811090fce2 Fix: \$DONE() must not be called with an argument, unless the argument is an error. 2020-02-07 12:24:43 -05:00
Jordan Harband 0ebbdf0395 `Promise.prototype.finally` thunks have a length of 0 2020-02-07 11:44:31 -05:00
Natalie Silvanovich 5c9b5ed610 Updating description for search element test 2020-02-06 12:43:52 -05:00
Natalie Silvanovich 07e708d900 TypedArray includes tests 2020-02-06 12:43:52 -05:00
test262-automation 2be0866895 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: ddf72e4b targetRevisionAtLastExport: 8d9f7690f8
2020-02-06 12:05:47 -05:00
Natalie Silvanovich 7ad85e90a9 Security test for TypedArray.prototype.sort based on CVE-2016-7288 2020-02-06 11:10:17 -05:00
Ms2ger 1f7f5ef23c Change the unit in the NumberFormat unit tests.
This ensures https://github.com/tc39/proposal-unified-intl-numberformat/pull/93 is covered.
2020-02-06 11:09:18 -05:00
Caio Lima 6ecaf1f065 Adjusting separator character 2020-02-05 15:11:25 -05:00
Caio Lima 2e6a371f71 Adding missing 'zip' function 2020-02-05 15:11:25 -05:00
Caio Lima 1337f11e21 Adding tests to cover 'fractionalSecondDigits' on DateTimeFormat.prototype.formatRangeToParts. 2020-02-05 15:11:25 -05:00
Alexey Shvayka 72c4433687 Add `replaceValue` evaluation order test 2020-02-05 15:08:07 -05:00
Alexey Shvayka 946a2a3fec Merge "length" tests 2020-02-05 15:08:07 -05:00
Tooru Fujisawa e756399793 Add test for NumericLiteralSeparator after decimal point followed by DecimalDigit 2020-02-05 15:06:46 -05:00
Alexey Shvayka 57d5ffa471 Fix $DONE usage 2020-02-05 15:05:51 -05:00
Alexey Shvayka c5b1c97362 Fix isConstructor checks 2020-02-05 15:05:51 -05:00
Alexey Shvayka b3ec56fb8c Add CreateResolvingFunctions tests 2020-02-05 15:05:51 -05:00
Alexey Shvayka 8ce27898b9 Add Then Finally Functions test 2020-02-05 15:05:51 -05:00
Alexey Shvayka 1e13f2b1e7 Add Catch Finally Functions test 2020-02-05 15:05:51 -05:00
Alexey Shvayka 95fd012c66 Add isConstructor to Promise.prototype.finally test 2020-02-05 15:05:51 -05:00
Natalie Silvanovich a12677ec4c Adding security tests for TypedArray.prototype.fill based on CVE-2016-4734 2020-02-05 15:04:06 -05:00
Natalie Silvanovich c2e157240d Test that Typed Array internal slots are not inherited by TypedArray.prototype.buffer 2020-02-05 14:31:10 -05:00
Alexey Shvayka 963917618f Test that JSON.stringify calls replacer on deleted properties 2020-02-05 14:25:04 -05:00
Tomas Echeverri Valencia 6d4d69f19f Add missing `?` in unit test (#2477)
The question mark is required as it is part of the "optional chaining operator" `?.` that's being tested here
2020-01-24 14:22:34 -05:00
Caio Lima 04b1d2254b Added tests with invalid values for calendar and numberingSystem (#2480) 2020-01-24 14:21:33 -05:00
Alexey Shvayka 4383f2c6ba Add Object.{freeze,preventExtensions,seal} abrupt completion tests (#2468)
* Add Object.freeze test

* Add Object.preventExtensions test

* Add Object.seal test
2020-01-14 11:31:45 -05:00
Ms2ger 28b4fcca4b Add tests for the numberingSystem option to RelativeTimeFormat. (#2459)
* Add tests for the numberingSystem option to RelativeTimeFormat.

* fixup! Add tests for the numberingSystem option to RelativeTimeFormat.
2020-01-08 16:29:13 -05:00
Ms2ger 87ac236324 Add a specific test for relatedYear output. (#2458)
Based on <https://cs.chromium.org/chromium/src/v8/test/intl/date-format/related-year.js>.

Fixes #2332.
2020-01-08 16:27:39 -05:00
Lo̹̫̦̥̬̜͈͝n̗͚̼̤ĝ̮̫͎̬̬͕̪ͫ̐̕ ͭ̊H̱̏ͬ̃ͨ̆͗o̱͚͉͉̖̰̪ͯ̈ͪ̈̎̚ cd6db88295 Fix toNumber consistency issue with boolean (#2456)
As per https://tc39.es/ecma262/#table-11 `toNumber(false)` is supposed to be `+0`
2020-01-08 16:24:19 -05:00
Ms2ger 2fb0eca404 More tests for Unified NumberFormat. (#2454) 2020-01-08 16:23:01 -05:00
Ross Kirsling 01007880bc Add test verifying offsetless date-time string is local time. (#2461)
* Add test verifying offsetless date-time string is local time.

* Fix copyright year.
2020-01-08 15:32:28 -05:00
Ross Kirsling 623e9d199a Add tests for Array methods throwing with string receiver. (#2463) 2020-01-08 14:00:30 -05:00
Leo Balter 6e4d442cc6
Fix syntax typos + whitespace (#2466)
Ref #2444
2020-01-08 13:57:49 -05:00
Natalie Silvanovich 65afdfbff6 Additional tests for TypedArray copyWithin (#2444) 2020-01-08 13:26:40 -05:00
Leo Balter 20ca8e3568
Merge pull request #2465 from bocoup/eval-param-only-sloppy
Test cases for new ReferenceError: remove class tests and add no-strict
2020-01-08 12:58:40 -05:00
Valerie Young 55b28c166f Generate tests 2020-01-08 09:30:47 -08:00
Valerie Young a47ccfe989 Add no-strict function error templates 2020-01-08 09:23:39 -08:00
Leo Balter 9b426e3e2b
Merge pull request #2464 from ljharb/super_evaluation_order
super evaluation order tests
2020-01-07 14:57:19 -05:00
Leo Balter 40884c1195
Merge pull request #2460 from syg/nostrict-eval-redecl
Flag sloppy eval in parameter initializer tests as noStrict
2020-01-06 16:47:25 -05:00
Jordan Harband 5cb381cbe0
super evaluation order tests
For https://github.com/tc39/ecma262/pull/1775
2020-01-06 11:15:26 -08:00
Shu-yu Guo 68352eb8b5 Flag sloppy eval in parameter initializer tests as noStrict 2020-01-03 15:36:51 -08:00
Leo Balter 157b18d16b
Merge pull request #2447 from bocoup/eval-param-ref-error
Add test case for new ReferenceError after removal of per-parameter position var scope
2019-12-23 13:39:26 -05:00
Shu-yu Guo 27bda64012 Update tests for removal of per-parameter position var scope (#2445)
See https://github.com/tc39/ecma262/pull/1046
2019-12-23 13:36:09 -05:00
Valerie Young 6281e227f5 generated test files 2019-12-23 13:33:25 -05:00
Valerie Young b383fc32ed Change in eval var scope introduces ReferenceError 2019-12-23 13:10:02 -05:00
Frank Yung-Fong Tang 31f1bb5a75 Remove date related types for Intl.DisplayNames (#2448) 2019-12-23 13:07:36 -05:00
Gus Caplan 502cc20010 fix delete test, add error tests, fix lint (#2453) 2019-12-21 16:57:41 -05:00
Alexey Shvayka 19fd4bea79 Improve Object.prototype.isPrototypeOf coverage (#2446) 2019-12-18 21:33:31 -05:00