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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp

Issue 2852423002: Expose passwords to JavaScript in Credential Manager API (Closed)
Patch Set: Console Message Created 3 years, 7 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: third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
index e77c62dbf63a78805bdd63e2d3928c797db5780c..700fcb68cbf4ff937dde6c2bcc300a6449fbc2b2 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
@@ -67,7 +67,7 @@ TEST_F(PasswordCredentialTest, CreateFromMultipartForm) {
EXPECT_EQ("thePassword", credential->passwordName());
EXPECT_EQ("musterman", credential->id());
- EXPECT_EQ("sekrit", credential->Password());
+ EXPECT_EQ("sekrit", credential->password());
EXPECT_EQ(KURL(kParsedURLString, "https://example.com/photo"),
credential->iconURL());
EXPECT_EQ("friendly name", credential->name());
@@ -102,7 +102,7 @@ TEST_F(PasswordCredentialTest, CreateFromURLEncodedForm) {
EXPECT_EQ("thePassword", credential->passwordName());
EXPECT_EQ("musterman", credential->id());
- EXPECT_EQ("sekrit", credential->Password());
+ EXPECT_EQ("sekrit", credential->password());
EXPECT_EQ(KURL(kParsedURLString, "https://example.com/photo"),
credential->iconURL());
EXPECT_EQ("friendly name", credential->name());

Powered by Google App Engine
This is Rietveld 408576698