Commit Graph

2055 Commits

Author SHA1 Message Date
Rick Waldron 6c50d46b39 built-ins/BigInt/*: make all indentation consistent (depth & character) (#1418) 2018-02-15 15:57:16 -05:00
Rick Waldron 4b5f07a9ff built-ins/DataView/*: make all indentation consistent (depth & character) (#1416) 2018-02-15 15:55:14 -05:00
Rick Waldron a7ab6b4fd5 built-ins/Boolean/*: make all indentation consistent (depth & character) (#1417) 2018-02-15 15:54:27 -05:00
Rick Waldron 93d0256d87 built-ins/ArrayBuffer/*: make all indentation consistent (depth & character) (#1421) 2018-02-15 15:54:16 -05:00
Rick Waldron 319a5bdb08 built-ins/SharedArrayBuffer/*: make all indentation consistent (depth & character) (#1426) 2018-02-15 15:51:40 -05:00
Rick Waldron b85474508c built-ins/decode/* - built-ins/eval/*: make all indentation consistent (depth & character) (#1423) 2018-02-15 15:50:18 -05:00
Rick Waldron 1b30a976e8 built-ins/Function/*: make all indentation consistent (depth & character) (#1424)
This intentionally skips test/built-ins/Function/prototype/toString/*
2018-02-15 15:49:19 -05:00
Rick Waldron f574680595 built-ins/Symbol/*: make all indentation consistent (depth & character) (#1425) 2018-02-15 15:41:33 -05:00
Rick Waldron bc70e0339f built-ins/ThrowTypeError/*: make all indentation consistent (depth & character) (#1427) 2018-02-15 15:41:09 -05:00
Rick Waldron 621d34d5ea built-ins/WeakMap/*: make all indentation consistent (depth & character) (#1428) 2018-02-15 15:40:46 -05:00
Rick Waldron e0db75f74b built-ins/Reflect/*: make all indentation consistent (depth & character) (#1429) 2018-02-15 15:40:15 -05:00
Rick Waldron 19ca734bea built-ins/String/*: make all indentation consistent (depth & character) (#1430) 2018-02-15 15:39:13 -05:00
Rick Waldron af37c92af7 built-ins/Set/*: make all indentation consistent (depth & character) (#1431) 2018-02-15 15:34:45 -05:00
Rick Waldron a61b9cd671 built-ins/Object/*: make all indentation consistent (depth & character) (#1432) 2018-02-15 15:33:45 -05:00
Rick Waldron dedd68020b built-ins/Atomics/*: make all indentation consistent (depth & character) (#1442) 2018-02-15 15:26:13 -05:00
Rick Waldron e1f4ced053 built-ins/Generator*: make all indentation consistent (depth & character) (#1441) 2018-02-15 15:25:56 -05:00
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 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
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 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