21 Commits

Author SHA1 Message Date
Rick Waldron
d576baf73f Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
Rick Waldron
c644ede430 Built-in function objects that are not identified as constructors must throw a TypeError exception when new'ed. Fixes gh-1739 2020-10-06 12:01:34 -04:00
Rick Waldron
0bf08dff3d built-ins/Math/*: make all indentation consistent (depth & character) (#1435) 2018-02-15 17:35:45 -05:00
André Bargull
f95b56ab28 Revert "js-beautify: make all indentation consistent (depth & character) (#1409)" (#1412)
This reverts commit a01de4a722d088055a7d84d8c691ddd7109edb34.
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
Rick Waldron
92a2621901 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
André Bargull
d59e30c95e Remove execute bit from files (#976) 2017-04-13 16:24:07 -04:00
Leonardo Balter
238f4caa9a Update length descriptor tests for Math properties 2017-03-14 10:50:01 -04:00
Leonardo Balter
f45341ca4e Add and update descriptor tests for Math properties 2017-03-14 10:50:01 -04:00
Leo Balter
e49d2661a8 Improve assertions comparing values to NaN (#690)
The global isNaN is not precise at all, and Number.isNaN is an ES6 feature that makes it preferrable to use assert's sameValue for NaN values, as it handles it internally using the comparison.
2016-07-01 11:22:55 -07:00
Leonardo Balter
080afac906 Update tests for Math.{sign,sin,trunc} 2016-06-27 16:04:17 -04:00
André Bargull
ca61d9b876 Add missing tests for "length" and "name" properties of built-in functions
Note: Already uses the updated DataView function lengths from tc39/ecma262#266 (ES2016 Draft 2015-12-20)
2016-01-15 18:12:05 +01:00
André Bargull
33a7e03a76 Replace runTestCase with assert helpers [test/built-ins/Math] 2015-08-06 18:26:26 +02:00
André Bargull
023c7aa69e - Remove inline license
- Remove duplicate word
- Add missing license
2015-07-17 19:55:00 +02:00
Brian Terlson
a1437652ab Merge pull request #313 from evilpie/includes
Use the more common array syntax for includes
2015-06-11 12:07:48 -04:00
Tom Schuster
64fd1026dd Use the more common array syntax for includes 2015-06-10 14:56:16 +02:00
Mike Pennisi
f2cc736d94 Remove remaining includes for assert.js helper 2015-06-09 15:00:00 -04:00
Erik Arvidsson
d28af4b101 No need to include asserts.js 2015-06-09 14:49:04 -04:00
Suwei Chen
b6e870d236 Add new tests for Math built-ins 2015-05-14 15:04:00 -07:00
Rick Waldron
cda3ec74a1 ES6-specific tests: es5id=>es6id, new es6id entries. Closes gh-144 2015-02-12 16:36:13 -05:00
Brian Terlson
2a74f0ec1b Reorganize ./test 2014-12-07 15:33:09 -08:00