mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
test: enable idlharness WebCryptoAPI WPTs
PR-URL: https://github.com/nodejs/node/pull/45822 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
0665fa4009
commit
da416697fa
2 files changed
+15
-1
No files matched your search
@@ -6,6 +6,18 @@
|
||||
"skip": "Not relevant in Node.js context"
|
||||
},
|
||||
"idlharness.https.any.js": {
|
||||
"skip": "Various non-IDL-compliant things"
|
||||
"fail": {
|
||||
"expected": [
|
||||
"Crypto interface: existence and properties of interface object",
|
||||
"Crypto interface: calling getRandomValues(ArrayBufferView) on crypto with too few arguments must throw TypeError",
|
||||
"CryptoKey interface: existence and properties of interface object",
|
||||
"CryptoKey interface: existence and properties of interface prototype object",
|
||||
"CryptoKey interface: attribute type",
|
||||
"CryptoKey interface: attribute extractable",
|
||||
"CryptoKey interface: attribute algorithm",
|
||||
"CryptoKey interface: attribute usages",
|
||||
"Window interface: attribute crypto"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,4 +12,6 @@ runner.setInitScript(`
|
||||
global.location = {};
|
||||
`);
|
||||
|
||||
runner.pretendGlobalThisAs('Window');
|
||||
|
||||
runner.runJsTests();
|
||||
Reference in new issue
Block a user