Commit Graph

3188 Commits

Author SHA1 Message Date
Leo Balter 7ea8043fca
rewrite values for yield star 2018-08-21 12:06:28 -04:00
Leo Balter 9a7fa8cb91 Generate tests 2018-08-20 17:12:40 -04:00
Leo Balter 345b93377f fix templates path 2018-08-20 17:12:18 -04:00
Leo Balter de1bbd65c8 Generate tests 2018-08-20 16:38:54 -04:00
Leo Balter 2ec2a00791 missing get method 2018-08-20 16:38:54 -04:00
Leo Balter 96809308fd Generate tests 2018-08-20 16:38:54 -04:00
Leo Balter d4fc8d6fc9 Fix cases for ASI 2018-08-20 16:38:54 -04:00
Leo Balter c5a1a4a24b Generate tests 2018-08-20 16:38:54 -04:00
Leo Balter a5505bbf20 Address feedback from PR review
- needs to use async* to declare async generator methods.
- Needs to use yield* if delegating yield semantics are intended.
- Has assignment to private name method, which is not allowed and throws a TypeError at runtime.
- handle multiple $DONE calls
- fix calls to private methods
2018-08-20 16:38:53 -04:00
Rick Waldron 331a3964d5 Generate tests 2018-08-20 16:38:53 -04:00
Rick Waldron b3869474c5 Class Fields: static method productions 2018-08-20 16:38:53 -04:00
Rick Waldron aee9dc163e Generate tests 2018-08-20 16:38:53 -04:00
Rick Waldron c794f43af3 Class Fields: extensive static and runtime production verification cases & templates 2018-08-20 16:38:53 -04:00
Rick Waldron f222b94f2a Generate tests 2018-08-20 16:38:53 -04:00
Rick Waldron 0298174c06 Class Fields: minor updates to existing templates to improve output source 2018-08-20 16:38:52 -04:00
Rick Waldron ba97c2a5ce Class Fields: private fields variants 2018-08-20 16:38:52 -04:00
Rick Waldron 192c8fd4f6 Class Fields: features corrections 2018-08-20 16:38:52 -04:00
Rick Waldron ad446cae7d Class Fields: remove "class-fields-public" from .template (set in .case)
class-fields-public doesn't apply to all tests that are generated from these templates
2018-08-20 16:38:52 -04:00
Rick Waldron ad9fd16bd1 Class Fields: convert .js file to .case 2018-08-20 16:38:52 -04:00
Rick Waldron 1466650ca3 Class Fields: add private name propname errors 2018-08-20 16:38:52 -04:00
Rick Waldron 734544272b Class Fields: convert propname-error into non-generated to avoid creating erroneous tests where restrictions do not align. 2018-08-20 16:38:52 -04:00
Rick Waldron 7bb3bfe7fd Class Fields: eval-err-contains-newcall.case => eval-err-contains-newtarget.case 2018-08-20 16:38:52 -04:00
Rick Waldron 3996741ca0 Class Fields: Remove templates that cause erroneous tests to be created. 2018-08-20 16:38:52 -04:00
Rick Waldron ac7bc64e73 Class Fields: Updating frontmatter in src/class-fields/*.case 2018-08-20 16:38:52 -04:00
Rick Waldron c72926a107 Features: add class-static-* feature names 2018-08-20 16:38:52 -04:00
Rick Waldron 90e8859cdd Class Fields: Updating frontmatter 2018-08-20 16:38:52 -04:00
Valerie R Young 5d014bdfba classfields: field definition abrupt completion tests
# Conflicts:
#	test/language/statements/class/classelementname-abrupt-completion.js
#	test/language/statements/class/fielddefinition-initializer-abrupt-completion.js
#	test/language/statements/class/super-fielddefinition-initializer-abrupt-completion.js
2018-08-20 16:38:52 -04:00
Valerie R Young 2f458d164f class fields: added tests for privatename production
# Conflicts:
#	src/class-fields/default/cls-decl-after-same-line-async-gen.template
#	src/class-fields/default/cls-decl-after-same-line-async-method.template
#	src/class-fields/default/cls-decl-after-same-line-gen.template
#	src/class-fields/default/cls-decl-after-same-line-method.template
#	src/class-fields/default/cls-decl-after-same-line-static-async-gen.template
#	src/class-fields/default/cls-decl-after-same-line-static-async-method.template
#	src/class-fields/default/cls-decl-after-same-line-static-gen.template
#	src/class-fields/default/cls-decl-after-same-line-static-method.template
#	src/class-fields/default/cls-decl-multiple-definitions.template
#	src/class-fields/default/cls-decl-multiple-stacked-definitions.template
#	src/class-fields/default/cls-decl-new-no-sc-line-method.template
#	src/class-fields/default/cls-decl-new-sc-line-generator.template
#	src/class-fields/default/cls-decl-new-sc-line-method.template
#	src/class-fields/default/cls-decl-regular-definitions.template
#	src/class-fields/default/cls-decl-same-line-generator.template
#	src/class-fields/default/cls-decl-same-line-method.template
#	src/class-fields/default/cls-decl-wrapped-in-sc.template
#	src/class-fields/default/cls-expr-after-same-line-async-gen.template
#	src/class-fields/default/cls-expr-after-same-line-async-method.template
#	src/class-fields/default/cls-expr-after-same-line-gen.template
#	src/class-fields/default/cls-expr-after-same-line-method.template
#	src/class-fields/default/cls-expr-after-same-line-static-async-gen.template
#	src/class-fields/default/cls-expr-after-same-line-static-async-method.template
#	src/class-fields/default/cls-expr-after-same-line-static-gen.template
#	src/class-fields/default/cls-expr-after-same-line-static-method.template
#	src/class-fields/default/cls-expr-multiple-definitions.template
#	src/class-fields/default/cls-expr-multiple-stacked-definitions.template
#	src/class-fields/default/cls-expr-new-no-sc-line-method.template
#	src/class-fields/default/cls-expr-new-sc-line-generator.template
#	src/class-fields/default/cls-expr-new-sc-line-method.template
#	src/class-fields/default/cls-expr-regular-definitions.template
#	src/class-fields/default/cls-expr-same-line-generator.template
#	src/class-fields/default/cls-expr-same-line-method.template
#	src/class-fields/default/cls-expr-wrapped-in-sc.template
#	src/class-fields/private-names.case
2018-08-20 16:38:52 -04:00
Valerie R Young d361aaadb8 Fixes for forbidden property names
# Conflicts:
#	src/class-fields/propname-error/cls-decl-variable-name.template
#	src/class-fields/propname-error/cls-expr-variable-name.template
2018-08-20 16:38:52 -04:00
Valerie R Young ea643db26f classfields: add tests for forbidden propertynames
# Conflicts:
#	src/class-fields/propname-constructor.case
#	src/class-fields/propname-error/cls-decl-computed-name.template
#	src/class-fields/propname-error/cls-decl-literal-name.template
#	src/class-fields/propname-error/cls-decl-string-name.template
#	src/class-fields/propname-error/cls-expr-computed-name.template
#	src/class-fields/propname-error/cls-expr-literal-name.template
#	src/class-fields/propname-error/cls-expr-string-name.template
2018-08-20 16:38:52 -04:00
Valerie R Young 2488cb99b3 classfields tests for eval early errors
# Conflicts:
#	src/class-fields/eval-err-contains-arguments.case
#	src/class-fields/eval-err-contains-supercall-1.case
#	src/class-fields/eval-err-contains-supercall-2.case
#	src/class-fields/eval-err-contains-supercall.case
#	src/class-fields/eval-err-contains-superproperty-1.case
#	src/class-fields/eval-err-contains-superproperty-2.case
2018-08-20 16:38:52 -04:00
Valerie R Young ac5e65af69 Add private fields tests of early errors and small fix 2018-08-20 16:38:51 -04:00
Valerie R Young f2d76e60f2 class fields: add early errors for argument and super
# Conflicts:
#	src/class-fields/init-err-contains-super.case
2018-08-20 16:38:51 -04:00
Leo Balter 9cb6333cb9
Merge pull request #1687 from leobalter/fix-tests-flat
some quick fixes for Array.prototype.{flat,flatMap} tests
2018-08-20 12:12:54 -04:00
Leo Balter 1307fa8f44 some quick fixes for Array.prototype.{flat,flatMap} tests 2018-08-20 11:16:54 -04:00
Leo Balter d263e2ccc9
Merge pull request #1686 from rhuanjl/proxyFlat
Array.prototype.{flat,flatMap} property access count
2018-08-20 10:44:16 -04:00
rhuanjl 1bffb14efb Array.prototype.flat and Array.prototype.flatMap property access count 2018-08-20 06:31:04 +01:00
test262-automation 57e08e432e [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 3454cfdb5a targetRevisionAtLastExport: 1804b1343
2018-08-19 10:29:50 -04:00
test262-automation 316bc5ebf5 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 3454cfdb5a on Sat Aug 18 2018 18:11:01 GMT+0000 (Coordinated Universal Time) 2018-08-19 10:29:50 -04:00
André Bargull d7d154b3bc Remove requirement that ToNumber(value) completes in less than $262.agent.MAX_TIME_EPSILON
$262.agent.MAX_TIME_EPSILON was intended to be used for callers like `Atomics.wait(typedArray, indexNumber, valueNumber, timeoutNumber)` where all parameters with the `Number` suffix denote values which are already Number values. It should not be used for `Atomics.wait(typedArray, indexObject, valueObject, timeoutObject)` where all parameters with the `Object` suffix denote values which are Object values, because in that case we'd require that `ToNumber(objectValue)` (potentially invoked multiple times) completes in less than 100 milliseconds (the default value for MAX_TIME_EPSILON).

Also removes $262.agent.MAX_TIME_EPSILON because it is now no longer used.
2018-08-19 10:29:29 -04:00
Leo Balter ab436c4651
Merge pull request #1677 from tc39/ofe-use-verifyproperty
Object.fromEntries: use verifyProperty; add specification details
2018-08-17 18:06:19 -04:00
Leo Balter d901922690
Merge pull request #1682 from Ms2ger/rtf-supportedLocalesOf
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-17 18:04:34 -04:00
Leo Balter f9d549329a
Merge pull request #1681 from Ms2ger/rtf-pl-fix
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-17 18:03:01 -04:00
Leo Balter fcefbc7945
Merge pull request #1678 from Ms2ger/rtf-options-non-object
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-17 18:01:59 -04:00
Leo Balter 62c6470bab
Merge pull request #1683 from anba/regexp-perf
Reduce time needed in RegExp tests and test fixes
2018-08-17 13:15:45 -04:00
André Bargull cd101873ba Fix expected values for 'quarter' in RelativeTimeFormat 2018-08-17 09:15:38 -07:00
André Bargull 0aa1f70c14 Fix typo: nofity -> notify 2018-08-17 07:48:44 -07:00
André Bargull 8879820a8f Make RegExp/CharacterClassEscapes tests faster across all engines 2018-08-17 07:48:42 -07:00
Ms2ger 867b1ab87d Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf. 2018-08-16 15:18:05 +02:00
Ms2ger c82ea326a8 Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests. 2018-08-16 10:04:31 +02:00