OLD | NEW |
1 Tests crypto.randomValues. | 1 Tests 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 PASS 'crypto' in self is true | 6 PASS 'crypto' in self is true |
7 PASS 'getRandomValues' in self.crypto is true | 7 PASS 'getRandomValues' in self.crypto is true |
8 PASS self.crypto.__proto__.hasOwnProperty('getRandomValues') is true | 8 PASS self.crypto.__proto__.hasOwnProperty('getRandomValues') is true |
9 PASS matchingBytes < 100 is true | 9 PASS matchingBytes < 100 is true |
| 10 PASS crypto.getRandomValues(new Uint8Array(new SharedArrayBuffer(100))) threw ex
ception TypeError: Failed to execute 'getRandomValues' on 'Crypto': The provided
ArrayBufferView value must not be shared.. |
10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
11 | 12 |
12 TEST COMPLETE | 13 TEST COMPLETE |
13 | 14 |
OLD | NEW |