Remove static private/public fields unsupported tests.

This commit is contained in:
Rick Waldron 2017-12-21 16:37:14 -05:00
parent dc4db968f2
commit 53f847b1bc
2 changed files with 0 additions and 21 deletions

View File

@ -1,10 +0,0 @@
// Copyright (C) 2017 Igalia, S. L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Static private fields are not supported
features: [class, class-fields-private]
---*/
assert.throws.early(SyntaxError, "class C { static #field; }");
assert.throws.early(SyntaxError, "class C { static #field = 0; }");

View File

@ -1,11 +0,0 @@
// Copyright (C) 2017 Igalia, S. L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Static public fields are not supported
features: [class, class-fields-public]
---*/
assert.throws.early(SyntaxError, "class C { static field; }");
assert.throws.early(SyntaxError, "class C { static field = 0; }");
assert.throws.early(SyntaxError, "class C { static ['field']; }");
assert.throws.early(SyntaxError, "class C { static ['field'] = 0; }");