mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
|
@ -1,5 +0,0 @@
|
|||
importScripts("/resources/testharness.js");
|
||||
importScripts("aes_cbc_vectors.js");
|
||||
importScripts("aes.js");
|
||||
|
||||
run_test();
|
|
@ -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();
|
|
@ -1,5 +0,0 @@
|
|||
importScripts("/resources/testharness.js");
|
||||
importScripts("aes_ctr_vectors.js");
|
||||
importScripts("aes.js");
|
||||
|
||||
run_test();
|
|
@ -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();
|
|
@ -1,5 +0,0 @@
|
|||
importScripts("/resources/testharness.js");
|
||||
importScripts("aes_gcm_vectors.js");
|
||||
importScripts("aes.js");
|
||||
|
||||
run_test();
|
|
@ -1,5 +0,0 @@
|
|||
importScripts("/resources/testharness.js");
|
||||
importScripts("rsa_vectors.js");
|
||||
importScripts("rsa.js");
|
||||
|
||||
run_test();
|
|
@ -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
|
||||
|
|
|
@ -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();
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue