mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 06:25:30 +02:00
Fix AbstractModuleSource verifyProperty calls
This commit is contained in:
parent
7b154389ce
commit
830c52155d
@ -9,6 +9,7 @@ info: |
|
|||||||
|
|
||||||
The initial value of %AbstractModuleSource%.prototype is the %AbstractModuleSource% prototype object.
|
The initial value of %AbstractModuleSource%.prototype is the %AbstractModuleSource% prototype object.
|
||||||
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
|
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
|
||||||
|
includes: [propertyHelper.js]
|
||||||
features: [source-phase-imports]
|
features: [source-phase-imports]
|
||||||
flags: [module]
|
flags: [module]
|
||||||
---*/
|
---*/
|
||||||
@ -18,5 +19,5 @@ verifyProperty($262.AbstractModuleSource, 'prototype', {
|
|||||||
value: $262.AbstractModuleSource.prototype,
|
value: $262.AbstractModuleSource.prototype,
|
||||||
writable: false,
|
writable: false,
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
configurable: false
|
configurable: true
|
||||||
});
|
});
|
||||||
|
@ -23,8 +23,11 @@ includes: [propertyHelper.js]
|
|||||||
assert.sameValue(typeof $262.AbstractModuleSource, 'function');
|
assert.sameValue(typeof $262.AbstractModuleSource, 'function');
|
||||||
verifyProperty($262.AbstractModuleSource.prototype, Symbol.toStringTag, {
|
verifyProperty($262.AbstractModuleSource.prototype, Symbol.toStringTag, {
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
configurable: false,
|
configurable: true,
|
||||||
writable: false,
|
set: undefined,
|
||||||
|
value: undefined,
|
||||||
|
}, {
|
||||||
|
restore: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Return undefined if this value does not have a [[ModuleSourceClassName]] internal slot.
|
// Return undefined if this value does not have a [[ModuleSourceClassName]] internal slot.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user