OLD | NEW |
---|---|
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 Found 64 tests; 61 PASS, 3 FAIL, 0 TIMEOUT, 0 NOTRUN. | 2 Found 64 tests; 33 PASS, 31 FAIL, 0 TIMEOUT, 0 NOTRUN. |
3 PASS Crypto interface: existence and properties of interface object | 3 PASS Crypto interface: existence and properties of interface object |
4 PASS Crypto interface object length | 4 PASS Crypto interface object length |
5 PASS Crypto interface object name | 5 PASS Crypto interface object name |
6 FAIL Crypto interface: existence and properties of interface prototype object as sert_equals: class string of Crypto.prototype expected "[object CryptoPrototype] " but got "[object Crypto]" | 6 FAIL Crypto interface: existence and properties of interface prototype object as sert_equals: class string of Crypto.prototype expected "[object CryptoPrototype] " but got "[object Crypto]" |
7 PASS Crypto interface: existence and properties of interface prototype object's "constructor" property | 7 PASS Crypto interface: existence and properties of interface prototype object's "constructor" property |
8 PASS Crypto interface: attribute subtle | 8 FAIL Crypto interface: attribute subtle assert_true: The prototype object must h ave a property "subtle" expected true got false |
9 PASS Crypto interface: operation getRandomValues(ArrayBufferView) | 9 PASS Crypto interface: operation getRandomValues(ArrayBufferView) |
10 PASS Crypto must be primary interface of crypto | 10 PASS Crypto must be primary interface of crypto |
11 PASS Stringification of crypto | 11 PASS Stringification of crypto |
12 PASS Crypto interface: crypto must inherit property "subtle" with the proper typ e (0) | 12 FAIL Crypto interface: crypto must inherit property "subtle" with the proper typ e (0) assert_inherits: property "subtle" not found in prototype chain |
13 PASS Crypto interface: crypto must inherit property "getRandomValues" with the p roper type (1) | 13 PASS Crypto interface: crypto must inherit property "getRandomValues" with the p roper type (1) |
14 PASS Crypto interface: calling getRandomValues(ArrayBufferView) on crypto with t oo few arguments must throw TypeError | 14 PASS Crypto interface: calling getRandomValues(ArrayBufferView) on crypto with t oo few arguments must throw TypeError |
15 PASS CryptoKey interface: existence and properties of interface object | 15 PASS CryptoKey interface: existence and properties of interface object |
16 PASS CryptoKey interface object length | 16 PASS CryptoKey interface object length |
17 PASS CryptoKey interface object name | 17 PASS CryptoKey interface object name |
18 FAIL CryptoKey interface: existence and properties of interface prototype object assert_equals: class string of CryptoKey.prototype expected "[object CryptoKeyP rototype]" but got "[object CryptoKey]" | 18 FAIL CryptoKey interface: existence and properties of interface prototype object assert_equals: class string of CryptoKey.prototype expected "[object CryptoKeyP rototype]" but got "[object CryptoKey]" |
19 PASS CryptoKey interface: existence and properties of interface prototype object 's "constructor" property | 19 PASS CryptoKey interface: existence and properties of interface prototype object 's "constructor" property |
20 PASS CryptoKey interface: attribute type | 20 PASS CryptoKey interface: attribute type |
21 PASS CryptoKey interface: attribute extractable | 21 PASS CryptoKey interface: attribute extractable |
22 PASS CryptoKey interface: attribute algorithm | 22 PASS CryptoKey interface: attribute algorithm |
23 PASS CryptoKey interface: attribute usages | 23 PASS CryptoKey interface: attribute usages |
24 PASS SubtleCrypto interface: existence and properties of interface object | 24 PASS SubtleCrypto interface: existence and properties of interface object |
25 PASS SubtleCrypto interface object length | 25 PASS SubtleCrypto interface object length |
26 PASS SubtleCrypto interface object name | 26 PASS SubtleCrypto interface object name |
27 FAIL SubtleCrypto interface: existence and properties of interface prototype obj ect assert_equals: class string of SubtleCrypto.prototype expected "[object Subt leCryptoPrototype]" but got "[object SubtleCrypto]" | 27 FAIL SubtleCrypto interface: existence and properties of interface prototype obj ect assert_equals: class string of SubtleCrypto.prototype expected "[object Subt leCryptoPrototype]" but got "[object SubtleCrypto]" |
28 PASS SubtleCrypto interface: existence and properties of interface prototype obj ect's "constructor" property | 28 PASS SubtleCrypto interface: existence and properties of interface prototype obj ect's "constructor" property |
29 PASS SubtleCrypto interface: operation encrypt(AlgorithmIdentifier,CryptoKey,Buf ferSource) | 29 PASS SubtleCrypto interface: operation encrypt(AlgorithmIdentifier,CryptoKey,Buf ferSource) |
30 PASS SubtleCrypto interface: operation decrypt(AlgorithmIdentifier,CryptoKey,Buf ferSource) | 30 PASS SubtleCrypto interface: operation decrypt(AlgorithmIdentifier,CryptoKey,Buf ferSource) |
31 PASS SubtleCrypto interface: operation sign(AlgorithmIdentifier,CryptoKey,Buffer Source) | 31 PASS SubtleCrypto interface: operation sign(AlgorithmIdentifier,CryptoKey,Buffer Source) |
32 PASS SubtleCrypto interface: operation verify(AlgorithmIdentifier,CryptoKey,Buff erSource,BufferSource) | 32 PASS SubtleCrypto interface: operation verify(AlgorithmIdentifier,CryptoKey,Buff erSource,BufferSource) |
33 PASS SubtleCrypto interface: operation digest(AlgorithmIdentifier,BufferSource) | 33 PASS SubtleCrypto interface: operation digest(AlgorithmIdentifier,BufferSource) |
34 PASS SubtleCrypto interface: operation generateKey(AlgorithmIdentifier,boolean,[ object Object]) | 34 PASS SubtleCrypto interface: operation generateKey(AlgorithmIdentifier,boolean,[ object Object]) |
35 PASS SubtleCrypto interface: operation deriveKey(AlgorithmIdentifier,CryptoKey,A lgorithmIdentifier,boolean,[object Object]) | 35 PASS SubtleCrypto interface: operation deriveKey(AlgorithmIdentifier,CryptoKey,A lgorithmIdentifier,boolean,[object Object]) |
36 PASS SubtleCrypto interface: operation deriveBits(AlgorithmIdentifier,CryptoKey, unsigned long) | 36 PASS SubtleCrypto interface: operation deriveBits(AlgorithmIdentifier,CryptoKey, unsigned long) |
37 PASS SubtleCrypto interface: operation importKey(KeyFormat,[object Object],[obje ct Object],AlgorithmIdentifier,boolean,[object Object]) | 37 PASS SubtleCrypto interface: operation importKey(KeyFormat,[object Object],[obje ct Object],AlgorithmIdentifier,boolean,[object Object]) |
38 PASS SubtleCrypto interface: operation exportKey(KeyFormat,CryptoKey) | 38 PASS SubtleCrypto interface: operation exportKey(KeyFormat,CryptoKey) |
39 PASS SubtleCrypto interface: operation wrapKey(KeyFormat,CryptoKey,CryptoKey,Alg orithmIdentifier) | 39 PASS SubtleCrypto interface: operation wrapKey(KeyFormat,CryptoKey,CryptoKey,Alg orithmIdentifier) |
40 PASS SubtleCrypto interface: operation unwrapKey(KeyFormat,BufferSource,CryptoKe y,AlgorithmIdentifier,AlgorithmIdentifier,boolean,[object Object]) | 40 PASS SubtleCrypto interface: operation unwrapKey(KeyFormat,BufferSource,CryptoKe y,AlgorithmIdentifier,AlgorithmIdentifier,boolean,[object Object]) |
41 PASS SubtleCrypto must be primary interface of crypto.subtle | 41 FAIL SubtleCrypto must be primary interface of crypto.subtle assert_equals: wron g typeof object expected "object" but got "undefined" |
eroman
2017/04/24 22:49:34
These tests shouldn't be failing.
andypaicu
2017/04/25 10:53:59
This change is to make subtle be only available fo
| |
42 PASS Stringification of crypto.subtle | 42 FAIL Stringification of crypto.subtle assert_equals: wrong typeof object expecte d "object" but got "undefined" |
43 PASS SubtleCrypto interface: crypto.subtle must inherit property "encrypt" with the proper type (0) | 43 FAIL SubtleCrypto interface: crypto.subtle must inherit property "encrypt" with the proper type (0) assert_equals: wrong typeof object expected "object" but got "undefined" |
44 PASS SubtleCrypto interface: calling encrypt(AlgorithmIdentifier,CryptoKey,Buffe rSource) on crypto.subtle with too few arguments must throw TypeError | 44 FAIL SubtleCrypto interface: calling encrypt(AlgorithmIdentifier,CryptoKey,Buffe rSource) on crypto.subtle with too few arguments must throw TypeError assert_equ als: wrong typeof object expected "object" but got "undefined" |
45 PASS SubtleCrypto interface: crypto.subtle must inherit property "decrypt" with the proper type (1) | 45 FAIL SubtleCrypto interface: crypto.subtle must inherit property "decrypt" with the proper type (1) assert_equals: wrong typeof object expected "object" but got "undefined" |
46 PASS SubtleCrypto interface: calling decrypt(AlgorithmIdentifier,CryptoKey,Buffe rSource) on crypto.subtle with too few arguments must throw TypeError | 46 FAIL SubtleCrypto interface: calling decrypt(AlgorithmIdentifier,CryptoKey,Buffe rSource) on crypto.subtle with too few arguments must throw TypeError assert_equ als: wrong typeof object expected "object" but got "undefined" |
47 PASS SubtleCrypto interface: crypto.subtle must inherit property "sign" with the proper type (2) | 47 FAIL SubtleCrypto interface: crypto.subtle must inherit property "sign" with the proper type (2) assert_equals: wrong typeof object expected "object" but got "u ndefined" |
48 PASS SubtleCrypto interface: calling sign(AlgorithmIdentifier,CryptoKey,BufferSo urce) on crypto.subtle with too few arguments must throw TypeError | 48 FAIL SubtleCrypto interface: calling sign(AlgorithmIdentifier,CryptoKey,BufferSo urce) on crypto.subtle with too few arguments must throw TypeError assert_equals : wrong typeof object expected "object" but got "undefined" |
49 PASS SubtleCrypto interface: crypto.subtle must inherit property "verify" with t he proper type (3) | 49 FAIL SubtleCrypto interface: crypto.subtle must inherit property "verify" with t he proper type (3) assert_equals: wrong typeof object expected "object" but got "undefined" |
50 PASS SubtleCrypto interface: calling verify(AlgorithmIdentifier,CryptoKey,Buffer Source,BufferSource) on crypto.subtle with too few arguments must throw TypeErro r | 50 FAIL SubtleCrypto interface: calling verify(AlgorithmIdentifier,CryptoKey,Buffer Source,BufferSource) on crypto.subtle with too few arguments must throw TypeErro r assert_equals: wrong typeof object expected "object" but got "undefined" |
51 PASS SubtleCrypto interface: crypto.subtle must inherit property "digest" with t he proper type (4) | 51 FAIL SubtleCrypto interface: crypto.subtle must inherit property "digest" with t he proper type (4) assert_equals: wrong typeof object expected "object" but got "undefined" |
52 PASS SubtleCrypto interface: calling digest(AlgorithmIdentifier,BufferSource) on crypto.subtle with too few arguments must throw TypeError | 52 FAIL SubtleCrypto interface: calling digest(AlgorithmIdentifier,BufferSource) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
53 PASS SubtleCrypto interface: crypto.subtle must inherit property "generateKey" w ith the proper type (5) | 53 FAIL SubtleCrypto interface: crypto.subtle must inherit property "generateKey" w ith the proper type (5) assert_equals: wrong typeof object expected "object" but got "undefined" |
54 PASS SubtleCrypto interface: calling generateKey(AlgorithmIdentifier,boolean,[ob ject Object]) on crypto.subtle with too few arguments must throw TypeError | 54 FAIL SubtleCrypto interface: calling generateKey(AlgorithmIdentifier,boolean,[ob ject Object]) on crypto.subtle with too few arguments must throw TypeError asser t_equals: wrong typeof object expected "object" but got "undefined" |
55 PASS SubtleCrypto interface: crypto.subtle must inherit property "deriveKey" wit h the proper type (6) | 55 FAIL SubtleCrypto interface: crypto.subtle must inherit property "deriveKey" wit h the proper type (6) assert_equals: wrong typeof object expected "object" but g ot "undefined" |
56 PASS SubtleCrypto interface: calling deriveKey(AlgorithmIdentifier,CryptoKey,Alg orithmIdentifier,boolean,[object Object]) on crypto.subtle with too few argument s must throw TypeError | 56 FAIL SubtleCrypto interface: calling deriveKey(AlgorithmIdentifier,CryptoKey,Alg orithmIdentifier,boolean,[object Object]) on crypto.subtle with too few argument s must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
57 PASS SubtleCrypto interface: crypto.subtle must inherit property "deriveBits" wi th the proper type (7) | 57 FAIL SubtleCrypto interface: crypto.subtle must inherit property "deriveBits" wi th the proper type (7) assert_equals: wrong typeof object expected "object" but got "undefined" |
58 PASS SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier,CryptoKey,un signed long) on crypto.subtle with too few arguments must throw TypeError | 58 FAIL SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier,CryptoKey,un signed long) on crypto.subtle with too few arguments must throw TypeError assert _equals: wrong typeof object expected "object" but got "undefined" |
59 PASS SubtleCrypto interface: crypto.subtle must inherit property "importKey" wit h the proper type (8) | 59 FAIL SubtleCrypto interface: crypto.subtle must inherit property "importKey" wit h the proper type (8) assert_equals: wrong typeof object expected "object" but g ot "undefined" |
60 PASS SubtleCrypto interface: calling importKey(KeyFormat,[object Object],[object Object],AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError | 60 FAIL SubtleCrypto interface: calling importKey(KeyFormat,[object Object],[object Object],AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected " object" but got "undefined" |
61 PASS SubtleCrypto interface: crypto.subtle must inherit property "exportKey" wit h the proper type (9) | 61 FAIL SubtleCrypto interface: crypto.subtle must inherit property "exportKey" wit h the proper type (9) assert_equals: wrong typeof object expected "object" but g ot "undefined" |
62 PASS SubtleCrypto interface: calling exportKey(KeyFormat,CryptoKey) on crypto.su btle with too few arguments must throw TypeError | 62 FAIL SubtleCrypto interface: calling exportKey(KeyFormat,CryptoKey) on crypto.su btle with too few arguments must throw TypeError assert_equals: wrong typeof obj ect expected "object" but got "undefined" |
63 PASS SubtleCrypto interface: crypto.subtle must inherit property "wrapKey" with the proper type (10) | 63 FAIL SubtleCrypto interface: crypto.subtle must inherit property "wrapKey" with the proper type (10) assert_equals: wrong typeof object expected "object" but go t "undefined" |
64 PASS SubtleCrypto interface: calling wrapKey(KeyFormat,CryptoKey,CryptoKey,Algor ithmIdentifier) on crypto.subtle with too few arguments must throw TypeError | 64 FAIL SubtleCrypto interface: calling wrapKey(KeyFormat,CryptoKey,CryptoKey,Algor ithmIdentifier) on crypto.subtle with too few arguments must throw TypeError ass ert_equals: wrong typeof object expected "object" but got "undefined" |
65 PASS SubtleCrypto interface: crypto.subtle must inherit property "unwrapKey" wit h the proper type (11) | 65 FAIL SubtleCrypto interface: crypto.subtle must inherit property "unwrapKey" wit h the proper type (11) assert_equals: wrong typeof object expected "object" but got "undefined" |
66 PASS SubtleCrypto interface: calling unwrapKey(KeyFormat,BufferSource,CryptoKey, AlgorithmIdentifier,AlgorithmIdentifier,boolean,[object Object]) on crypto.subtl e with too few arguments must throw TypeError | 66 FAIL SubtleCrypto interface: calling unwrapKey(KeyFormat,BufferSource,CryptoKey, AlgorithmIdentifier,AlgorithmIdentifier,boolean,[object Object]) on crypto.subtl e with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
67 Harness: the test ran to completion. | 67 Harness: the test ran to completion. |
68 | 68 |
OLD | NEW |