Enable strict mode testing for sm/PrivateName

This commit is contained in:
André Bargull 2025-04-30 14:16:35 +02:00 committed by Philip Chimento
parent 14e84721c9
commit addfc1f0f0
15 changed files with 3 additions and 35 deletions

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending
@ -31,7 +29,7 @@ class A {
}
};
a = new A;
var a = new A;
assert.throws(TypeError, function() {
a.g();
});

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending

View File

@ -2,8 +2,6 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending
@ -16,6 +14,5 @@ class A {
}
}
a = new A;
var a = new A;
assert.sameValue(a.g(), 14);

View File

@ -2,17 +2,14 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
flags:
- noStrict
description: |
pending
esid: pending
---*/
source = `class A {
var source = `class A {
// Ensure this name parses.
#;
}`;
Function(source);