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

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

Issue 16820007: Expose crypto.getRandomValues() to workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/random-values-expected.txt
diff --git a/LayoutTests/crypto/crypto-random-values-expected.txt b/LayoutTests/crypto/random-values-expected.txt
similarity index 57%
rename from LayoutTests/crypto/crypto-random-values-expected.txt
rename to LayoutTests/crypto/random-values-expected.txt
index d9fce8fa0e3031689aaf972655e4a43a0708ac70..b00120254db66d11f52fc22e4a8de6ba4fe5801d 100644
--- a/LayoutTests/crypto/crypto-random-values-expected.txt
+++ b/LayoutTests/crypto/random-values-expected.txt
@@ -3,8 +3,9 @@ Tests crypto.randomValues.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS 'crypto' in window is true
-PASS 'getRandomValues' in window.crypto is true
+PASS 'crypto' in self is true
+PASS 'getRandomValues' in self.crypto is true
+PASS self.crypto.__proto__.hasOwnProperty('getRandomValues') is true
PASS matchingBytes < 100 is true
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698