| Index: LayoutTests/crypto/generateKey-expected.txt
|
| diff --git a/LayoutTests/crypto/generateKey-expected.txt b/LayoutTests/crypto/generateKey-expected.txt
|
| index 3a524cf0c24fb33a264edc6f9ae35c90661e43cf..4589126b71671c2ac2aa570bca63af51a61149dc 100644
|
| --- a/LayoutTests/crypto/generateKey-expected.txt
|
| +++ b/LayoutTests/crypto/generateKey-expected.txt
|
| @@ -3,11 +3,26 @@ Tests cypto.subtle.generateKey.
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS crypto.subtle.generateKey(invalidAesKeyGen, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS crypto.subtle.generateKey(invalidAesKeyGen, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS crypto.subtle.generateKey(invalidAesKeyGen, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeError: Type error.
|
| -PASS crypto.subtle.generateKey(invalidHmac256, false, ['sign']) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeError: Type error.
|
| +PASS crypto.subtle.generateKey(aesCbc, extractable, ['boo']) threw exception TypeError: Type error.
|
| +PASS crypto.subtle.generateKey({ name: 'aes-cbc' }, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 70000 }, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: -3 }, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +FAIL crypto.subtle.generateKey({ name: 'aes-cbc', length: -Infinity }, extractable, keyUsages) should throw an exception. Was [object Promise].
|
| +PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -3}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: ''}, length: 48}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +FAIL crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: 5000000000}, extractable , keyUsages) should throw an exception. Was [object Promise].
|
| +FAIL crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: NaN}, extractable , keyUsages) should throw an exception. Was [object Promise].
|
| +FAIL crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -NaN}, extractable , keyUsages) should throw an exception. Was [object Promise].
|
| +FAIL crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: Infinity}, extractable , keyUsages) should throw an exception. Was [object Promise].
|
| +FAIL crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -Infinity}, extractable , keyUsages) should throw an exception. Was [object Promise].
|
| +PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: -30}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: NaN}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5'}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, publicExponent: 10}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, publicExponent: null}, extractable , keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| PASS key.type is 'private'
|
| PASS key.extractable is true
|
| PASS key.algorithm.name is 'AES-CBC'
|
|
|