Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Unified Diff: LayoutTests/crypto/resources/random-values-types.js

Issue 801283002: [bindings] Make Crypto.getRandomValues use generated binding rather than using custom binding. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « LayoutTests/crypto/random-values-types-expected.txt ('k') | LayoutTests/crypto/worker-random-values-types-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698