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

Unified Diff: LayoutTests/http/tests/credentialmanager/localcredential-basics.html

Issue 645023005: Credential Manager: Add a 'formData' property to LocalCredential. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/reordering-arguments
Patch Set: Created 6 years, 2 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: LayoutTests/http/tests/credentialmanager/localcredential-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/localcredential-basics.html b/LayoutTests/http/tests/credentialmanager/localcredential-basics.html
index 75912ec268fa67551e30587b62ddcf1b7f3769a5..f2cf25002be2d505f6fc0a56ef697d49bfe06778 100644
--- a/LayoutTests/http/tests/credentialmanager/localcredential-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/localcredential-basics.html
@@ -14,6 +14,8 @@ test(function() {
password: 'string'
});
+ assert_true(credential.formData instanceof FormData);
sof 2014/10/20 08:35:46 Can't you test this via the other typechecks in ve
Mike West 2014/10/20 09:47:38 Sure. I was originally intending to check the valu
+
assert_equals(credential.id, 'id');
assert_equals(credential.name, 'name');
assert_equals(credential.avatarURL, 'https://example.com/avatar.png');
@@ -29,6 +31,8 @@ test(function() {
test(function() {
var credential = new LocalCredential('id', 'pencil', 'name');
+ assert_true(credential.formData instanceof FormData);
+
assert_equals(credential.id, 'id');
assert_equals(credential.name, 'name');
assert_equals(credential.avatarURL, '');
@@ -39,6 +43,8 @@ test(function() {
test(function() {
var credential = new LocalCredential('id', 'pencil');
+ assert_true(credential.formData instanceof FormData);
+
assert_equals(credential.id, 'id');
assert_equals(credential.name, '');
assert_equals(credential.avatarURL, '');
« no previous file with comments | « no previous file | Source/modules/credentialmanager/Credential.h » ('j') | Source/modules/credentialmanager/Credential.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698