Skip to content

Commit cd9fc6d

Browse files
committed
fixup! lib: make SubtleCrypto.supports enumerable
1 parent a71254a commit cd9fc6d

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

lib/internal/crypto/webcrypto.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,13 +1894,9 @@ ObjectDefineProperties(
18941894
},
18951895
});
18961896

1897-
ObjectDefineProperties(
1898-
SubtleCrypto, {
1899-
supports: {
1900-
__proto__: null,
1901-
enumerable: true,
1902-
},
1903-
});
1897+
ObjectDefineProperties(SubtleCrypto, {
1898+
supports: kEnumerableProperty,
1899+
});
19041900

19051901
module.exports = {
19061902
Crypto,

0 commit comments

Comments
 (0)