2011-02-12 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Feb 2011 22:13:15 +0000 (22:13 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Feb 2011 22:13:15 +0000 (22:13 +0000)
commitcefccb951d966a7db50717cfce67265f8b2552bd
treed2a6f474c2759437aa2ce90357ce9d0af1842d42
parentf4f5fe1a817290b5f8e257ada94233e6a55a7170
2011-02-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Sam Weinig.

        crypto.getRandomValues should support all integer array types
        https://bugs.webkit.org/show_bug.cgi?id=54342

        Test which types of arrays work with crypto.getRandomValues.

        * security/crypto-random-values-types-expected.txt: Added.
        * security/crypto-random-values-types.html: Added.
2011-02-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Sam Weinig.

        crypto.getRandomValues should support all integer array types
        https://bugs.webkit.org/show_bug.cgi?id=54342

        As discussed on whatwg, we should support all the integer array types.

        Test: security/crypto-random-values-types.html

        * page/Crypto.cpp:
        (WebCore::Crypto::getRandomValues):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/security/crypto-random-values-types-expected.txt [new file with mode: 0644]
LayoutTests/security/crypto-random-values-types.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/Crypto.cpp