Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'

This commit is contained in:
WPT Sync Bot 2021-09-07 11:16:33 +00:00 committed by cybai
parent 35e95f55a1
commit 58e8ee674b
9438 changed files with 266112 additions and 106976 deletions

View file

@ -0,0 +1,6 @@
// META: title=WebCryptoAPI: sign() and verify() Using ECDSA
// META: script=ecdsa_vectors.js
// META: script=ecdsa.js
// META: timeout=long
run_test();

View file

@ -1,5 +0,0 @@
importScripts("/resources/testharness.js");
importScripts("ecdsa_vectors.js");
importScripts("ecdsa.js");
run_test();

View file

@ -408,10 +408,11 @@ function run_test() {
});
Promise.all(all_promises)
.then(function() {done();})
.catch(function() {done();})
return;
promise_test(function() {
return Promise.all(all_promises)
.then(function() {done();})
.catch(function() {done();})
}, "setup");
// A test vector has all needed fields for signing and verifying, EXCEPT that the
// key field may be null. This function replaces that null with the Correct

View file

@ -0,0 +1,6 @@
// META: title=WebCryptoAPI: sign() and verify() Using HMAC
// META: script=hmac_vectors.js
// META: script=hmac.js
// META: timeout=long
run_test();

View file

@ -1,5 +0,0 @@
importScripts("/resources/testharness.js");
importScripts("hmac_vectors.js");
importScripts("hmac.js");
run_test();

View file

@ -292,10 +292,11 @@ function run_test() {
Promise.all(all_promises)
.then(function() {done();})
.catch(function() {done();})
return;
promise_test(function() {
return Promise.all(all_promises)
.then(function() {done();})
.catch(function() {done();})
}, "setup");
// A test vector has all needed fields for signing and verifying, EXCEPT that the
// key field may be null. This function replaces that null with the Correct

View file

@ -329,9 +329,11 @@ function run_test() {
});
Promise.all(all_promises)
.then(function() {done();})
.catch(function() {done();})
promise_test(function() {
return Promise.all(all_promises)
.then(function() {done();})
.catch(function() {done();})
}, "setup");
// A test vector has all needed fields for signing and verifying, EXCEPT that the
// key field may be null. This function replaces that null with the Correct

View file

@ -0,0 +1,6 @@
// META: title=WebCryptoAPI: sign() and verify() Using RSASSA-PKCS1-v1_5
// META: script=rsa_pkcs_vectors.js
// META: script=rsa.js
// META: timeout=long
run_test();

View file

@ -1,5 +0,0 @@
importScripts("/resources/testharness.js");
importScripts("rsa_pkcs_vectors.js");
importScripts("rsa.js");
run_test();

View file

@ -0,0 +1,6 @@
// META: title=WebCryptoAPI: sign() and verify() Using RSA-PSS
// META: script=rsa_pss_vectors.js
// META: script=rsa.js
// META: timeout=long
run_test();

View file

@ -1,5 +0,0 @@
importScripts("/resources/testharness.js");
importScripts("rsa_pss_vectors.js");
importScripts("rsa.js");
run_test();

View file

@ -1,19 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: sign() and verify() Using ECDSA</title>
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-sign">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-verify">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="ecdsa_vectors.js"></script>
<script src="ecdsa.js"></script>
<h1>sign and verify Tests for ECDSA</h1>
<div id="log"></div>
<script>
run_test();
</script>

View file

@ -1,19 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: sign() and verify() Using HMAC</title>
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-sign">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-verify">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="hmac_vectors.js"></script>
<script src="hmac.js"></script>
<h1>sign and verify Tests for HMAC</h1>
<div id="log"></div>
<script>
run_test();
</script>

View file

@ -1,19 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: sign() and verify() Using RSASSA-PKCS1-v1_5</title>
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-sign">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-verify">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="rsa_pkcs_vectors.js"></script>
<script src="rsa.js"></script>
<h1>sign and verify Tests for RSASSA-PKCS1-v1_5</h1>
<div id="log"></div>
<script>
run_test();
</script>

View file

@ -1,19 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: sign() and verify() Using RSA-PSS</title>
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-sign">
<link rel="help" href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-verify">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="rsa_pss_vectors.js"></script>
<script src="rsa.js"></script>
<h1>sign and verify Tests for RSA-PSS</h1>
<div id="log"></div>
<script>
run_test();
</script>