fix: empty the lint trap

This commit is contained in:
rwaldron 2021-07-16 14:08:17 -04:00 committed by Rick Waldron
parent 843b1baf7b
commit 80f162d174
23 changed files with 5 additions and 49 deletions

View File

@ -5,7 +5,7 @@ esid: sec-realm-constructor
description: >
Realm is a constructor and has [[Construct]] internal method.
includes: [isConstructor.js]
features: [callable-boundary-realms]
features: [callable-boundary-realms, Reflect.construct]
---*/
assert.sameValue(
typeof Realm,

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wraps errors from other realm into TypeErrors
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -5,7 +5,7 @@ esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate is not a constructor.
includes: [isConstructor.js]
features: [callable-boundary-realms]
features: [callable-boundary-realms, Reflect.construct]
---*/
assert.sameValue(
@ -22,5 +22,5 @@ assert.sameValue(
assert.throws(TypeError, () => {
new Realm.prototype.evaluate("");
}, '`let value = new Realm.prototype.evaluate("")` throws TypeError');
}, '`new Realm.prototype.evaluate("")` throws TypeError');

View File

@ -4,8 +4,7 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate returns primitive values
includes: [isConstructor.js]
features: [callable-boundary-realms]
sfeatures: [callable-boundary-realms]
---*/
assert.sameValue(

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate returns symbol values
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate throws a TypeError if evaluate resolves to non-primitive values
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate throws when argument is not a string.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate validates realm object.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped function arguments are wrapped into the inner realm, extended.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped function arguments are wrapped into the inner realm
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped function from return values share no identity.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped function observing their scopes
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate accepts callable objects
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped functions can resolve callable returns.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped functions produce new wrapping on each evaluation.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped functions share no properties, extended
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.evaluate
description: >
Realm.prototype.evaluate wrapped functions share no properties
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -1,25 +0,0 @@
// Copyright (C) 2021 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-realm.prototype.importvalue
description: >
Realm.prototype.importValue is not a constructor.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/
assert.sameValue(
typeof Realm.prototype.importValue,
'function',
'This test must fail if Realm.prototype.importValue is not a function'
);
assert.sameValue(
isConstructor(Realm.prototype.importValue),
false,
'isConstructor(Realm.prototype.importValue) must return false'
);
assert.throws(TypeError, () => {
new Realm.prototype.importValue("");
}, '`let value = new Realm.prototype.importValue("")` throws TypeError');

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.importvalue
description: >
Realm.prototype.importValue coerces exportName to string.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -5,7 +5,6 @@ esid: sec-realm.prototype.importvalue
description: >
Realm.prototype.importValue can import a value.
flags: [async, module]
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -22,4 +22,4 @@ assert.sameValue(
assert.throws(TypeError, () => {
new Realm.prototype.importValue("");
}, '`let value = new Realm.prototype.importValue("")` throws TypeError');
}, '`new Realm.prototype.importValue("")` throws TypeError');

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.importvalue
description: >
Realm.prototype.importValue coerces specifier to string.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/

View File

@ -4,7 +4,6 @@
esid: sec-realm.prototype.importvalue
description: >
Realm.prototype.importValue validates realm object.
includes: [isConstructor.js]
features: [callable-boundary-realms]
---*/