summaryrefslogtreecommitdiff
path: root/test/built-ins/Map
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling typo. (#1046)Arup Rakshit2017-05-221-1/+1
|
* Remove execute bit from files (#976)André Bargull2017-04-131-0/+0
|
* Rename $ => $262. Fixes gh-802 (#823)Rick Waldron2017-03-011-1/+1
| | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Add tests for realm interactions (#688)jugglinmike2016-10-241-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Replace duplicate description with info in map testBrian Terlson2016-04-291-1/+1
|
* Add tests for return value of @@species accessorsMike Pennisi2016-04-252-3/+22
|
* Add missing tests for "length" and "name" properties of built-in functionsAndré Bargull2016-01-151-0/+32
| | | | Note: Already uses the updated DataView function lengths from tc39/ecma262#266 (ES2016 Draft 2015-12-20)
* Move Symbol.species and AnnexB tests to new subfoldersAndré Bargull2016-01-152-0/+0
|
* Add tests for well-known Symbol: @@toStringTagMike Pennisi2015-08-072-21/+21
|
* - Remove inline licenseAndré Bargull2015-07-171-1/+1
| | | | | - Remove duplicate word - Add missing license
* Merge pull request #353 from bocoup/accessor-functions-on-built-in-propertiesBrian Terlson2015-07-091-0/+20
|\ | | | | Add test for built-in accessor properties names
| * Add test for built-in accessor properties namesLeonardo Balter2015-07-061-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Including: - 21.2.4.2 get RegExp [ @@species ] - 21.2.5.3 get RegExp.prototype.flags - 21.2.5.4 get RegExp.prototype.global - 21.2.5.5 get RegExp.prototype.ignoreCase - 21.2.5.7 get RegExp.prototype.multiline - 21.2.5.10 get RegExp.prototype.source - 21.2.5.12 get RegExp.prototype.sticky - 21.2.5.15 get RegExp.prototype.unicode - 22.1.2.5 get Array [ @@species ] - 23.1.2.2 get Map [ @@species ] - 23.2.2.2 get Set [ @@species ] - 24.1.3.3 get ArrayBuffer [ @@species ] - 24.1.4.1 get ArrayBuffer.prototype.byteLength - 24.2.4.1 get DataView.prototype.buffer - 24.2.4.2 get DataView.prototype.byteLength - 24.2.4.3 get DataView.prototype.byteOffset - 25.4.4.6 get Promise [ @@species ] - B.2.2.1.1 get Object.prototype.__proto__ - B.2.2.1.2 set Object.prototype.__proto__ Skipped TypedArray tests in order to avoid an early test strategy definition for them.
* | Remove duplicated Map testsLeonardo Balter2015-07-077-214/+0
| |
* | Map.prototype[Symbol.toStringTag]Leonardo Balter2015-07-071-0/+21
| |
* | Map.prototype[Symbol.iterator]Leonardo Balter2015-07-071-6/+6
| |
* | Map.prototype.valuesLeonardo Balter2015-07-079-0/+286
| |
* | Map.prototype.sizeLeonardo Balter2015-07-0711-0/+316
| |
* | Map.prototype.setLeonardo Balter2015-07-0713-0/+370
| |
* | Map.prototype.keysLeonardo Balter2015-07-079-0/+286
| |
* | Map.prototype.hasLeonardo Balter2015-07-0710-0/+292
| |
* | Map.prototype.getLeonardo Balter2015-07-0710-0/+303
| |
* | Map.property.forEachLeonardo Balter2015-07-0718-0/+629
| |
* | Map.prototype.entriesLeonardo Balter2015-07-079-0/+291
| |
* | Map.prototype.deleteLeonardo Balter2015-07-0710-0/+245
| |
* | Map.prototype.constructorLeonardo Balter2015-07-071-0/+16
| |
* | Map.prototype.clearLeonardo Balter2015-07-0710-0/+252
| |
* | Map.prototype descriptorLeonardo Balter2015-07-071-0/+14
| |
* | Map constructorLeonardo Balter2015-07-0725-2/+726
|/
* Refactor tests for built-in @@iterator methodsMike Pennisi2015-05-262-14/+19
| | | | | Assert the value of the properties and update the test frontmatter to include the `Symbol.iterator` feature.
* Move tests for iterator prototype methodsMike Pennisi2015-05-264-132/+0
| | | | | Define tests for intrinsic Iterators under the appropriate subdirectory of `built-ins`.
* Import tests from Google V8 (native iterators)Mike Pennisi2015-04-2012-0/+360
| | | | | | | | | | These tests are derived from the following files within the Google V8 project: test/mjsunit/es6/typed-array-iterator.js test/mjsunit/es6/arguments-iterator.js test/mjsunit/es6/string-iterator.js test/mjsunit/es6/collection-iterator.js
* Import tests from Google V8 (Symbol)Rick Waldron2015-04-072-0/+37
These tests are derived from the following files within the Google V8 project: test/mjsunit/harmony/private.js