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

Side by Side Diff: third_party/WebKit/LayoutTests/crypto/random-values-expected.txt

Issue 2860613002: Enable SharedArrayBuffer feature by default. (Closed)
Patch Set: merge HEAD Created 3 years, 7 months 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698