Rick Waldron
7c66f39f41
built-ins/JSON/*: make all indentation consistent (depth & character) ( #1440 )
2018-02-15 15:25:45 -05:00
Rick Waldron
ff4f13099c
built-ins/Infinity, NaN, undefined: make all indentation consistent (depth & character) ( #1439 )
2018-02-15 15:25:35 -05:00
Rick Waldron
6e7ba5060c
built-ins/global/*: make all indentation consistent (depth & character) ( #1438 )
2018-02-15 15:25:21 -05:00
Rick Waldron
7108616b8e
built-ins/parseInt, parseFloat/*: make all indentation consistent (depth & character) ( #1437 )
2018-02-15 15:12:07 -05:00
Rick Waldron
9a211b1c9f
built-ins/Number/*: make all indentation consistent (depth & character) ( #1436 )
2018-02-15 15:11:50 -05:00
Rick Waldron
4fd36e7f1d
built-ins/Proxy/*: make all indentation consistent (depth & character) ( #1434 )
2018-02-15 15:11:36 -05:00
Rick Waldron
133dfa8793
built-ins/Promise/*: make all indentation consistent (depth & character) ( #1433 )
2018-02-15 15:11:21 -05:00
Leo Balter
8d54ea55ad
Merge pull request #1443 from tc39/async-iteration-builtins
...
async-iteration: add tests for AsyncGenerationFunction and AsyncIteratorPrototype built-in
2018-02-15 10:56:19 -05:00
Leo Balter
832542844c
s/es6id/esid
2018-02-15 10:46:28 -05:00
Valerie R Young
14d7bfeda2
async-iteration: add tests for AsyncIteratorPrototype
2018-02-15 10:45:13 -05:00
Valerie R Young
510d6b7f44
async-iteration: add tests for AsyncGenerationFunction
2018-02-15 10:45:13 -05:00
Jeff Walden
a19993e269
Add tests for the behavior of INT32_MIN (-2147483648) as exponent with the exponentiation operator and with Math.pow (which shares the same core algorithm in the spec, but might be differently implemented in actual implementations). ( #1445 )
2018-02-14 17:02:39 -05:00
Rick Waldron
8342824894
built-ins/AsyncFunction/*: make all indentation consistent (depth & character)
2018-02-13 14:35:02 -05:00
Amal Hussein
66eaf57f88
added coverage for built-in Map spec to ensure that a TypeError is thrown when Symbol.iterator is undefined ( #1444 )
2018-02-13 11:36:10 -05:00
Adrian Heine
2fb8eca677
Fix typo intialize(r) -> initialize(r)
2018-02-12 10:05:52 -05:00
André Bargull
f95b56ab28
Revert "js-beautify: make all indentation consistent (depth & character) ( #1409 )" ( #1412 )
...
This reverts commit a01de4a722
.
2018-02-09 12:09:47 -05:00
Rick Waldron
a01de4a722
js-beautify: make all indentation consistent (depth & character) ( #1409 )
2018-02-09 11:35:37 -05:00
jugglinmike
7b01f9799f
[generation] Tolerate unicode in source files ( #1411 )
2018-02-09 11:27:33 -05:00
Yusuke Suzuki
18c1e799a0
Prefer spaces to tabs if it is not syntax related tests
...
This patch changes tabs to spaces for newly added tests.
2018-02-08 13:32:42 -05:00
Leo Balter
6d5a7adf4e
Fix ToNumber operations
2018-02-08 11:13:54 -05:00
Rick Waldron
12797840ae
features: [numeric-separator-literal]
2018-02-08 11:13:54 -05:00
Leo Balter
53c00784b6
Revert "Revert "Tests for NumericSeparatorLiteral. Closes gh-1051" ( #1188 )"
...
This reverts commit 8422147c17
.
2018-02-08 11:13:54 -05:00
Daniel Ehrenberg
d5fc8b25af
Test for change to cache templates by site, not contents ( #972 )
...
* Test for change to cache templates by site, not contents
These tests are against a specification change based on discussion in
https://github.com/tc39/ecma262/issues/840
The tests here passed on SpiderMonkey but failed on other
implementations, which implement the current specification.
* Add a test that caching is by source location, not function identity
* Update existing tests to reference the spec properly
2018-02-05 14:40:19 -05:00
Leo Balter
31dfa8761a
Merge pull request #1404 from jugglinmike/refactor-for-parsers-function
...
Refactor function literal tests for parsers
2018-02-05 11:44:03 -05:00
Mike Pennisi
1d96e25784
Refactor function literal tests for parsers
...
A number of tests for the parsing of function literals 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-02-03 23:25:41 -05:00
Mike Pennisi
6dafe71f1a
Improve file names
2018-02-03 23:15:40 -05:00
André Bargull
82c6148980
Add missing closing parenthesis and remove invalid async flag ( #1402 )
2018-02-01 14:04:51 -05:00
Jordan Harband
03da22868a
Promise.prototype.finally: add more tests
...
- per https://github.com/tc39/ecma262/pull/1083#issuecomment-361775023
2018-01-30 20:47:35 -05:00
André Bargull
1989f0fe6d
Add test case for tc39/ecma262#1009 ( #1240 )
2018-01-30 10:29:19 -05:00
Zirak
1bcb4fc2ef
Fix typo in comments (Standart -> Standard)
2018-01-29 09:51:13 -05: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