mirror of https://github.com/tc39/test262.git
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.
|
||||
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
|
||||
includes: [propertyHelper.js]
|
||||
features: [source-phase-imports]
|
||||
flags: [module]
|
||||
---*/
|
||||
|
@ -18,5 +19,5 @@ verifyProperty($262.AbstractModuleSource, 'prototype', {
|
|||
value: $262.AbstractModuleSource.prototype,
|
||||
writable: false,
|
||||
enumerable: false,
|
||||
configurable: false
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -23,8 +23,11 @@ includes: [propertyHelper.js]
|
|||
assert.sameValue(typeof $262.AbstractModuleSource, 'function');
|
||||
verifyProperty($262.AbstractModuleSource.prototype, Symbol.toStringTag, {
|
||||
enumerable: false,
|
||||
configurable: false,
|
||||
writable: false,
|
||||
configurable: true,
|
||||
set: undefined,
|
||||
value: undefined,
|
||||
}, {
|
||||
restore: true,
|
||||
});
|
||||
|
||||
// Return undefined if this value does not have a [[ModuleSourceClassName]] internal slot.
|
||||
|
|
Loading…
Reference in New Issue