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

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

Issue 2876293002: Revert "Enable SharedArrayBuffer feature by default." (Closed)
Patch Set: 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..
11 PASS successfullyParsed is true 10 PASS successfullyParsed is true
12 11
13 TEST COMPLETE 12 TEST COMPLETE
14 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698