• ap@apple.com's avatar
    Add an empty window.crypto.webkitSubtle · be84a7a3
    ap@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=122778
    
    Reviewed by Mark Hahnenberg.
    
    Source/WebCore:
    
    Tests: security/crypto-subtle-gc-2.html
           security/crypto-subtle-gc-3.html
           security/crypto-subtle-gc.html
    
    * DerivedSources.make: Process SubtleCrypto.idl.
    
    * crypto: Added.
    * WebCore.xcodeproj/project.pbxproj:
    * CMakeLists.txt:
    * DerivedSources.make:
    * GNUmakefile.am:
    * GNUmakefile.list.am:
    * WebCore.vcxproj/WebCore.vcxproj.filters:
    
    * bindings/js/JSSubtleCryptoCustom.cpp: Added. Empty for now, but we'll certainly
    need custom bindings code here.
    
    * crypto/SubtleCrypto.cpp: Added.
    (WebCore::SubtleCrypto::SubtleCrypto):
    (WebCore::SubtleCrypto::document):
    * crypto/SubtleCrypto.h: Added.
    * crypto/SubtleCrypto.idl: Added.
    * page/Crypto.cpp:
    (WebCore::Crypto::subtle):
    * page/Crypto.h:
    * page/Crypto.idl:
    
    LayoutTests:
    
    * TestExpectations: The feature isn't enabled anywhere yet, so skipping the new tests.
    
    * security/crypto-subtle-gc-2-expected.txt: Added.
    * security/crypto-subtle-gc-2.html: Added.
    * security/crypto-subtle-gc-3-expected.txt: Added.
    * security/crypto-subtle-gc-3.html: Added.
    * security/crypto-subtle-gc-expected.txt: Added.
    * security/crypto-subtle-gc.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    be84a7a3
Crypto.cpp 2.63 KB