Index: LayoutTests/crypto/resources/random-values-types.js |
diff --git a/LayoutTests/crypto/resources/random-values-types.js b/LayoutTests/crypto/resources/random-values-types.js |
index b13bcd0472706bbfaa98890ca18b3da422b84b22..4aa39873504505db478f4a163e91c85862e4fbea 100644 |
--- a/LayoutTests/crypto/resources/random-values-types.js |
+++ b/LayoutTests/crypto/resources/random-values-types.js |
@@ -39,6 +39,9 @@ function checkNonIntegerTypes() { |
shouldThrow("crypto.getRandomValues(view)"); |
} |
+shouldThrow("crypto.getRandomValues()"); |
+shouldThrow("crypto.getRandomValues(undefined)"); |
+shouldThrow("crypto.getRandomValues(null)"); |
checkIntegerTypes(); |
checkNonIntegerTypes(); |