[CredentialManagement] Add IDL definitions for Credential, SiteBoundCredential, and...
[WebKit-https.git] / Source / WebCore / ChangeLog
index e7f5131..4893ccb 100644 (file)
@@ -1,3 +1,56 @@
+2017-02-27  Jiewen Tan  <jiewen_tan@apple.com>
+
+        [CredentialManagement] Add IDL definitions for Credential, SiteBoundCredential, and PasswordCredential
+        https://bugs.webkit.org/show_bug.cgi?id=168616
+        <rdar://problem/30167149>
+
+        Reviewed by Daniel Bates.
+
+        This patch adds IDL definitions for:
+        1. Credential(https://w3c.github.io/webappsec-credential-management/#interfaces-credential-types-credential),
+        2. SiteBoundCredential(https://w3c.github.io/webappsec-credential-management/#interfaces-credential-types-siteboundcredential), and
+        3. PasswordCredential(https://w3c.github.io/webappsec-credential-management/#interfaces-credential-types-passwordcredential).
+
+        Test: credentials/idlharness.html
+
+        * CMakeLists.txt:
+        * DerivedSources.make:
+        * Modules/credentials/BasicCredential.cpp: Added.
+        (WebCore::BasicCredential::BasicCredential):
+        (WebCore::BasicCredential::~BasicCredential):
+        (WebCore::BasicCredential::type):
+        * Modules/credentials/BasicCredential.h: Added.
+        (WebCore::BasicCredential::id):
+        * Modules/credentials/BasicCredential.idl: Added.
+        * Modules/credentials/CredentialData.h: Added.
+        * Modules/credentials/CredentialData.idl: Added.
+        * Modules/credentials/PasswordCredential.cpp: Added.
+        (WebCore::PasswordCredential::PasswordCredential):
+        (WebCore::PasswordCredential::PasswordCredential):
+        Dummy constructors for now.
+        * Modules/credentials/PasswordCredential.h: Added.
+        (WebCore::PasswordCredential::create):
+        (WebCore::PasswordCredential::create):
+        (WebCore::PasswordCredential::setIdName):
+        (WebCore::PasswordCredential::idName):
+        (WebCore::PasswordCredential::setPasswordName):
+        (WebCore::PasswordCredential::passwordName):
+        (WebCore::PasswordCredential::setAdditionalData):
+        (WebCore::PasswordCredential::additionalData):
+        * Modules/credentials/PasswordCredential.idl: Added.
+        * Modules/credentials/SiteBoundCredential.cpp: Added.
+        (WebCore::SiteBoundCredential::SiteBoundCredential):
+        (WebCore::SiteBoundCredential::~SiteBoundCredential):
+        * Modules/credentials/SiteBoundCredential.h: Added.
+        (WebCore::SiteBoundCredential::name):
+        (WebCore::SiteBoundCredential::iconURL):
+        (WebCore::SiteBoundCredential::setOrigin):
+        (WebCore::SiteBoundCredential::origin):
+        * Modules/credentials/SiteBoundCredential.idl: Added.
+        * Modules/credentials/SiteBoundCredentialData.h: Added.
+        * Modules/credentials/SiteBoundCredentialData.idl: Added.
+        * WebCore.xcodeproj/project.pbxproj:
+
 2017-02-27  Jer Noble  <jer.noble@apple.com>
 
         [WebRTC] Fix remote audio rendering