security/crypto-random-values-limits.html test the exact value that causes us to throw
https://bugs.webkit.org/show_bug.cgi?id=95403

Reviewed by Eric Seidel.

As requested by Darin Adler, this patch makes us test the exact length
threshold at which we start throwing an exception. This value is
defined in the spec, and we want to make sure we hit it exactly.

* security/crypto-random-values-limits-expected.txt:
* security/crypto-random-values-limits.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/security/crypto-random-values-limits-expected.txt b/LayoutTests/security/crypto-random-values-limits-expected.txt
index 4111603..2605ced 100644
--- a/LayoutTests/security/crypto-random-values-limits-expected.txt
+++ b/LayoutTests/security/crypto-random-values-limits-expected.txt
@@ -5,7 +5,8 @@
 
 PASS 'crypto' in window is true
 PASS 'getRandomValues' in window.crypto is true
-PASS crypto.getRandomValues(largeArray) threw exception Error: QUOTA_EXCEEDED_ERR: DOM Exception 22.
+PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception.
+PASS crypto.getRandomValues(tooLargeArray) threw exception Error: QUOTA_EXCEEDED_ERR: DOM Exception 22.
 PASS successfullyParsed is true
 
 TEST COMPLETE