Alexey Shvayka
ce74c5f52d
Test BigInt wrapper object
2021-04-20 09:58:16 -04:00
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
8aacff591c
Standardize built-in constructor testing
2020-10-06 12:01:34 -04:00
Rick Waldron
12ed905003
Clean up some existing constructor checks; eliminate duplicate checks
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
1d142259bc
*.prototype.toString(), a-z make radix loop condition inclusive of radix 36
2020-05-13 09:22:25 -04:00
Rick Waldron
eff5ba2c98
BigInt/Number.prototype.toString(...), Step 6
2020-05-08 12:16:16 -04:00
Robin Templeton
efa414ae00
Add tests for calling BigInt functions with fewer arguments than required ( #2075 )
2019-02-19 13:25:25 -05:00
Rick Waldron
6e836cea56
Eliminate false positives: BigInt
2018-11-30 11:34:13 -05:00
André Bargull
a1faccdd41
Fix various test bugs
...
- "CannotSuspendMainAgent" feature was changed to "CanBlockIsFalse" flag
- Move annex-b tests into annex-b directory
- Update variable names in nonshared-int-views.js tests
- Move getReport() call in nan-for-timeout.js to avoid iloop
- Update BigInt constructor to match new semantics (tc39/proposal-bigint#138 )
2018-04-24 09:52:35 -07:00
Rick Waldron
cd6305155b
BigInt: additional info frontmatter. Validated features ( #1518 )
2018-04-18 16:56:06 -04:00
Rick Waldron
14931c923f
Merge pull request #1516 from cxielarko/tostring-default-radix
...
test BigInt toString with default radix
2018-04-18 16:21:39 -04:00
Rick Waldron
119c8eadfa
Merge pull request #1517 from cxielarko/valueof-realm
...
cross-realm test for BigInt.prototype.valueOf
2018-04-18 16:19:49 -04:00
Robin Templeton
5be8900d6b
cross-realm test for BigInt.prototype.valueOf
...
Thanks to Jeff Walden for suggesting this test case.
2018-04-17 20:50:05 -04:00
Robin Templeton
6d4b9a55f1
test BigInt toString with default radix
...
Thanks to Jeff Walden for suggesting this test case.
2018-04-17 20:25:35 -04:00
Robin Templeton
bf1b79d65a
remove IsSafeInteger checks for BigInt
2018-04-16 13:29:03 -04:00
Rick Waldron
ce9419779f
typed-arrays/bigint: fixes per recommendation. ( #1473 )
...
Fixes gh-1467
2018-03-06 15:14:11 -05:00
Rick Waldron
6c50d46b39
built-ins/BigInt/*: make all indentation consistent (depth & character) ( #1418 )
2018-02-15 15:57:16 -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
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
Josh Wolfe
5730f10114
generate some type coercion tests
2017-12-21 16:40:18 -05:00
Daniel Ehrenberg
cb84893f93
Add a test that BigInt does not have a parseInt function
2017-12-21 15:16:22 -05:00
Daniel Ehrenberg
422f91e8fd
Remove BigInt.parseInt tests
...
BigInt.parseInt will be removed in
https://github.com/tc39/proposal-bigint/pull/101
This patch removes the associated test262 tests.
2017-12-21 15:16:22 -05:00
André Bargull
8311965251
Fix copy-paste bugs in BigInt tests ( #1361 )
2017-12-01 14:16:43 -05:00
Caio Lima
dd72bf0d26
Added case when Object has valueOf and toString
2017-11-17 00:22:13 -02:00
Caio Lima
349baebc01
Added missing cases into BigIntConstructor and String parameters
2017-11-17 00:11:27 -02:00
Leo Balter
27e2c28d13
Merge pull request #1334 from anba/test-issues
...
Fix multiple test issues
2017-11-01 13:42:58 -04:00
André Bargull
b3fc8482fb
Remove empty line after | to fix monkeyYaml parsing issue
...
Fixes #1312
2017-11-01 08:23:43 -07:00
André Bargull
26b3015f33
Fix expected value for BigInt.prototype.toString.length
...
Fixes #1306
2017-11-01 08:23:42 -07:00
Rick Waldron
350d2c70bf
Merge pull request #1302 from rwaldron/bigint-fixups
...
Bigint fixups
2017-11-01 09:20:23 -04:00
Leo Balter
21b7e4a7bd
Add missing parameter and reorder actual, expected assertion parameters ( #1326 )
2017-10-30 11:22:13 -04:00
Leo Balter
f8456c6dac
s/assertEquals/assert.sameValue/g ( #1324 )
...
Ref f1602088e6 (commitcomment-25237057)
2017-10-27 12:20:34 -04:00
Daniel Ehrenberg
d88d1fb2dd
BigInt: Add test for BigInt.prototype[Symbol.toStringTag]
...
Tests the fix for https://github.com/tc39/proposal-bigint/issues/92
2017-10-26 15:06:46 +02:00
Rick Waldron
f1b576af51
BigInt: BigInt .toString() returns only decimal digits, does not include BigIntLiteralSuffix
2017-10-19 11:53:18 -04:00
Rick Waldron
a7fbcf3d9a
BigInt: BigInt(Number.MAX_SAFE_INTEGER) & BigInt(-Number.MAX_SAFE_INTEGER)
2017-10-18 17:14:05 -04:00
Rick Waldron
08a967c8a4
BigInt: NaN is tested in nan-throws-rangeerror.js
2017-10-18 17:08:13 -04:00
Rick Waldron
e2e534b210
BigInt: NewTarget tests shouldn't include anything reaches step 2
2017-10-18 17:07:33 -04:00
Robin Templeton
72fb638ca7
BigInt.parseInt tests ( #1208 )
...
* BigInt.parseInt tests
* update for PR#1208
* fix copyright notices
2017-10-17 12:40:22 -04:00
Robin Templeton
0d44bc821d
[BigInt] constructor, name, length properties
2017-10-16 12:55:56 -04:00
Leo Balter
b77af3aa0f
Update tests for BigInt.prototype.toString
2017-10-12 16:19:46 -04:00
Robin Templeton
8ca8f06ba1
BigInt.prototype.toString
2017-10-12 15:13:52 -04:00
Leo Balter
9737a5ff73
Improve tests for BigInt.prototype.valueOf ( #1256 )
...
* Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
2017-10-03 16:51:07 -04:00
Robin Templeton
5f338a30a1
Add tests for BigInt.prototype.valueOf ( #1234 )
...
* BigInt valueOf tests
* add features from typeCoercion.js
2017-10-02 16:13:09 -04:00
Josh Wolfe
781388bddf
fix copypaste error
2017-09-21 11:42:23 -07:00
Josh Wolfe
dafde72971
BigInt.asUintN tests
...
* typeCoercion.js supports ToIndex
* typeCoercion.js supports ToBigInt
* updated BigInt.asIntN type coercion tests to use typeCoercion.js
2017-09-12 18:38:29 -07:00
Josh Wolfe
443b15e43e
Add tests for BitInt.asIntN ( #1191 )
2017-09-06 13:52:08 -04:00
André Bargull
ed2093b5f0
Add features flag for BigInt to the only test missing it
2017-09-05 11:18:06 -04:00
Leo Balter
7765873c3e
Refactor tests for the BigInt construtor
2017-08-25 15:56:11 -04:00
Robin Templeton
37beb36524
add BigInt tests
2017-08-24 15:58:14 -04:00