Commit Graph

2746 Commits

Author SHA1 Message Date
Zirak 1bcb4fc2ef Fix typo in comments (Standart -> Standard) 2018-01-29 09:51:13 -05:00
Jordan Harband e15be1853b
String.prototype.matchAll: add tests for stage 3
`RegExp.prototype[Symbol.matchAll]`: Add basic tests.
2018-01-25 23:45:12 -08:00
Mathias Bynens 6fa2525107 [string-trimming] Fix whitespace tests
This patch fixes a typo (`\FEFF` → `\uFEFF`) and adds some missing whitespace symbols as a follow-up to https://github.com/tc39/test262/pull/1246.
2018-01-25 17:32:06 -05:00
Rick Waldron 966dfb4cd0 String.prototype.trimEnd,trimStart: add feature (per new convention) 2018-01-25 14:38:51 -05:00
Rick Waldron 2d80b92cb8 features.txt: use new convention 2018-01-25 14:37:48 -05:00
Rick Waldron 6f59ddc457 Fix annex B tests 2018-01-25 14:37:36 -05:00
Valerie R Young 05d1ddf670 Fixup edit to info 2018-01-25 14:10:41 -05:00
Valerie R Young 56d57956a0 Add this value object testing to trimEnd 2018-01-25 14:10:41 -05:00
Valerie R Young 2b7df61dd6 Fixup typos 2018-01-25 14:10:41 -05:00
Valerie R Young 524f545f3d Add reference tests for trimLeft and trimRight 2018-01-25 14:10:40 -05:00
Valerie R Young 828c8031ef Add tests for object to primitive returns object errors 2018-01-25 14:10:40 -05:00
Valerie R Young 7c0053358a Add tests for object to primitive method errors 2018-01-25 14:10:40 -05:00
Valerie R Young 94325316be Add tests for object to primitive call errors 2018-01-25 14:10:40 -05:00
Valerie R Young f945473767 Add test of object without to primitive functionality 2018-01-25 14:10:40 -05:00
Valerie R Young 232eec1f3b Completely rewrite ToPrimitive method priority testing 2018-01-25 14:10:40 -05:00
Valerie R Young fc86cef984 fix typos 2018-01-25 14:10:40 -05:00
Valerie R Young 6501563705 Add ToPrimitive method priority testing 2018-01-25 14:10:40 -05:00
Valerie R Young bdcb73ae27 Add tests for sucessful whitespace removing 2018-01-25 14:10:40 -05:00
Valerie R Young 55c39cc58b Add feature: string-trimming 2018-01-25 14:10:40 -05:00
Valerie R Young 583a67af4c Add number tests for trim(Start/End) 2018-01-25 14:10:14 -05:00
Valerie R Young 812e071f03 fixup: Add boolean/Symbol() tests for trim(Start/End) 2018-01-25 14:10:14 -05:00
Valerie R Young fdf8e8bd3f Fixup: Add object coercible tests for trim(start/End) 2018-01-25 14:10:14 -05:00
Valerie R Young 2905e6a293 fixup: Add initial tests for trim(Start/End/Left/Right) 2018-01-25 14:10:14 -05:00
Valerie R Young 0c796ea88b Add boolean/Symbol() tests for trim(Start/End) 2018-01-25 14:10:14 -05:00
Valerie R Young 3f42003974 Add object coercible tests for trim(start/End) 2018-01-25 14:10:14 -05:00
Valerie R Young 5931e313fc Add initial tests for trim(Start/End/Left/Right) 2018-01-25 14:10:14 -05:00
André Bargull 40a7bd2401 Add test cases for tc39/ecma402#194 2018-01-25 14:04:44 -05:00
Jordan Harband 7c5b5bf750 Promise.prototype.finally: add missing tests
Per:
 - https://github.com/tc39/test262/issues/866#issuecomment-328565337
 - https://github.com/tc39/test262/issues/866#issuecomment-359978873

Closes #866.
2018-01-25 14:03:28 -05:00
Robin Templeton 8b71c5fea5 Atomics tests for BigInt 2018-01-25 14:01:33 -05:00
Mike Pennisi baa5d94bc5 Refactor object initializer tests for parsers
A number of tests for the parsing of object initializers were expressed
using `eval`. This made the tests more complex than necessary and also
prevented the tests from providing value to ECMAScript parsers.

Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text.
2018-01-25 14:01:06 -05:00
Josh Wolfe 4455b1017e remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
Josh Wolfe 9d066a8181 Order of evaluation tests for infix numeric operators 2018-01-25 14:00:43 -05:00
Josh Wolfe 186ec5d177 BigInt and Number type mismatch tests for infix operators 2018-01-25 14:00:10 -05:00
Viktor f9d8b29ae4 A fix for the copyright 2018-01-25 13:59:50 -05:00
André Bargull cbe12a53e1 Remove duplicate esids 2018-01-25 13:59:37 -05:00
André Bargull 79283bd80f Add missing 'SharedArrayBuffer' feature tag 2018-01-25 13:59:37 -05:00
André Bargull f717982c94 Remove unused includes 2018-01-25 13:59:37 -05:00
André Bargull 658f19005b assert.compareArray does not perform deep-equality comparison 2018-01-25 13:59:37 -05:00
André Bargull 8b50602099 Replace Annex-B __proto__ with Object.[gs]etPrototypeOf 2018-01-25 13:59:37 -05:00
André Bargull f3911d7ae4 Update remaining tests to use 'parse' instead of 'early' error phase 2018-01-25 13:59:37 -05:00
André Bargull 0ec5b02ac6 Add test case for tc39/ecma402#204 2018-01-25 13:59:15 -05:00
Jordan Harband 5b3914a37b
String.prototype.matchAll: add tests for stage 3
`String.prototype.matchAll`: Add basic tests.
2018-01-25 00:25:10 -08:00
Rick Waldron 2cb0028bf1 Rename sec-delete-operator test, mark non-obvious syntax 2018-01-17 12:47:44 -05:00
Mike Pennisi c4e02a7a65 fixup! Refactor DeleteExpression tests for parsers 2018-01-17 12:35:12 -05:00
Mike Pennisi cae69a9775 Refactor DeleteExpression tests for parsers
A number of tests for the parsing of the DeleteExpression production
were expressed using `eval`. This made the tests more complex than
necessary, and also prevented the tests from providing value to
ECMAScript parsers.

Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text. Remove superfluous tests which
only differed in the runtime semantics of source text that could not be
evaluated due to syntax errors.
2018-01-17 12:35:12 -05:00
Rick Waldron cc94370eb9 Frontmatter nits 2018-01-17 12:32:11 -05:00
Viktor 290cef061c Create non-integer-values.js 2018-01-17 12:02:19 -05:00
Rick Waldron b7afd3d00d Frontmatter: updates to ForIn/OfBodyEvaluation tests 2018-01-11 10:47:10 -05:00
Rick Waldron d7b5715e6c Fix: various lint fixes 2018-01-11 10:21:08 -05:00
Rick Waldron 7d9cb55345 Features: Object.is 2018-01-11 10:20:50 -05:00