Index: third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/idlharness-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/idlharness-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/idlharness-expected.txt |
index 1ee46b32b43790f08abab30076a9f765b47c0710..a331f5faca3ba0277f531a3cc4ca1172daf5b285 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/idlharness-expected.txt |
+++ b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/idlharness-expected.txt |
@@ -1,15 +1,15 @@ |
This is a testharness.js-based test. |
-Found 64 tests; 61 PASS, 3 FAIL, 0 TIMEOUT, 0 NOTRUN. |
+Found 64 tests; 33 PASS, 31 FAIL, 0 TIMEOUT, 0 NOTRUN. |
PASS Crypto interface: existence and properties of interface object |
PASS Crypto interface object length |
PASS Crypto interface object name |
FAIL Crypto interface: existence and properties of interface prototype object assert_equals: class string of Crypto.prototype expected "[object CryptoPrototype]" but got "[object Crypto]" |
PASS Crypto interface: existence and properties of interface prototype object's "constructor" property |
-PASS Crypto interface: attribute subtle |
+FAIL Crypto interface: attribute subtle assert_true: The prototype object must have a property "subtle" expected true got false |
PASS Crypto interface: operation getRandomValues(ArrayBufferView) |
PASS Crypto must be primary interface of crypto |
PASS Stringification of crypto |
-PASS Crypto interface: crypto must inherit property "subtle" with the proper type (0) |
+FAIL Crypto interface: crypto must inherit property "subtle" with the proper type (0) assert_inherits: property "subtle" not found in prototype chain |
PASS Crypto interface: crypto must inherit property "getRandomValues" with the proper type (1) |
PASS Crypto interface: calling getRandomValues(ArrayBufferView) on crypto with too few arguments must throw TypeError |
PASS CryptoKey interface: existence and properties of interface object |
@@ -38,31 +38,31 @@ PASS SubtleCrypto interface: operation importKey(KeyFormat,[object Object],[obje |
PASS SubtleCrypto interface: operation exportKey(KeyFormat,CryptoKey) |
PASS SubtleCrypto interface: operation wrapKey(KeyFormat,CryptoKey,CryptoKey,AlgorithmIdentifier) |
PASS SubtleCrypto interface: operation unwrapKey(KeyFormat,BufferSource,CryptoKey,AlgorithmIdentifier,AlgorithmIdentifier,boolean,[object Object]) |
-PASS SubtleCrypto must be primary interface of crypto.subtle |
-PASS Stringification of crypto.subtle |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "encrypt" with the proper type (0) |
-PASS SubtleCrypto interface: calling encrypt(AlgorithmIdentifier,CryptoKey,BufferSource) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "decrypt" with the proper type (1) |
-PASS SubtleCrypto interface: calling decrypt(AlgorithmIdentifier,CryptoKey,BufferSource) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "sign" with the proper type (2) |
-PASS SubtleCrypto interface: calling sign(AlgorithmIdentifier,CryptoKey,BufferSource) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "verify" with the proper type (3) |
-PASS SubtleCrypto interface: calling verify(AlgorithmIdentifier,CryptoKey,BufferSource,BufferSource) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "digest" with the proper type (4) |
-PASS SubtleCrypto interface: calling digest(AlgorithmIdentifier,BufferSource) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "generateKey" with the proper type (5) |
-PASS SubtleCrypto interface: calling generateKey(AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "deriveKey" with the proper type (6) |
-PASS SubtleCrypto interface: calling deriveKey(AlgorithmIdentifier,CryptoKey,AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "deriveBits" with the proper type (7) |
-PASS SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier,CryptoKey,unsigned long) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "importKey" with the proper type (8) |
-PASS SubtleCrypto interface: calling importKey(KeyFormat,[object Object],[object Object],AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "exportKey" with the proper type (9) |
-PASS SubtleCrypto interface: calling exportKey(KeyFormat,CryptoKey) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "wrapKey" with the proper type (10) |
-PASS SubtleCrypto interface: calling wrapKey(KeyFormat,CryptoKey,CryptoKey,AlgorithmIdentifier) on crypto.subtle with too few arguments must throw TypeError |
-PASS SubtleCrypto interface: crypto.subtle must inherit property "unwrapKey" with the proper type (11) |
-PASS SubtleCrypto interface: calling unwrapKey(KeyFormat,BufferSource,CryptoKey,AlgorithmIdentifier,AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError |
+FAIL SubtleCrypto must be primary interface of crypto.subtle assert_equals: wrong 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
|
+FAIL Stringification of crypto.subtle assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "encrypt" with the proper type (0) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling encrypt(AlgorithmIdentifier,CryptoKey,BufferSource) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "decrypt" with the proper type (1) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling decrypt(AlgorithmIdentifier,CryptoKey,BufferSource) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "sign" with the proper type (2) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling sign(AlgorithmIdentifier,CryptoKey,BufferSource) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "verify" with the proper type (3) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling verify(AlgorithmIdentifier,CryptoKey,BufferSource,BufferSource) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "digest" with the proper type (4) assert_equals: wrong typeof object expected "object" but got "undefined" |
+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" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "generateKey" with the proper type (5) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling generateKey(AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "deriveKey" with the proper type (6) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling deriveKey(AlgorithmIdentifier,CryptoKey,AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "deriveBits" with the proper type (7) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier,CryptoKey,unsigned long) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "importKey" with the proper type (8) assert_equals: wrong typeof object expected "object" but got "undefined" |
+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" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "exportKey" with the proper type (9) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling exportKey(KeyFormat,CryptoKey) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "wrapKey" with the proper type (10) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling wrapKey(KeyFormat,CryptoKey,CryptoKey,AlgorithmIdentifier) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: crypto.subtle must inherit property "unwrapKey" with the proper type (11) assert_equals: wrong typeof object expected "object" but got "undefined" |
+FAIL SubtleCrypto interface: calling unwrapKey(KeyFormat,BufferSource,CryptoKey,AlgorithmIdentifier,AlgorithmIdentifier,boolean,[object Object]) on crypto.subtle with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined" |
Harness: the test ran to completion. |