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

Unified Diff: LayoutTests/crypto/worker-random-values-types-expected.txt

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/worker-random-values-types-expected.txt
diff --git a/LayoutTests/crypto/worker-random-values-types-expected.txt b/LayoutTests/crypto/worker-random-values-types-expected.txt
index 4218a74d172cddc922336a5c6c6bdc1913f90daf..8f743da07c9e51fc16f05bc043e5b76b0898d4ef 100644
--- a/LayoutTests/crypto/worker-random-values-types-expected.txt
+++ b/LayoutTests/crypto/worker-random-values-types-expected.txt
@@ -6,6 +6,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Starting worker: resources/random-values-types.js
PASS [Worker] 'crypto' in self is true
PASS [Worker] 'getRandomValues' in self.crypto is true
+PASS [Worker] crypto.getRandomValues() threw exception TypeError: Failed to execute 'getRandomValues' on 'Crypto': 1 argument required, but only 0 present..
+PASS [Worker] crypto.getRandomValues(undefined) threw exception TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is null..
+PASS [Worker] crypto.getRandomValues(null) threw exception TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is null..
PASS [Worker] random = crypto.getRandomValues(new Uint8Array(3)) is defined.
PASS [Worker] random is an instance of Uint8Array
PASS [Worker] view = new Uint8Array(3) is defined.
« no previous file with comments | « LayoutTests/crypto/resources/random-values-types.js ('k') | Source/bindings/modules/v8/custom/V8CryptoCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698