peterwmwong
f1e45d9e5e
Fleshed out tests for Symbol.matchAll, String.p.matchAll, RegExp.p[@@matchAll], and %RegExpStringIteratorPrototype%
...
Tests were updated and assuming https://github.com/tc39/proposal-string-matchall/pull/33 will be merged.
2018-03-17 22:48:31 -05:00
Rick Waldron
f574680595
built-ins/Symbol/*: make all indentation consistent (depth & character) ( #1425 )
2018-02-15 15:41:33 -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
f717982c94
Remove unused includes
2018-01-25 13:59:37 -05:00
Rick Waldron
4afc330363
Fix: various lint fixes
2018-01-10 17:29:48 -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
7f88a6d7f9
Add other missing Symbol feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
5fc0a7c6a1
Add missing Symbol.species feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
2bee5df77a
Add missing Symbol.iterator feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
c41faf1aca
Add missing Symbol features flags
2017-09-07 15:51:13 -04:00
Aleksey Shvayka
0d2b3562e9
Add basic Symbol constructor tests ( #1069 )
...
* add Symbol.length test
* add Symbol.name test
* add global.Symbol test
2017-06-22 22:11:26 -03: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
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
jugglinmike
30d4c04182
Improve test coverage for Symbol ( #645 )
2016-05-30 16:55:45 -04:00
Mike Pennisi
3d68fcc063
Increase coverage for Symbol constructor
...
Add new tests for invocation requirements; re-organize existing files
according to the language feature under test.
2016-04-25 10:59:22 -07: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
Mike Pennisi
e39f8d88c5
Add tests for well-known Symbol: @@unscopables
2015-10-05 11:57:31 -04:00
Gorkem Yakin
117c3f386e
Merge pull request #418 from bocoup/symbol-to-primitive
...
Add tests for well-known Symbol: @@toPrimitive
2015-09-18 09:07:51 -07:00
Gorkem Yakin
df1d78d10f
Merge pull request #399 from bocoup/symbol-match
...
Add tests for @@match
2015-09-14 14:29:28 -07:00
Mike Pennisi
62d5787b09
Add tests for @@match
...
Introduce tests for the well-known Symbol, `@@match`. This effects the
behavior of `String.prototype.match` and is also used by the IsRegExp
abstract operation.
2015-09-14 17:16:37 -04:00
Gorkem Yakin
32efa4a289
Merge pull request #407 from bocoup/symbol-split
...
Add tests for well-known Symbol: @@split
2015-09-10 16:57:00 -07:00
Mike Pennisi
8879cde471
Add tests for well-known Symbol: @@search
2015-09-08 19:15:19 -04:00
Rick Waldron
a2a92d0765
Merge pull request #402 from bocoup/symbol-replace
...
Add tests for well-known Symbol: @@replace
2015-09-02 17:20:17 -04:00
Rick Waldron
50423896d5
Merge pull request #414 from bocoup/symbol-to-string-tag
...
Add tests for well-known Symbol: @@toStringTag
2015-09-02 17:15:55 -04:00
Mike Pennisi
4e88365dc6
Add tests for well-known Symbol: @@toPrimitive
2015-08-16 18:37:22 -04:00
Mike Pennisi
d6bbbc9aed
Add tests for well-known Symbol: @@toStringTag
2015-08-07 20:02:44 -04:00
Mike Pennisi
4693197b0c
Add tests for well-known Symbol: @@split
2015-08-06 09:52:51 -04:00
Mike Pennisi
bb0cbeb655
Add tests for well-known Symbol: @@replace
2015-08-05 09:39:00 -04:00
Mike Pennisi
652e35bd32
Add tests for well-known Symbol, @@hasInstance
...
Assert the behavior of the built-in method on the FunctionPrototype and
the usage of the Symbol by the `instanceof` operator.
2015-07-28 00:08:55 -04:00
Brian Terlson
791b25ebbc
Merge pull request #377 from bocoup/symbol-iterator
...
Add tests for @@iterator
2015-07-27 16:45:51 -07:00
Mike Pennisi
71fa7b570c
Add tests for @@isConcatSpreadable
2015-07-24 14:42:35 -04:00
André Bargull
023c7aa69e
- Remove inline license
...
- Remove duplicate word
- Add missing license
2015-07-17 19:55:00 +02:00
Mike Pennisi
e4a8900a25
Add test for well-known Symbol, @@iterator
2015-07-16 13:05:16 -04:00
unknown
81476bb910
fixing a typo
2015-04-24 12:32:17 -07:00
Rick Waldron
59e2a7ac57
Import tests from Google V8 (Symbol)
...
These tests are derived from the following files within the Google V8 project:
test/mjsunit/harmony/private.js
2015-04-07 16:53:18 -04:00
smikes
e1f3ffce2c
Symbol.species tests
...
Initial tests for property existence
move getter name test to builtin-getter-name
initial cut at extends test
incorporate line notes, thanks @anba
2015-03-09 15:48:52 -06:00