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

@ -267,9 +267,11 @@ function run_test() {
all_promises.push(promise);
});
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 encryption, 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: encrypt() Using AES-CBC
// META: script=aes_cbc_vectors.js
// META: script=aes.js
// META: timeout=long
run_test();

View file

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

View file

@ -0,0 +1,6 @@
// META: title=WebCryptoAPI: encrypt() Using AES-CTR
// META: script=aes_ctr_vectors.js
// META: script=aes.js
// META: timeout=long
run_test();

View file

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

View file

@ -0,0 +1,6 @@
// META: title=WebCryptoAPI: encrypt() Using AES-GCM
// META: script=aes_gcm_vectors.js
// META: script=aes.js
// META: timeout=long
run_test();

View file

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

View file

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

View file

@ -293,9 +293,11 @@ function run_test() {
all_promises.push(promise);
});
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 encryption, 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: encrypt() Using RSA-OAEP
// META: script=rsa_vectors.js
// META: script=rsa.js
// META: timeout=long
run_test();

View file

@ -1,18 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: encrypt() Using AES-CBC</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-encrypt">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="aes_cbc_vectors.js"></script>
<script src="aes.js"></script>
<h1>encrypt Tests for AES-CBC</h1>
<div id="log"></div>
<script>
run_test();
</script>

View file

@ -1,18 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: encrypt() Using AES-CTR</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-encrypt">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="aes_ctr_vectors.js"></script>
<script src="aes.js"></script>
<h1>encrypt Tests for AES-CTR</h1>
<div id="log"></div>
<script>
run_test();
</script>

View file

@ -1,18 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: encrypt() Using AES-GCM</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-encrypt">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="aes_gcm_vectors.js"></script>
<script src="aes.js"></script>
<h1>encrypt Tests for AES-GCM</h1>
<div id="log"></div>
<script>
run_test();
</script>

View file

@ -1,18 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<meta name="timeout" content="long">
<title>WebCryptoAPI: encrypt() Using RSA-OAEP</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-encrypt">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="rsa_vectors.js"></script>
<script src="rsa.js"></script>
<h1>encrypt Tests for RSA-OAEP</h1>
<div id="log"></div>
<script>
run_test();
</script>