GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: check new WebCryptoAPI enum values · nodejs/node@a132be7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-webcrypto-webidl.js
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)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.