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

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

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (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 unified diff | Download patch
OLDNEW
1 [Worker] Tests which types are valid for crypto.randomValues. 1 [Worker] Tests which types are valid for crypto.randomValues.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Starting worker: resources/random-values-types.js 6 Starting worker: subtle/resources/random-values-types.js
7 PASS [Worker] 'crypto' in self is true 7 PASS [Worker] 'crypto' in self is true
8 PASS [Worker] 'getRandomValues' in self.crypto is true 8 PASS [Worker] 'getRandomValues' in self.crypto is true
9 PASS [Worker] crypto.getRandomValues() threw exception TypeError: Failed to exec ute 'getRandomValues' on 'Crypto': 1 argument required, but only 0 present.. 9 PASS [Worker] crypto.getRandomValues() threw exception TypeError: Failed to exec ute 'getRandomValues' on 'Crypto': 1 argument required, but only 0 present..
10 PASS [Worker] crypto.getRandomValues(undefined) threw exception TypeMismatchErro r: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is null.. 10 PASS [Worker] crypto.getRandomValues(undefined) threw exception TypeMismatchErro r: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is null..
11 PASS [Worker] crypto.getRandomValues(null) threw exception TypeMismatchError: Fa iled to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is n ull.. 11 PASS [Worker] crypto.getRandomValues(null) threw exception TypeMismatchError: Fa iled to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is n ull..
12 PASS [Worker] random = crypto.getRandomValues(new Uint8Array(3)) is defined. 12 PASS [Worker] random = crypto.getRandomValues(new Uint8Array(3)) is defined.
13 PASS [Worker] random is an instance of Uint8Array 13 PASS [Worker] random is an instance of Uint8Array
14 PASS [Worker] view = new Uint8Array(3) is defined. 14 PASS [Worker] view = new Uint8Array(3) is defined.
15 PASS [Worker] random = crypto.getRandomValues(view) is defined. 15 PASS [Worker] random = crypto.getRandomValues(view) is defined.
16 PASS [Worker] random is view 16 PASS [Worker] random is view
(...skipping 30 matching lines...) Expand all
47 PASS [Worker] crypto.getRandomValues(new Float32Array(3)) threw exception TypeMi smatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided Array BufferView is of type 'Float32', which is not an integer array type.. 47 PASS [Worker] crypto.getRandomValues(new Float32Array(3)) threw exception TypeMi smatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided Array BufferView is of type 'Float32', which is not an integer array type..
48 PASS [Worker] crypto.getRandomValues(new Float64Array(3)) threw exception TypeMi smatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided Array BufferView is of type 'Float64', which is not an integer array type.. 48 PASS [Worker] crypto.getRandomValues(new Float64Array(3)) threw exception TypeMi smatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided Array BufferView is of type 'Float64', which is not an integer array type..
49 PASS [Worker] buffer = new Uint8Array(32) is defined. 49 PASS [Worker] buffer = new Uint8Array(32) is defined.
50 PASS [Worker] buffer.buffer is defined. 50 PASS [Worker] buffer.buffer is defined.
51 PASS [Worker] view = new DataView(buffer.buffer) is defined. 51 PASS [Worker] view = new DataView(buffer.buffer) is defined.
52 PASS [Worker] crypto.getRandomValues(view) threw exception TypeMismatchError: Fa iled to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is o f type 'DataView', which is not an integer array type.. 52 PASS [Worker] crypto.getRandomValues(view) threw exception TypeMismatchError: Fa iled to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is o f type 'DataView', which is not an integer array type..
53 PASS successfullyParsed is true 53 PASS successfullyParsed is true
54 54
55 TEST COMPLETE 55 TEST COMPLETE
56 56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698