Skip to content

Commit

Permalink
Fix AbstractModuleSource verifyProperty calls
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Jul 10, 2024
1 parent 7b15438 commit b00e52b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/built-ins/AbstractModuleSource/prototype.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
---*/
Expand All @@ -18,5 +19,5 @@ verifyProperty($262.AbstractModuleSource, 'prototype', {
value: $262.AbstractModuleSource.prototype,
writable: false,
enumerable: false,
configurable: false
configurable: true
});
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b00e52b

Please sign in to comment.