Jordan Harband
eb613f6891
use proper isConstructor check for recently added ArrayBuffer/SharedArrayBuffer tests
2023-08-25 15:31:27 +02:00
André Bargull
8ce9864511
Add copy of transfer/transferToFixedLength tests with resizable-arraybuffer features removed
2023-07-03 15:10:04 +02:00
André Bargull
9ac846e0b9
Remove "resizable-arraybuffer" from ArrayBuffer transfer tests
...
Also adds missing "arraybuffer-transfer" feature flags.
2023-07-03 15:10:04 +02:00
Shu-yu Guo
4a8135e01e
Fix description of new-length-excessive
2023-03-28 00:28:28 -07:00
Shu-yu Guo
6fecc44859
Add tests for ArrayBuffer.prototype.transferToFixedLength
...
See https://tc39.es/proposal-arraybuffer-transfer/
2023-03-28 00:28:28 -07:00
Jordan Harband
408ecd0987
ArrayBuffer.prototype.detached tests
...
See https://tc39.es/proposal-arraybuffer-transfer/
2023-02-08 12:21:03 +01:00
Shu-yu Guo
d03f11a81b
Fix ArrayBuffer#transfer tests to preserve maxByteLength
2023-02-07 16:00:02 +01:00
Shu-yu Guo
ad034f3230
Update ArrayBuffer transfer feature flag
2023-01-25 14:10:04 -08:00
Shu-yu Guo
59d5a6906d
Update ArrayBuffer transfer tests for preserving resizability
...
The new proposal's semantics preserves resizability instead of always
returning a fixed length ArrayBuffer.
2023-01-25 14:10:04 -08:00
jmdyck
781f10c9de
Append missing pipe character on "info:" lines ( #3030 )
2021-06-25 14:50:40 -04:00
Rick Waldron
fb0a68a2cf
Add missing features: [resizable-arraybuffer] ( #3029 )
...
* Add missing features: [resizable-arraybuffer]
* fixup! Add missing features: [resizable-arraybuffer]
Co-authored-by: Mike Pennisi <mike@mikepennisi.com>
2021-06-25 14:01:23 -04:00
jugglinmike
4da5c800a3
Resizable ArrayBuffer: ArrayBuffer accessors ( #3020 )
...
* Add "feature" for "Resizable ArrayBuffer" proposal
* Resizable ArrayBuffer: ArrayBuffer accessors
* fixup! Resizable ArrayBuffer: ArrayBuffer accessors
2021-06-25 13:21:11 -04:00
jugglinmike
93ad86b859
Resizable ArrayBuffer: ArrayBuffer methods ( #3019 )
...
* Add "feature" for "Resizable ArrayBuffer" proposal
* Resizable ArrayBuffer: ArrayBuffer methods
* fixup! Resizable ArrayBuffer: ArrayBuffer methods
2021-06-25 13:19:33 -04:00
jugglinmike
b3c2d3a88e
Resizable ArrayBuffer: ArrayBuffer constructor ( #3018 )
...
* Add "feature" for "Resizable ArrayBuffer" proposal
* Resizable ArrayBuffer: ArrayBuffer constructor
2021-06-25 13:18:42 -04:00
Rick Waldron
bf900a30b2
Create and assign feature: "align-detached-buffer-semantics-with-web-reality"
2020-10-09 13:46:50 -04:00
Rick Waldron
36c2cd165f
WIP: Align detached buffer semantics with web reality
...
To support https://github.com/tc39/ecma262/pull/2164
2020-10-09 13:46:50 -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
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
Leo Balter
ff9763729d
Remove duplicated es[56]id if esid is present
2019-08-05 10:54:37 -04:00
Peter Marshall
b3efcd2f3f
Consistently use spaces in features lists ( #2000 )
2018-12-17 17:00:04 -02:00
Leo Balter
ccab9a18b0
Fix length prop tests for the TypedArrays ctors family ( #1479 )
2018-03-08 09:21:09 -05:00
Rick Waldron
93d0256d87
built-ins/ArrayBuffer/*: make all indentation consistent (depth & character) ( #1421 )
2018-02-15 15:54: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
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
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
Leo Balter
7cbbe51216
Add cross-realm feature
2017-09-22 15:29:10 -04:00
Leo Balter
c41faf1aca
Add missing Symbol features flags
2017-09-07 15:51:13 -04:00
deathbearbrown
ea88caaedf
add esid to ArrayIterator/next tests
2017-07-25 16:42:06 -04:00
deathbearbrown
1b911a8f8a
add esid to ArrayBuffer/symbol.species tests
2017-07-12 17:08:39 -04:00
deathbearbrown
77297f2a90
add esid to ArrayBuffer/prototype/slice tests
2017-07-12 17:07:46 -04:00
deathbearbrown
c2195a0aa1
add esid to ArrayBuffer/prototype/byteLength tests
2017-07-12 17:07:38 -04:00
deathbearbrown
9c69a0204e
add esid to ArrayBuffer/prototype tests
2017-07-12 17:07:30 -04:00
deathbearbrown
2ec260f126
add esid to ArrayBuffer/isView tests
2017-07-12 17:07:05 -04:00
deathbearbrown
95b2c2d8d1
add esid to ArrayBuffer tests
2017-07-12 17:06:57 -04:00
Rick Waldron
f5d8b1c1fb
ArrayBuffer: constructor, name, length, descriptor ( #991 )
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-04-20 15:14:08 -04:00
André Bargull
d59e30c95e
Remove execute bit from files ( #976 )
2017-04-13 16:24:07 -04:00
Rick Waldron
fdd2fa9b1c
Rename $ => $262. Fixes gh-802 ( #823 )
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-03-01 16:34:15 -05:00
Shu-yu Guo
a72ee6d912
SharedArrayBuffer and Atomics tests ( #839 )
2017-02-07 11:17:31 -05:00
jugglinmike
71e573f7da
Add tests for realm interactions ( #688 )
...
* Add tests for prototype realm inference
* Add tests for miscellaneous realm concerns
* Add tests for realm of spec-created Errors
In some cases, Error objects produced by the specification are
observable from ECMAScript code. Among these cases, some are further
differentiated in that they occur outside of any built-in function and
may be triggered through syntactic production directly. The current
realm record is commonly interpreted incorrectly under these
circumstances.
Add tests asserting that the expected realm record is used when
constructing such Error objects.
* Add tests for realm use in ArraySpeciesCreate
* Add tests for function realm retrieval
* Add tests for cross-realm behaviors of Symbols
* Add tests for GetValue and PutValue
* Add tests for realm of spec-created Arrays
In some cases, Arrays produced by CreateArrayFromList are observable
from ECMAScript code. Among these cases, two occur outside of any
built-in function and may be triggered through syntactic production
directly. The current realm record is commonly interpreted incorrectly
under these circumstances.
Add tests asserting that the expected realm record is used when
constructing arrays.
* Add test for spec-created object
* fixup! Add tests for realm of spec-created Errors
* fixup! Add tests for realm of spec-created Errors
* fixup! Add tests for prototype realm inference
* fixup! Add tests for miscellaneous realm concerns
2016-10-24 10:43:17 -07:00
Leonardo Balter
cfc77c83e3
Update tests for TypedArrays, DataView and ArrayBuffer
...
Ref tc39/ecma262#410
2016-06-13 16:17:09 -04:00
jugglinmike
07dcff3e27
Add tests for CreateByeDataBlock ( #663 )
...
Ensure that all bytes of newly-created Data Block are initialized to
zero.
2016-06-03 12:38:03 -04:00
Leonardo Balter
3af3af3d40
Add tests for ArrayBuffer.prototype.byteLength
2016-05-12 10:30:17 -04:00
Mike Pennisi
b8e40a6f3f
Add tests for return value of @@species accessors
2016-04-25 16:59:23 -07:00
Leonardo Balter
887b379421
Add tests for ArrayBuffer.isView
2016-03-24 12:14:26 -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
5e3eed63b9
Move Symbol.species and AnnexB tests to new subfolders
2016-01-15 18:11:03 +01:00
André Bargull
6fcd24cd47
Add tests for ArrayBuffer and ArrayBuffer.prototype.slice
2015-12-02 18:05:12 +01:00