Update class public fields tags in non-generated test files

This commit is contained in:
Leo Balter 2017-11-28 13:02:21 -05:00
parent a488271931
commit 6f8c89dfd1
No known key found for this signature in database
GPG Key ID: 507634D36E3F7CEE
19 changed files with 19 additions and 19 deletions

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- computed name interpreted as property
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
---*/
var obj = {}

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- computed name interpreted as string index
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
---*/
var C = class {

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- error when computed name interpreted as index
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
negative:
phase: early
type: SyntaxError

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- error when generator interpreted as multiplication
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public, generators]
negative:
phase: early
type: SyntaxError

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
---*/
var x = 0;

View File

@ -6,7 +6,7 @@ description: >
static class fields forbid PropName 'constructor' (no early error for
ComputedPropertyName)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
features: [class, class-fields-public]
info: |
Static Semantics: PropName
...

View File

@ -5,7 +5,7 @@
description: >
Cannot redefine a non-configurable, non-writable "prototype" property
esid: runtime-semantics-class-definition-evaluation
features: [class-fields]
features: [class, class-fields-public]
info: |
// This test file also tests the ComputedPropertyName won't trigger the
// following early error:

View File

@ -28,7 +28,7 @@ info: |
1. Let fieldName be the result of evaluating ClassElementName.
2. ReturnIfAbrupt(fieldName).
features: [class-fields]
features: [class, class-fields-public]
---*/
function f() {

View File

@ -30,7 +30,7 @@ info: |
5. If initializer is not empty, then
a.Let initValue be ? Call(initializer, receiver).
features: [class-fields]
features: [class, class-fields-public]
---*/
function f() {

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- computed name interpreted as property
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
---*/
var obj = {}

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- computed name interpreted as string index
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
---*/
class C {

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- error when computed name interpreted as index
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
negative:
phase: early
type: SyntaxError

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- error when generator interpreted as multiplication
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public, generators]
negative:
phase: early
type: SyntaxError

View File

@ -4,7 +4,7 @@
/*---
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
esid: sec-automatic-semicolon-insertion
features: [class-fields]
features: [class, class-fields-public]
---*/
var x = 0;

View File

@ -6,7 +6,7 @@ description: >
static class fields forbid PropName 'constructor' (no early error for
ComputedPropertyName)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
features: [class, class-fields-public]
info: |
Static Semantics: PropName
...

View File

@ -5,7 +5,7 @@
description: >
Cannot redefine a non-configurable, non-writable "prototype" property
esid: runtime-semantics-class-definition-evaluation
features: [class-fields]
features: [class, class-fields-public]
info: |
// This test file also tests the ComputedPropertyName won't trigger the
// following early error:

View File

@ -28,7 +28,7 @@ info: |
1. Let fieldName be the result of evaluating ClassElementName.
2. ReturnIfAbrupt(fieldName).
features: [class-fields]
features: [class, class-fields-public]
---*/
function f() {

View File

@ -28,7 +28,7 @@ info: |
5. If initializer is not empty, then
a. Let initValue be ? Call(initializer, receiver).
features: [class-fields]
features: [class, class-fields-public]
---*/
function f() {

View File

@ -34,7 +34,7 @@ info: |
5. If initializer is not empty, then
a.Let initValue be ? Call(initializer, receiver).
features: [class-fields]
features: [class, class-fields-public]
---*/
function f() {