Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a132be7

Browse filesBrowse files
panvaaduh95
authored andcommitted
test: check new WebCryptoAPI enum values
PR-URL: #61406 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent ca4ebed commit a132be7
Copy full SHA for a132be7

1 file changed

+14-1Lines changed: 14 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-webcrypto-webidl.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-webcrypto-webidl.js
+14-1Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,16 @@ const opts = { prefix, context };
238238

239239
// KeyFormat
240240
{
241-
for (const good of ['jwk', 'spki', 'pkcs8', 'raw']) {
241+
for (const good of [
242+
'jwk',
243+
'spki',
244+
'pkcs8',
245+
'raw',
246+
'raw-public',
247+
'raw-seed',
248+
'raw-secret',
249+
'raw-private',
250+
]) {
242251
assert.strictEqual(converters.KeyFormat(good), good);
243252
}
244253

@@ -262,6 +271,10 @@ const opts = { prefix, context };
262271
'deriveBits',
263272
'wrapKey',
264273
'unwrapKey',
274+
'encapsulateBits',
275+
'decapsulateBits',
276+
'encapsulateKey',
277+
'decapsulateKey',
265278
]) {
266279
assert.strictEqual(converters.KeyUsage(good), good);
267280
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.