Chromium Code Reviews| Index: LayoutTests/crypto/importKey.html |
| diff --git a/LayoutTests/crypto/importKey.html b/LayoutTests/crypto/importKey.html |
| index d66506f8f825c8d18903db2cd0b903d432444588..4222bf9fda6713e9cbdc05423774126ec7963f3f 100644 |
| --- a/LayoutTests/crypto/importKey.html |
| +++ b/LayoutTests/crypto/importKey.html |
| @@ -205,6 +205,10 @@ allTests = [ |
| // FIXME: http://crbug.com/262383 |
| //shouldThrow("crypto.subtle.importKey(keyFormat, data, algorithm, extractable, undefined)"); |
| + // Invalid data |
| + shouldThrow("crypto.subtle.importKey(keyFormat, [], algorithm, extractable, keyUsages)"); |
| + shouldThrow("crypto.subtle.importKey(keyFormat, null, algorithm, extractable, keyUsages)"); |
|
abarth-chromium
2013/07/25 23:31:30
null is a perfectly fine ArrayBufferView. What ha
|
| + |
| startNextTest(); |
| }, |